Re: why i can not use '*' in remove hadoop directory?

2014-07-21 Thread Mapred Learn
Can you paste fs -ls output on these ? > On Jul 21, 2014, at 5:51 PM, ch huang wrote: > > hi,maillist: > i use "sudo -u hdfs hadoop fs -rm -r -skipTrash > /user/hive/warehouse/adx.db/dsp_request/2014-03*/*" in CDH4.4,but i find it > can not work in CDH5,why? > > # sudo -u hdfs hadoop

why i can not use '*' in remove hadoop directory?

2014-07-21 Thread ch huang
hi,maillist: i use "sudo -u hdfs hadoop fs -rm -r -skipTrash /user/hive/warehouse/adx.db/dsp_request/2014-03*/*" in CDH4.4,but i find it can not work in CDH5,why? # sudo -u hdfs hadoop fs -rm -r -skipTrash /user/hive/warehouse/dsp.db/dsp_request/2014-01*/* rm: `/user/hive/warehouse/dsp.db