[
https://issues.apache.org/jira/browse/HADOOP-3963?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Robert Chansler updated HADOOP-3963:
------------------------------------
Release Note:
Modified libhdfs to return NULL or error code when unrecoverable error occurs
rather than exiting itself.
was:
libhdfs modified to return NULL or error code when unrecoverable error occurs
rather than exiting itself.
Hadoop Flags: [Incompatible change, Reviewed] (was: [Reviewed,
Incompatible change])
> 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
> Fix For: 0.19.0
>
> Attachments: patch0.txt, patch1.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.