hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ronnie Ghose <ronnie.gh...@gmail.com>
Subject Re: [jira] [Created] (HADOOP-8295) ToolRunner.confirmPrompt spins if stdin goes away
Date Fri, 20 Apr 2012 00:40:24 GMT
sorry guys, going to ask: how would you suggest I start working on hadoop
dev?

thanks,
-Ronnie

On 19 April 2012 20:30, Todd Lipcon (Created) (JIRA) <jira@apache.org>wrote:

> ToolRunner.confirmPrompt spins if stdin goes away
> -------------------------------------------------
>
>                 Key: HADOOP-8295
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8295
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 2.0.0
>            Reporter: Todd Lipcon
>            Priority: Minor
>
>
> Currently, ToolRunner.confirmPrompt treats a "-1" response to its
> System.in.read() call the same as \n or \r. So, if stdin goes away, it can
> cause the JVM to spin in a loop. Instead, it should treat a -1 result as a
> "n" response.
>
> --
> This message is automatically generated by JIRA.
> If you think it was sent incorrectly, please contact your JIRA
> administrators:
> https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
> For more information on JIRA, see: http://www.atlassian.com/software/jira
>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message