hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Harshakiran Reddy (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-14197) Invalid exit codes for invalid fsck report
Date Thu, 10 Jan 2019 10:28:00 GMT
Harshakiran Reddy created HDFS-14197:
----------------------------------------

             Summary: Invalid exit codes for invalid fsck report 
                 Key: HDFS-14197
                 URL: https://issues.apache.org/jira/browse/HDFS-14197
             Project: Hadoop HDFS
          Issue Type: Bug
            Reporter: Harshakiran Reddy



{noformat}
bin> ./hdfs fsck /harsha/file1 -blocks -files -locations
FileSystem is inaccessible due to:
java.io.FileNotFoundException: File does not exist: /harsha/file1
DFSck exiting.
bin> echo $?
0
bin>
{noformat}

Excepted Result : 

It should be 1




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org


Mime
View raw message