09-20-2014 02:12 PM
I have installed CLoudera 5.x, and login with "root" user and trying to execute below command
$ accumulo $PKG.GenerateTestData --start-row 0 --count 1000 --output bulk/test_1.txt
getting below error.
Thread "org.apache.accumulo.examples.simple.mapreduce.bulk.GenerateTestData" died Permission denied: user=root, access=WRITE, inode="/user":hdfs:supergroup:drwxr-xr-x
What's default password for accumulo to run those scripts?
09-20-2014 08:18 PM
09-21-2014 11:08 AM
Before running any of the accumulo examples, you need to do some user set up. None of them should be run as root nor any of the service principles (accumulo, hdfs, etc).
Let me know if you have any further problems.
09-22-2014 04:22 PM
I got resolved that permission error. Thank you for that.
I am trying to execute below
./bin/tool.sh ./lib/accumulo-examples-simple.jar $PKG.BulkIngestExample $ARGS -t test_sample --inputDir /tmp/bulk -workDir /tmp/bulkWork
Here is the error
Accumulo is not properly configured.
Try running $ACCUMULO_HOME/bin/bootstrap_config.sh and then editing
After that I tried running "$ACCUMULO_HOME/bin/bootstrap_config.sh" in my shell
It's asking more questions.
Choose the heap configuration:
Choose the Accumulo memory-map type:
Choose the Apache Hadoop version:
1) HADOOP 1
2) HADOOP 2
Please help me on this.
09-22-2014 05:22 PM
I'd be happy to help you with this new problem. To make things easier for future users, how about we mark my answer for the original thread topic and start a new one for this issue?