Ray Chiang created YARN-4568:
--------------------------------

             Summary: Fix message when NodeManager runs into errors 
initializing the recovery directory
                 Key: YARN-4568
                 URL: https://issues.apache.org/jira/browse/YARN-4568
             Project: Hadoop YARN
          Issue Type: Bug
          Components: yarn
    Affects Versions: 2.8.0
            Reporter: Ray Chiang
            Assignee: Ray Chiang
         Attachments: YARN-4568.001.patch

When the NodeManager tries to initialize the recovery directory, the method 
NativeIO#chmod() can throw one of several Errno style exceptions.  This 
propagates up to the top without any try/catch statement.

It would be nice to have a cleaner error message in this situation (plus the 
original exception) to give users an idea about what part of the system has 
gone wrong.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to