Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-8871

FileUtil.symLink: if shell command fails, logging message does not correctly print command attempted

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1-win
    • Fix Version/s: 1-win
    • Component/s: fs
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      When the shell command call to create a symlink fails, we attempt to log the details. We log cmd, which is a String[], and Java prints it using the default Object.toString implementation. We need to change this to print the contents of the array so that we see the actual command executed.

        Attachments

        1. HADOOP-8871-branch-1-win.patch
          0.8 kB
          Chris Nauroth
        2. HADOOP-8871-branch-1-win.patch
          0.8 kB
          Chris Nauroth

          Activity

            People

            • Assignee:
              cnauroth Chris Nauroth
              Reporter:
              cnauroth Chris Nauroth
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: