hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "surendra singh lilhore (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-8111) NPE thrown when invalid FSImage filename given for "hdfs oiv_legacy" cmd
Date Thu, 09 Apr 2015 12:12:13 GMT

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

surendra singh lilhore updated HDFS-8111:
-----------------------------------------
    Attachment: HDFS-8111.patch

> NPE thrown when invalid FSImage filename given for "hdfs oiv_legacy" cmd
> ------------------------------------------------------------------------
>
>                 Key: HDFS-8111
>                 URL: https://issues.apache.org/jira/browse/HDFS-8111
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: tools
>            Reporter: Archana T
>            Assignee: surendra singh lilhore
>            Priority: Minor
>         Attachments: HDFS-8111.patch
>
>
> NPE thrown when invalid filename is given as argument for "hdfs oiv_legacy" command
> {code}
> ./hdfs oiv_legacy -i /home/hadoop/hadoop/hadoop-3.0.0/dfs/name/current/fsimage_00000000000000042
-o fsimage.txt 
> Exception in thread "main" java.lang.NullPointerException
>         at org.apache.hadoop.hdfs.tools.offlineImageViewer.OfflineImageViewer.go(OfflineImageViewer.java:140)
>         at org.apache.hadoop.hdfs.tools.offlineImageViewer.OfflineImageViewer.main(OfflineImageViewer.java:260)
> {code}



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

Mime
View raw message