[ https://issues.apache.org/jira/browse/HADOOP-9939?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Benoy Antony updated HADOOP-9939: --------------------------------- Attachment: hadoop-9939.patch Attaching a patch to accomplish the custom error processing requirement. An Interface - CustomExceptionHandler is defined. Control is given to this CustomExceptionHandler from different exception blocks. The exception blocks are identified by a handle. A DefaultCustomExeptionHandler is defined to keep the default exception handling for each error case. The framework is used when an Authentication failure occurs. A testcase is written to test the exceptionHandler. > Custom Processing for Errors > ---------------------------- > > Key: HADOOP-9939 > URL: https://issues.apache.org/jira/browse/HADOOP-9939 > Project: Hadoop Common > Issue Type: Improvement > Reporter: Benoy Antony > Assignee: Benoy Antony > Priority: Minor > Attachments: hadoop-9939.patch > > Original Estimate: 20h > Remaining Estimate: 20h > > We have a use case where we want to display different error message and take > some bookkeeping actions when there is authentication failure in Hadoop. > There could be other error cases where we want to associate custom actions > message. > The work is define a framework to attach custom error processors as part of > exception handling . Use that framework to display custom error message for > authentication failures. > Please review and let me know your comments or alternatives. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira