[jira] [Resolved] (ACCUMULO-4516) TeraSortIngest splits argument is ignored if less than 10 arguments are provided

2019-04-23 Thread Christopher Tubbs (JIRA)


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

Christopher Tubbs resolved ACCUMULO-4516.
-
Resolution: Fixed

> TeraSortIngest splits argument is ignored if less than 10 arguments are 
> provided
> 
>
> Key: ACCUMULO-4516
> URL: https://issues.apache.org/jira/browse/ACCUMULO-4516
> Project: Accumulo
>  Issue Type: Bug
>  Components: examples
>Reporter: Josh Elser
>Assignee: Mark Owens
>Priority: Major
>  Labels: newbie, pull-request-available
> Fix For: 2.0.0, 1.7.4, 1.9.0
>
>  Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> I invoked the TeraSortIngest and did not see my table being pre-split:
> {noformat}
> tool.sh lib/accumulo-examples-simple.jar 
> org.apache.accumulo.examples.simple.mapreduce.TeraSortIngest -i accumulo  -z 
> jelser-accumulo-scripts-1 -u root -p secret  --count $((1000 * 1000 * 50)) 
> --minKeySiz
> e 10 --maxKeySize 10 --minValueSize 78  --maxValueSize 78  --table terasort 
> --splits 15
> {noformat}
> Turns out that the positional argument parsing got lost in the switch to 
> jcommander:
> {code}
> if (args.length > 10)
>   conf.setInt(NUMSPLITS, opts.splits);
> {code}
> We should just set this value if the value for {{splits}} is not the default 
> (0).



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Resolved] (ACCUMULO-4516) TeraSortIngest splits argument is ignored if less than 10 arguments are provided

2017-10-03 Thread Mark Owens (JIRA)

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

Mark Owens resolved ACCUMULO-4516.
--
Resolution: Resolved

Updated merged into master: https://github.com/apache/accumulo-examples/pull/6

> TeraSortIngest splits argument is ignored if less than 10 arguments are 
> provided
> 
>
> Key: ACCUMULO-4516
> URL: https://issues.apache.org/jira/browse/ACCUMULO-4516
> Project: Accumulo
>  Issue Type: Bug
>  Components: examples
>Reporter: Josh Elser
>Assignee: Mark Owens
>  Labels: newbie, pull-request-available
> Fix For: 1.7.4, 1.8.2, 2.0.0
>
>  Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> I invoked the TeraSortIngest and did not see my table being pre-split:
> {noformat}
> tool.sh lib/accumulo-examples-simple.jar 
> org.apache.accumulo.examples.simple.mapreduce.TeraSortIngest -i accumulo  -z 
> jelser-accumulo-scripts-1 -u root -p secret  --count $((1000 * 1000 * 50)) 
> --minKeySiz
> e 10 --maxKeySize 10 --minValueSize 78  --maxValueSize 78  --table terasort 
> --splits 15
> {noformat}
> Turns out that the positional argument parsing got lost in the switch to 
> jcommander:
> {code}
> if (args.length > 10)
>   conf.setInt(NUMSPLITS, opts.splits);
> {code}
> We should just set this value if the value for {{splits}} is not the default 
> (0).



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)