How to Delete directory and files recursively from HDFS?
Answer / Shishir Chouhan
To delete a directory and its contents recursively in HDFS, you can use the 'hadoop fs -rmr' command. Here is an example: `hadoop fs -rmr /path/to/delete`
| Is This Answer Correct ? | 0 Yes | 0 No |
What do you mean by metadata in Hadoop?
Explain the key features of hdfs?
Does HDFS allow a client to read a file which is already opened for writing in hadoop?
How does hdfs ensure information integrity of data blocks squares kept in hdfs?
How to read file in HDFS?
Is namenode also a commodity?
What do you mean by block scanner in hdfs?
While processing data from hdfs, does it execute code near data?
List the files associated with metadata in hdfs?
Define hadoop archives? What is the command for archiving a group of files in hdfs.
Difference Between Hadoop and HDFS?
How one can change Replication factor when Data is already stored in HDFS
Apache Hadoop (394)
MapReduce (354)
Apache Hive (345)
Apache Pig (225)
Apache Spark (991)
Apache HBase (164)
Apache Flume (95)
Apache Impala (72)
Apache Cassandra (392)
Apache Mahout (35)
Apache Sqoop (82)
Apache ZooKeeper (65)
Apache Ambari (93)
Apache HCatalog (34)
Apache HDFS Hadoop Distributed File System (214)
Apache Kafka (189)
Apache Avro (26)
Apache Presto (15)
Apache Tajo (26)
Hadoop General (407)