Big Data Architect’s Handbook
上QQ阅读APP看书,第一时间看更新

HDFS hands-on

Now let's get hands-on with HDFS. We will run the following tutorial on the virtual machine we set up in Chapter 2, Big Data Environment Setup. Let's first start with some basic commands, which are similar to Linux. All Hadoop commands require the hdfs prefix. If the command is related to a file system operation such as directory listing, creating, modifying, and deleting files and directories, it requires the dfs operator immediately after the hdfs prefix. Let's now execute our first command in Hadoop.