[
https://issues.apache.org/jira/browse/HADOOP-3963?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Owen O'Malley updated HADOOP-3963:
----------------------------------
Status: Open (was: Patch Available)
This looks fine, except for where you commented out the exits. We always prefer
to actually remove the code and count on version control to put it back if
needed.
> libhdfs should never exit on its own but rather return errors to the calling
> application
> ----------------------------------------------------------------------------------------
>
> Key: HADOOP-3963
> URL: https://issues.apache.org/jira/browse/HADOOP-3963
> Project: Hadoop Core
> Issue Type: Improvement
> Components: libhdfs
> Reporter: Pete Wyckoff
> Assignee: Pete Wyckoff
> Priority: Minor
> Attachments: patch0.txt
>
>
> A a library, libhdfs would be better to return errors rather than directly
> exiting. This way the calling application can determine what to do on error.
> And it is more unix library like to handle errors this way.
> Some applications like fuse-dfs need to handle the exit themselves after
> emitting an appropriate error message to its log.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.