Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How to Delete file from HDFS?



How to Delete file from HDFS?..

Answer / Deep Kumar Verma

To delete a file from HDFS, you can use the `hadoop fs -rm` command followed by the path of the file. For example: `hadoop fs -rm /path/to/yourfile`. If you want to recursively delete a directory and its contents, use `-r` or `--recursive` option: `hadoop fs -rm -r /path/to/yourdirectory`.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Apache HDFS Hadoop Distributed File System Interview Questions

Define HDFS and talk about their respective components?

1 Answers  


Explain what is heartbeat in hdfs?

1 Answers  


How to remove safemode of namenode forcefully in HDFS?

1 Answers  


What is the problem in having lots of small files in hdfs?

1 Answers  


What happens when two users try to access to the same file in HDFS?

1 Answers  


How to Delete directory from HDFS?

1 Answers  


How does HDFS Index Data blocks? Explain.

1 Answers  


What do you mean by block scanner in hdfs?

1 Answers  


Difference Between Hadoop and HDFS?

1 Answers  


How to perform the inter-cluster data copying work in HDFS?

1 Answers  


How NameNode tackle Datanode failures in HDFS?

1 Answers  


What is throughput in HDFS?

1 Answers  


Categories