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

Shell#runCommand may miss output on stderr

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Target Version/s:

      Description

      Shell#runCommand uses buffered reader to read complete lines. Hence, if the output is not terminated by newline or the thread was interrupted before new line was produced by the child process, this last portion is not consumed.

        Attachments

        1. HADOOP-11371.001.patch
          4 kB
          Gera Shegalov

          Activity

            People

            • Assignee:
              jira.shegalov Gera Shegalov
              Reporter:
              jira.shegalov Gera Shegalov
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated: