Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
Accumulo >> mail # dev >> problems running accumuo


Copy link to this message
-
Re: problems running accumuo
And when you copy the examples, you should copy all the files, not just a
few. We have the log4j setups in those directories as well.

Sent from my phone, please pardon the typos and brevity.
On Dec 28, 2012 12:57 PM, "Tim Piety" <[EMAIL PROTECTED]> wrote:

> All,
>
> I hope this is a correct email for my question. I never used Accumulo,
> only it'd predecessor Cloudbase and I am experienced with hadoop and hbase
> and from a developer' perspective. I am not a sysAdmin, but I have
> installed all Hadoop and HBase on VM's  before. I am now trying to install
> Accumulo on my VM.
>
> I have installed CDH3 and ZooKeeper on a CENTOS 6.3. VM (4G memory).
> Hadoop and ZooKeeper appear to run fine. I installed accumulo-1.4.2 and
> believe I configured it correctly. I used the accumulo-env.sh in the
> conf/examples/1GB/native-standalone as my template.
>
> When I start accumulo using the start-all.sh script I dpo not get any
> errors, however I does not return to a command prompt. I also get an error
> stating my log4j is not initialized correctly I know that comes when there
> is no log4j.proerties or xml file.
>
> When I try to execute accumulo shell I get the following:
>
> [root@localhost bin]# ./accumulo shell
> log4j:WARN No appenders could be found for logger
> (org.apache.accumulo.start.classloader.AccumuloClassLoader).
> log4j:WARN Please initialize the log4j system properly.
> log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for
> more info.
> Thread "shell" died null
> java.lang.reflect.InvocationTargetException
>     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>     at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>     at java.lang.reflect.Method.invoke(Unknown Source)
>     at org.apache.accumulo.start.Main$1.run(Main.java:89)
>     at java.lang.Thread.run(Unknown Source)
> Caused by: java.lang.RuntimeException: Accumulo not initialized, there is
> no instance id at /accumulo/instance_id
>     at
> org.apache.accumulo.core.client.ZooKeeperInstance.getInstanceIDFromHdfs(ZooKeeperInstance.java:263)
>     at
> org.apache.accumulo.core.util.shell.Shell.getDefaultInstance(Shell.java:375)
>     at org.apache.accumulo.core.util.shell.Shell.config(Shell.java:303)
>     at org.apache.accumulo.core.util.shell.Shell.main(Shell.java:384)
>     ... 6 more
>
> I have attached some config files. I'm not sure why accumulo-site.xml and
> accumulo-env.sh won;t attach, si I copied them here.I looked through the
> log files, but didn't see anything other than listed error.
>
> *accumulo-env.sh:*
> #! /usr/bin/env bash
>
> # Licensed to the Apache Software Foundation (ASF) under one or more
> # contributor license agreements.  See the NOTICE file distributed with
> # this work for additional information regarding copyright ownership.
> # The ASF licenses this file to You under the Apache License, Version 2.0
> # (the "License"); you may not use this file except in compliance with
> # the License.  You may obtain a copy of the License at
> #
> #     http://www.apache.org/licenses/LICENSE-2.0
> #
> # Unless required by applicable law or agreed to in writing, software
> # distributed under the License is distributed on an "AS IS" BASIS,
> # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
> # See the License for the specific language governing permissions and
> # limitations under the License.
>
> ###
> ### Configure these environment variables to point to your local
> installations.
> ###
> ### The functional tests require conditional values, so keep this style:
> ###
> ### test -z "$JAVA_HOME" && export JAVA_HOME=/usr/local/lib/jdk-1.6.0
> ###
> ###
> ### Note that the -Xmx -Xms settings below require substantial free
> memory:
> ### you may want to use smaller values, especially when running everything
> ### on a single machine.
> ###
>
> test -z "$ACCUMULO_HOME"         && export
> ACCUMULO_HOME=/usr/lib/accumulo-1.4.2
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB