Created on 09-20-2014 02:12 PM - edited 09-16-2022 02:08 AM
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?
Created 09-21-2014 11:08 AM
To make sure we have the same context, I think you're working through the bulk ingest overview's example. Please correct me if that's wrong.
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.
Created 09-20-2014 08:18 PM
Created 09-21-2014 08:00 AM
Created 09-21-2014 11:08 AM
To make sure we have the same context, I think you're working through the bulk ingest overview's example. Please correct me if that's wrong.
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.
Created 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
$ACCUMULO_HOME/conf/accumulo-env.sh
After that I tried running "$ACCUMULO_HOME/bin/bootstrap_config.sh" in my shell
It's asking more questions.
Choose the heap configuration:
1) 1GB
2) 2GB
3) 3GB
4) 512MB
#?
Choose the Accumulo memory-map type:
1) Java
2) Native
#?
Choose the Apache Hadoop version:
1) HADOOP 1
2) HADOOP 2
Please help me on this.
Created 09-22-2014 05:22 PM
Hi!
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?