Q. Which command in Hadoop is used to delete a file in HDFS?

  • (A) hdfs dfs -rm
  • (B) hdfs dfs -del
  • (C) hdfs dfs -delete
  • (D) hdfs dfs -erase
πŸ’¬ Discuss
βœ… Correct Answer: (A) hdfs dfs -rm
Explanation: The correct command to delete a file from HDFS is 'hdfs dfs -rm'.
Explanation by: Mr. Dubey
The correct command to delete a file from HDFS is 'hdfs dfs -rm'.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
93
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
94%
Success Rate