[ 
https://issues.apache.org/jira/browse/HADOOP-3452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12600329#action_12600329
 ] 

dhruba borthakur commented on HADOOP-3452:
------------------------------------------

One simple approach is for the client to look for the string "CORRUPT" and then 
exit with either 0 or 1.

> fsck exit code would be better if non-zero when FS corrupt
> ----------------------------------------------------------
>
>                 Key: HADOOP-3452
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3452
>             Project: Hadoop Core
>          Issue Type: Improvement
>          Components: dfs
>            Reporter: Pete Wyckoff
>            Priority: Minor
>
> fsck exit code would be better if behaved like other sys admin tools and exit 
> code indicated healthy/corrupt or other  errors.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to