Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
2.0.5-alpha
-
None
-
None
Description
Add layout version, NamespaceID, numItemsInTree in XML offlineImageViewer:
existing implementation:
a. hdfs oiv -p XML -i fsimage_0000000000000000929 -o fsimage.xml
b. cat fsimage.xml
?xml version="1.0"?>
<fsimage><NameSection>
<genstampV1>1000</genstampV1><genstampV2>1098</genstampV2><genstampV1Limit>0</genstampV1Limit><lastAllocatedBlockId>1073741922</lastAllocatedBlockId><txid>929</txid></NameSection>
<INodeSection><lastInodeId>16594</lastInodeId><inode><id>16385</id><type>DIRECTORY</type><name></name><mtime>1406180633657</mtime><permission>hdfs:supergroup:rwxr-xr-x</permission><nsquota>9223372036854775807</nsquota><dsquota>-1</dsquota></inode>
expected behavior:
layout version, NamespaceID, numItemsInTree are included in fsimage.xml