You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by GitBox <gi...@apache.org> on 2019/07/23 15:18:36 UTC
[GitHub] [accumulo] GreenCee commented on issue #1282: Clean up 1.9.3
BulkIngestExample
GreenCee commented on issue #1282: Clean up 1.9.3 BulkIngestExample
URL: https://github.com/apache/accumulo/issues/1282#issuecomment-514256627
> It's failing with a classpath error.
> java.lang.ClassNotFoundException: Class org.apache.accumulo.core.client.mapreduce.AccumuloFileOutputFormat not found​
>
> I was asking about what version of Hadoop because I know there were some classpath changes between the versions. We changed the way the classpath was setup in the scripts between 1.9 and 2.0
hadoop_version = 2.8.4
zookeeper_version = 3.4.14
accumulo_version = 1.9.3
I did a sanity check on the instructions you pointed out on a fresh cluster
History:
PKG=org.apache.accumulo.examples.simple.mapreduce.bulk
ARGS="-i muchos -z <> -u <> -p <>"
cd install/accumulo-1.9.3/
./bin/accumulo $PKG.SetupTable $ARGS -t test_bulk row_00000333 row_00000666
./bin/accumulo $PKG.GenerateTestData --start-row 0 --count 1000 --output bulk/test_1.txt
./bin/tool.sh lib/accumulo-examples-simple.jar $PKG.BulkIngestExample $ARGS -t test_bulk --inputDir bulk --workDir tmp/bulkWork
SUCCESS
History:
accumulo org.apache.accumulo.examples.simple.mapreduce.bulk.GenerateTestData --start-row 0 --count 1000 --output gen/test.txt
accumulo org.apache.accumulo.examples.simple.mapreduce.bulk.BulkIngestExample -i muchos -u root -p <> -t test_bulk --inputDir gen --workDir tmp/bulk
FAILURE
The latter was the one failing. So using the proper JAR results in success.
Closing the issue, user error
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services