Reply
Highlighted
New Contributor
Posts: 1
Registered: ‎10-20-2017

webhdfs fsimage list

[ Edited ]

I am trying to read fsimage to analyze small files.

any help is much appreciated.

 

hdfs oiv -i fsimage_0000000000014150056 -o lsreport.txt
17/12/04 09:02:05 INFO offlineImageViewer.FSImageHandler: Loading 616 strings
17/12/04 09:02:05 INFO offlineImageViewer.FSImageHandler: Loading 56825 inodes.
17/12/04 09:02:05 INFO offlineImageViewer.FSImageHandler: Loading inode references
17/12/04 09:02:05 INFO offlineImageViewer.FSImageHandler: Loaded 0 inode references
17/12/04 09:02:05 INFO offlineImageViewer.FSImageHandler: Loading inode directory section
17/12/04 09:02:05 INFO offlineImageViewer.FSImageHandler: Loaded 6560 directories
17/12/04 09:02:05 INFO offlineImageViewer.WebImageViewer: WebImageViewer started. Listening on /127.0.0.1:5978. Press Ctrl+C to stop the viewer.

 

I am getting below error.

hdfs dfs -ls -R webhdfs://127.0.0.1:5978/
17/12/04 09:15:22 WARN security.UserGroupInformation: PriviledgedActionException as:hdfs@realmname (auth:KERBEROS) cause:org.apache.hadoop.ipc.RemoteException(java.lang.IllegalArgumentException): Invalid value for webhdfs parameter "op"
17/12/04 09:15:22 WARN security.UserGroupInformation: PriviledgedActionException as:hdfs@realmname (auth:KERBEROS) cause:org.apache.hadoop.ipc.RemoteException(java.lang.IllegalArgumentException): Invalid value for webhdfs parameter "op"
ls: Invalid value for webhdfs parameter "op"

 

Announcements