[
https://issues.apache.org/jira/browse/HDFS-8111?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14493990#comment-14493990
]
Hudson commented on HDFS-8111:
------------------------------
FAILURE: Integrated in Hadoop-Hdfs-trunk-Java8 #154 (See
[https://builds.apache.org/job/Hadoop-Hdfs-trunk-Java8/154/])
HDFS-8111. NPE thrown when invalid FSImage filename given for 'hdfs oiv_legacy'
cmd ( Contributed by surendra singh lilhore ) (vinayakumarb: rev
14384f5b5142a98a10ce4bffadeb13e89bda9365)
*
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/offlineImageViewer/OfflineImageViewer.java
* hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
> 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
> Affects Versions: 2.6.0
> Reporter: Archana T
> Assignee: surendra singh lilhore
> Priority: Minor
> Fix For: 2.8.0
>
> 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)