InterviewSolution
| 1. |
List Hadoop HDFS Commands. |
|
Answer» A)version: hadoop version interviewbit:~$ hadoop versionHadoop 3.1.2Source code repository HTTPS://github.com/apache/hadoop.git -rCompiled by sunlig on 2019-01-29T01:39Zinterviewbit:~$B) mkdir: Used to create a new directory. interviewbit:~$ hadoop FD -mkdir/interviewbit interviewbit:~$C) cat: We are using the cat command to display the content of the file present in the directory of HDFS. D)mv : The HDFS mv command moves the files or directories from the SOURCE to a destination WITHIN HDFS. E) copyToLocal: This command copies the file from the file present in the newDataFlair directory of HDFS to the local file system. F) GET: Copies the file from the Hadoop File System to the Local File System. |
|