A

Admin • 832.27K Points
Coach

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
  • Correct Answer - Option(A)
  • Views: 10
  • Filed under category Hadoop
  • Hashtags:

Explanation by: Admin

The correct command to delete a file from HDFS is 'hdfs dfs -rm'.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.