Reader small image

You're reading from  Apache Hadoop 3 Quick Start Guide

Product typeBook
Published inOct 2018
Reading LevelIntermediate
PublisherPackt
ISBN-139781788999830
Edition1st Edition
Languages
Tools
Right arrow
Author (1)
Hrishikesh Vijay Karambelkar
Hrishikesh Vijay Karambelkar
author image
Hrishikesh Vijay Karambelkar

Hrishikesh Vijay Karambelkar is an innovator and an enterprise architect with 16 years of software design and development experience, specifically in the areas of big data, enterprise search, data analytics, text mining, and databases. He is passionate about architecting new software implementations for the next generation of software solutions for various industries, including oil and gas, chemicals, manufacturing, utilities, healthcare, and government infrastructure. In the past, he has authored three books for Packt Publishing: two editions of Scaling Big Data with Hadoop and Solr and one of Scaling Apache Solr. He has also worked with graph databases, and some of his work has been published at international conferences such as VLDB and ICDE.
Read more about Hrishikesh Vijay Karambelkar

Right arrow

Hadoop filesystem CLIs

Hadoop provides a command-line shell for its filesystem, which could be HDFS or any other filesystem supported by Hadoop. There are different ways through which the commands can be called:

hrishikesh@base0:/$ hadoop fs -<command> <parameter>
hrishikesh@base0:/$ hadoop dfs -<command> <parameter>
hrishikesh@base0:/$ hdfs dfs -<command> <parameter>

Although all commands can be used on HDFS, the first command listed is for Hadoop FS, which can be either HDFS or any other filesystem used by Hadoop. The second and third commands are specific to HDFS; however, the second command is deprecated, and it is replaced by the third command. Most filesystem commands are inspired by Linux shell commands, except for minor differences in syntax. The HDFS CLI follows a POSIX-like filesystem interface.

...
lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Apache Hadoop 3 Quick Start Guide
Published in: Oct 2018Publisher: PacktISBN-13: 9781788999830

Author (1)

author image
Hrishikesh Vijay Karambelkar

Hrishikesh Vijay Karambelkar is an innovator and an enterprise architect with 16 years of software design and development experience, specifically in the areas of big data, enterprise search, data analytics, text mining, and databases. He is passionate about architecting new software implementations for the next generation of software solutions for various industries, including oil and gas, chemicals, manufacturing, utilities, healthcare, and government infrastructure. In the past, he has authored three books for Packt Publishing: two editions of Scaling Big Data with Hadoop and Solr and one of Scaling Apache Solr. He has also worked with graph databases, and some of his work has been published at international conferences such as VLDB and ICDE.
Read more about Hrishikesh Vijay Karambelkar