hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Haohui Mai (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HDFS-7428) Include path in the XML output of oiv
Date Mon, 24 Nov 2014 19:10:13 GMT

     [ https://issues.apache.org/jira/browse/HDFS-7428?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Haohui Mai resolved HDFS-7428.
------------------------------
    Resolution: Invalid

The format of XML depends on the internal implementation details of how fsimage is implemented.
In the current PB-based fsimage, deriving full path requires more than O(1) memory thus it
is unlikely to have full path in the XML.

Alternatively, you can run WebImageViewer to access the fsimage through the webhdfs interface,
which can give you full path.

> Include path in the XML output of oiv
> -------------------------------------
>
>                 Key: HDFS-7428
>                 URL: https://issues.apache.org/jira/browse/HDFS-7428
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: tools
>    Affects Versions: 2.5.1
>            Reporter: Gautam Gopalakrishnan
>            Priority: Minor
>
> When generating the XML output using {noformat}hadoop oiv -p XML{noformat} the path of
a file is not printed, just the file name. While the complete path can be derived by parsing
INodeDirectorySection and INodeSection and their children, it would be convenient to have
the "absolute path" present directly like {noformat}INodeSection->inode->path{noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message