You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Cody Marcel (JIRA)" <ji...@apache.org> on 2016/01/19 22:45:39 UTC

[jira] [Commented] (PHOENIX-2513) Pherf - IllegalArgumentException during data load

    [ https://issues.apache.org/jira/browse/PHOENIX-2513?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15107512#comment-15107512 ] 

Cody Marcel commented on PHOENIX-2513:
--------------------------------------

Is this consistently happening? I am not sure off hand. We are using AtomicLong for the counter so that should not be a problem. Maybe we can add some logging around it to get more info?

> Pherf - IllegalArgumentException during data load
> -------------------------------------------------
>
>                 Key: PHOENIX-2513
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-2513
>             Project: Phoenix
>          Issue Type: Bug
>            Reporter: Mujtaba Chohan
>            Priority: Minor
>
> {code}
> Caused by: java.lang.IllegalArgumentException: Requested random string length -1 is less than 0.
> 	at org.apache.commons.lang.RandomStringUtils.random(RandomStringUtils.java:231)
> 	at org.apache.commons.lang.RandomStringUtils.random(RandomStringUtils.java:166)
> 	at org.apache.commons.lang.RandomStringUtils.random(RandomStringUtils.java:146)
> 	at org.apache.commons.lang.RandomStringUtils.randomAlphanumeric(RandomStringUtils.java:114)
> 	at org.apache.phoenix.pherf.rules.RulesApplier.getSequentialDataValue(RulesApplier.java:373)
> 	at org.apache.phoenix.pherf.rules.RulesApplier.getDataValue(RulesApplier.java:155)
> 	at org.apache.phoenix.pherf.rules.RulesApplier.getDataForRule(RulesApplier.java:99)
> 	at org.apache.phoenix.pherf.workload.WriteWorkload.buildStatement(WriteWorkload.java:317)
> 	at org.apache.phoenix.pherf.workload.WriteWorkload.access$700(WriteWorkload.java:53)
> 	at org.apache.phoenix.pherf.workload.WriteWorkload$2.call(WriteWorkload.java:268)
> 	at org.apache.phoenix.pherf.workload.WriteWorkload$2.call(WriteWorkload.java:249)
> {code}
> [~cody.marcel@gmail.com] Any idea for this exception that happened after 100M+ rows during data load?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)