crs4 / pydoop

A Python MapReduce and HDFS API for Hadoop
Apache License 2.0
236 stars 59 forks source link

Non-recursive hdfs rm #348

Closed simleo closed 5 years ago

simleo commented 5 years ago

Adds a new hdfs.rm that behaves like the underlying delete, i.e., with the option to raise an exception on a non-empty directory. hdfs.rmr is still in place, but it's been undocumented and it's not used anymore internally.