We are using CDH 5.9.2 14-node cloudera cluster. I have har file archived from multiple directories.
However when I tried to check the contents of har file ,I got the error as below.
hdfs dfs -ls har:///user/user1/HDFSArchival/Output1/Archive-16-11-2017-02-20.har
-ls: Can not create a Path from an empty string
Usage: hadoop fs [generic options] -ls [-C] [-d] [-h] [-q] [-R] [-t] [-S] [-r] [-u] [<path> ...]
I am able to check the size of har file though.
hdfs dfs -du -s -h /user/user1/HDFSArchival/Output1/Archive-16-11-2017-02-20.har
3.2 G 9.6 G /user/user1/HDFSArchival/Output1/Archive-16-11-2017-02-20.har
When I was looking for the error, got to know about the bug in CDH220.127.116.11 (and possibly earlier) in the globbing functionality inside .HAR files, implemented in the methods FileSystem::globStatus() and FileSystem::globStatusInternal().
Is the bug still present in CDH 5.9 also?
Can you please help me to solve this?