[
https://issues.apache.org/jira/browse/HADOOP-3379?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12603839#action_12603839
]
Amareshwari Sriramadasu commented on HADOOP-3379:
-------------------------------------------------
Actually the patch uploaded has the configuration property
_stream.non.zero.exit.is.failure_ value as _true_.
If we want 'streaming always fail the task for non-zero exit codes', we can
just remove the configuration property and document to wrap commands as Rick
pointed. But doesn't this make applications incompatible from 0.17 to 0.18 ?
Shouldnt we deprecate the configuration property for 0.18?
Thoughts?
I think making the configuration property _stream.non.zero.exit.is.failure_
value as _true_ makes sense.
> Document the "stream.non.zero.exit.status.is.failure" knob for streaming
> ------------------------------------------------------------------------
>
> Key: HADOOP-3379
> URL: https://issues.apache.org/jira/browse/HADOOP-3379
> Project: Hadoop Core
> Issue Type: Improvement
> Components: contrib/streaming, documentation
> Affects Versions: 0.17.0
> Reporter: Arun C Murthy
> Assignee: Amareshwari Sriramadasu
> Priority: Blocker
> Fix For: 0.18.0
>
> Attachments: patch-3379.txt
>
>
> HADOOP-2057 added a useful feature: "stream.non.zero.exit.status.is.failure"
> to optionally treat non-zero exit code from streaming apps as fatal. We
> should document this on
> http://hadoop.apache.org/core/docs/current/streaming.html.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.