Created on 07-27-2014 06:40 AM - edited 09-16-2022 02:03 AM
I am trying to install CDH5 Accumulo 1.6 in QuickStart 5.1 VM. I don't have enough memory to run Cloudera Manager so I am doing the install manually. I got the tar.gzip and exploded it in /opt. i updated paths in accumulo-env.xml but am getting the 'can't load hadoop native librarry' error. Accumulo will start and I can get a prompt, but when I try createtable it just hangs.
I was confused about how to use HADOOP_PREFIX with HADOOP_CONF_DR. I ended up not setting HADOOP_PREFIX becuase of how it is used with HADOOP_CONF_DIR, which looks complete with HADDOP_PREFIX.
I did not see any steps for in the Accumulo install doc for working with the tar.gz. Please let me know what the accumulo-env.xml settings should be when working with the QuickStart 5.1 VM.
Thanks,
Created 08-02-2014 06:46 AM
Mike,
I downloaded all the RPMs and used the service commands and accumulo started without error.
Thanks for your help.
Don
Created 07-28-2014 10:06 AM
Hi Don!
Which tarball did you download and attempt to use? Our latest release is available at http://archive.cloudera.com/accumulo-c5/cdh/5/accumulo-1.6.0-cdh5.1.0.tar.gz
Instead of manually updating paths in accumulo-site.xml or accumulo-env.sh, I recommend that you copy the example configuration files from $ACCUMULO_HOME/conf/examples/CDH5_packages to your configuration directory. There you can see the following values getting set:
HADOOP_PREFIX=/usr/lib/hadoop
HADOOP_CONF_DIR="$HADOOP_PREFIX/etc/hadoop"
After copying the files, I was able to init, start, and create a table via the shell.
An alternative option would be to use our RPM release directly, which already has all of these settings configured for you. It is available at http://archive.cloudera.com/accumulo-c5/redhat/6/x86_64/cdh/ and should work with the Quickstart VM without issue.
Let us know if you have any further questions, and good luck!
Mike
Created 07-30-2014 05:38 PM
Mike,
So I got the RMP and installed it. I did a accumulo init and that seemed to work although I did have to run it as root. However, when I tried to /usr/lib/accumulo/bin/start-all.sh I got a message that there were no tservers. Please let me know what I am missing, or if there are steps for installing accumulo in a cdh5 Quick Start VM, please let me know.
Thanks,
Don Resnik
Created 07-30-2014 05:49 PM
Mike,
My mistake, I am getting the 'no tserver' error when I try to call accumulo shell -u root. Which may make sense because it did not look like accumulo was started. When I try to /usr/lib/accumulo/bin/start-all.sh I get an error about conf/master not being present.
Any help would be appreciated.
Thanks,
Don Resnik
Created 07-30-2014 05:55 PM
Created 07-30-2014 06:06 PM
Created 07-30-2014 06:11 PM
Created 08-02-2014 06:46 AM
Mike,
I downloaded all the RPMs and used the service commands and accumulo started without error.
Thanks for your help.
Don