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

error stream handling in Shell executor

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 0.16.0
    • Fix Version/s: 0.16.0
    • Component/s: util
    • Labels:
      None

      Description

      Fix a couple of issues while handling error stream in Shell (added in HADOOP-2344) :

      1. fix typo in System.getProperty("line.seperator"), currently it adds "null" instead of "\n".
      2. completed is not set to true when a process exits with an error.
      3. In normal error case, it reads errMsg (to create IOException) before waiting for errThread to complete, which results in in consistent error message. I will attach a patch.

        Attachments

        1. HADOOP-2512.patch
          2 kB
          Raghu Angadi
        2. HADOOP-2512.patch
          4 kB
          Raghu Angadi

          Issue Links

            Activity

              People

              • Assignee:
                rangadi Raghu Angadi
                Reporter:
                rangadi Raghu Angadi
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: