hadoop-mapreduce-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Prabhu Joseph (JIRA)" <j...@apache.org>
Subject [jira] [Created] (MAPREDUCE-7145) Improve ShuffleHandler Logging
Date Thu, 27 Sep 2018 00:37:00 GMT
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


Mime
View raw message