下面是我的操作步骤:
[root@bigdata-poc-shtz-3 test]# hadoop fs -ls -R hdfs://bigdata:8020/user/hive/warehouse/sdata.db/test
drwxr-xr-x - root hive hdfs://bigdata:8020/user/hive/warehouse/sdata.db/test/dt=20191205
-rw-r--r-- 3 root hive hdfs://bigdata:8020/user/hive/warehouse/sdata.db/test/dt=20191205/test.txt
drwxrwx--x+ - hive hive hdfs://bigdata:8020/user/hive/warehouse/sdata.db/test/dt=20191206
drwxrwx--x+ - hive hive hdfs://bigdata:802...0101-8
drwxrwx--x+ - hive hive hdfs://bigdata:.....6440101-8/-ext-10000
-rwxrwx--x+ 3 hive hive hdfs://bigdata:8020/user/hive/warehouse/sdata.db/test/dt=20191206/000000_0
[root@bigdata-poc-shtz-3 test]# hadoop fs -rm -r hdfs://bigdata:8020/user/hive/warehouse/sdata.db/test/dt=20191205
19/12/06 16:29:28 INFO fs.....b/test/dt=20191205
[root@bigdata-poc-shtz-3 test]#
[root@bigdata-poc-shtz-3 test]# hadoop fs -ls -R hdfs://bigdata:8020/user/hive/warehouse/sdata.db/test
drwxrwx--x+ - hive hive hdfs://bigdata:8020/user/hive/warehouse/sdata.db/test/dt=20191206
drwxrwx--x+ - hive hive hdfs://bigdata:8020/....._830_8066184776676440101-8
drwxrwx--x+ - hive hive hdfs://bigdata:80....8066184776676440101-8/-ext-10000
-rwxrwx--x+ 3 hive hive hdfs://bigdata:8020/user/hive/warehouse/sdata.db/test/dt=20191206/000000_0
但是查看分区:
分区依旧存在,如何破解 ?