[ 
https://issues.apache.org/jira/browse/HADOOP-1293?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Koji Noguchi updated HADOOP-1293:
---------------------------------

    Attachment: 1293.patch

1) Took out  logprintln(lineStr);
2) Always System.err.println(lineStr);
3) Replaced  reporter.setStatus(hline)  with reporter.progress().  (since it'll 
be overwritten by MROutputThread anyway)

If the timeout is set to 0 (HADOOP-491),  we don't need a call from the 
reporter (3). 
But since it's configurable, I left the reporter call. 


> stderr from streaming skipped after first 20 lines.  
> -----------------------------------------------------
>
>                 Key: HADOOP-1293
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1293
>             Project: Hadoop
>          Issue Type: Bug
>          Components: contrib/streaming
>            Reporter: Koji Noguchi
>         Assigned To: Koji Noguchi
>            Priority: Minor
>         Attachments: 1293.patch
>
>
> It prints to stderr when this condition is true
> > if (num < 20 || (now-lastStderrReport > reporterErrDelay_))
> Either first 20 lines or certain interval has passed since the last stderr 
> output.
> Output is logged  to syslog but can be overwritten by streaming 
> infrastructure outputs.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to