Uploaded image for project: 'Hadoop Map/Reduce'
  1. Hadoop Map/Reduce
  2. MAPREDUCE-7145

Improve ShuffleHandler Logging

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.7.3
    • None
    • nodemanager
    • None

    Description

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

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

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

      Attachments

        Activity

          People

            prabhujoseph Prabhu Joseph
            prabhujoseph Prabhu Joseph
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: