[
https://issues.apache.org/jira/browse/SOLR-5605?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13862272#comment-13862272
]
wolfgang hoschek edited comment on SOLR-5605 at 1/4/14 11:42 AM:
-----------------------------------------------------------------
Thanks for getting to the bottom of this!
Looks like we'll now be good on upgrade to argparse4j-0.4.3, except we'll also
need to apply CDH-16434 to MapReduceIndexerTool.java because there's a change
related to flushing in 0.4.2:
{code}
- parser.printHelp(new PrintWriter(System.out));
+ parser.printHelp();
{code}
Otherwise some of the --help text doesn't show up in the output :-(
was (Author: whoschek):
Thanks for getting to the bottom of this!
Looks like we'll now be good on upgrade to argparse4j-0.4.3, except we'll also
need to apply CDH-16434 to MapReduceIndexerTool.java because there's a change
related to flushing in 0.4.2:
- parser.printHelp(new PrintWriter(System.out));
+ parser.printHelp();
Otherwise some of the --help text doesn't show up in the output :-(
> MapReduceIndexerTool fails in some locales -- seen in random failures of
> MapReduceIndexerToolArgumentParserTest
> ---------------------------------------------------------------------------------------------------------------
>
> Key: SOLR-5605
> URL: https://issues.apache.org/jira/browse/SOLR-5605
> Project: Solr
> Issue Type: Bug
> Reporter: Hoss Man
>
> I noticed a randomized failure in MapReduceIndexerToolArgumentParserTest
> which is reproducible with any seed -- all that matters is the locale.
> The problem sounded familiar, and a quick search verified that jenkins has in
> fact hit this a couple of times in the past -- Uwe commented on the list that
> this is due to a real problem in one of the third-party dependencies (that
> does the argument parsing) that will affect usage on some systems.
> If working around the bug in the arg parsing lib isn't feasible,
> MapReduceIndexerTool should fail cleanly if the locale isn't one we know is
> "supported"
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]