[
https://issues.apache.org/jira/browse/HDFS-5315?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13791179#comment-13791179
]
sathish commented on HDFS-5315:
-------------------------------
I already worked on this ,and i has prepared patch for this ,with that patch it
will work in required manner,
i am attaching that patch here.. please review it
Result after applying that patch
:/home/hadoop-2.1.0/bin # ./hdfs snapshotDiff / invalid no
snapshotDiff: Cannot find the snapshot of directory / with name invalid
home/hadoop-2.1.0/bin # echo $?
1
home/hadoop-2.1.0/bin #
> [HDFS-Snapshot] Return code of SnapshotDiff of two invalid snapshots is 0
> -------------------------------------------------------------------------
>
> Key: HDFS-5315
> URL: https://issues.apache.org/jira/browse/HDFS-5315
> Project: Hadoop HDFS
> Issue Type: Bug
> Affects Versions: 3.0.0
> Reporter: Brahma Reddy Battula
> Assignee: Brahma Reddy Battula
>
--
This message was sent by Atlassian JIRA
(v6.1#6144)