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

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1-win
    • 1-win
    • fs
    • None
    • 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

            cnauroth Chris Nauroth
            cnauroth Chris Nauroth
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: