07/23/2012: Resolving the "Permission Denied" Message On Accumulo Monitor Page
If your operating system groups are not set correctly, you'll see a "Permission Denied" message under the NameNode section of the Accumulo Monitor page.
This message can be avoided by the following steps:
Then restart Accumulo. These steps assume that your Accumulo processes are running under the accumulo user. If not, substitute the correct userid.
sudo groupadd supergroup sudo useradd -G supergroup accumulo
Then restart Accumulo. These steps assume that your Accumulo processes are running under the accumulo user. If not, substitute the correct userid.
07/23/2012: Resolving "./zookeeper.out: Permission denied" error
'Resolving "./zookeeper.out: Permission denied" error'
When starting zookeeper, using the following command
I saw this error:
I resolved this error by telling zookeeper where I wanted the log file to be placed. Simply edit $ZOOKEEPER_HOME/zkEnv.sh, then add this assignment at the top of the file:
Then create that directory:
sudo -u zookeeper $ZOOKEEPER_HOME/bin/zkServer.sh start
I saw this error:
Starting zookeeper ... /usr/local/zookeeper/bin/zkServer.sh: line 105: ./zookeeper.out: Permission denied
I resolved this error by telling zookeeper where I wanted the log file to be placed. Simply edit $ZOOKEEPER_HOME/zkEnv.sh, then add this assignment at the top of the file:
ZOO_LOG_DIR=/var/log/zookeeper
Then create that directory:
sudo mkdir /var/log/zookeeper sudo chown zookeeper /var/log/zookeeper