hive> dfs -rm -r /user/root/imooc; rm: cannot remove -r: No such file or directory. rm: Cannot remove directory "hdfs://114.215.149.37:9000/user/root/imooc", use -rmr instead Command failed with exit code = -1 Query returned non-zero code: -1, cause: null hive>
这是为何?
应该在hive 交互界面外执行
hdfs dfs -rm -R /usr/root/imooc
don't know