BulkRecordWriter constructor crashes on wrong default parameter in conf.get()
which is letter instead of number
---------------------------------------------------------------------------------------------------------------
Key: CASSANDRA-4166
URL: https://issues.apache.org/jira/browse/CASSANDRA-4166
Project: Cassandra
Issue Type: Bug
Reporter: MichaĆ Michalski
I've pulled the newest code and my bulkloading started to crash on:
{noformat}2012-04-18 12:34:09,620 WARN org.apache.hadoop.mapred.Child: Error
running child
java.lang.NumberFormatException: For input string: "O"
at
java.lang.NumberFormatException.forInputString(NumberFormatException.java:48){noformat}
The problem is this line and default parameter of conf.get() which was
accidentally set to "O" (letter O) instead of 0 (zero).
{noformat}maxFailures = Integer.valueOf(conf.get(MAX_FAILED_HOSTS,
"0"));{noformat}
--
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