You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-dev@hadoop.apache.org by "Prabhu Joseph (JIRA)" <ji...@apache.org> on 2018/09/27 00:37:00 UTC

[jira] [Created] (MAPREDUCE-7145) Improve ShuffleHandler Logging

Prabhu Joseph created MAPREDUCE-7145:
----------------------------------------

             Summary: Improve ShuffleHandler Logging
                 Key: MAPREDUCE-7145
                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-7145
             Project: Hadoop Map/Reduce
          Issue Type: Bug
          Components: nodemanager
    Affects Versions: 2.7.3
            Reporter: Prabhu Joseph


ShuffleHandler logs SpillFile not found when there is a permission denied issue which is misleading.

{code}
 try {
        spill = SecureIOUtils.openForRandomRead(spillfile, "r", user, null);
      } catch (FileNotFoundException e) {
        LOG.info(spillfile + " not found");
        return null;
}
{code}

SecureIOUtils.openForRandomRead should log  "Permission denied" or  "No such file or directory" instead of generic "file not found"



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: mapreduce-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: mapreduce-dev-help@hadoop.apache.org