You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "David Medinets (JIRA)" <ji...@apache.org> on 2013/05/27 02:15:19 UTC

[jira] [Created] (ACCUMULO-1466) ArrayIndexOutOfBoundsException Running on Amazon EMR

David Medinets created ACCUMULO-1466:
----------------------------------------

             Summary: ArrayIndexOutOfBoundsException Running on Amazon EMR
                 Key: ACCUMULO-1466
                 URL: https://issues.apache.org/jira/browse/ACCUMULO-1466
             Project: Accumulo
          Issue Type: Bug
    Affects Versions: 1.5.0, 1.4.3
         Environment: Start an EMR hadoop cluster. SSH to the master node. Then do this:

hadoop fs -copyToLocal s3://accumulo.affy.com.one.four.three/accumulo-1.5.0-bin.tar.gz .
tar -xzf accumulo-1.5.0-bin.tar.gz
rm accumulo-1.5.0-bin.tar.gz
cp accumulo-1.5.0/conf/examples/1GB/standalone/* accumulo-1.5.0/conf
sed -i "s/<value>localhost:2181<\/value>/<value>${JOBTRACKER_IP}:2181<\/value>/" accumulo-1.5.0/conf/accumulo-site.xml
cat >> accumulo-1.5.0/conf/accumulo-env.sh  << EOF
export ACCUMULO_HOME=/home/hadoop/accumulo-1.5.0
export HADOOP_HOME=/home/hadoop
export ACCUMULO_LOG_DIR=/mnt/var/log/hadoop
export ZOOKEEPER_HOME=/home/hadoop/zookeeper-3.4.3
export JAVA_HOME=/usr/lib/jvm/java-6-sun
EOF
accumulo-1.5.0/bin/accumulo init --clear-instance-name --instance-name instance --password secret --username root
hostname > accumulo-1.5.0/conf/masters
echo 'x' > accumulo-1.5.0/conf/slaves
accumulo-1.5.0/bin/start-here.sh

The log files will show up in /mnt/var/log/hadoop.
            Reporter: David Medinets
            Priority: Minor


I assume the following issue is specific to the Amazon EMR environment. Any ideas how to resolve this?

2013-05-27 00:04:43,563 [metrics.MetricsSaver] INFO : add metric {}
java.lang.ArrayIndexOutOfBoundsException: -1
        at amazon.emr.metrics.MetricsUtil.getProcessMainClassName(Unknown Source)
        at amazon.emr.metrics.MetricsSaver.<init>(Unknown Source)
        at amazon.emr.metrics.MetricsSaver.ensureSingleton(Unknown Source)
        at amazon.emr.metrics.MetricsSaver.addInternal(Unknown Source)
        at amazon.emr.metrics.MetricsSaver.addValue(Unknown Source)
        at org.apache.hadoop.ipc.RPC$Invoker.invoke(RPC.java:230)
        at $Proxy1.setSafeMode(Unknown Source)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.hadoop.io.retry.RetryInvocationHandler.invokeMethod(RetryInvocationHandler.java:83)
        at org.apache.hadoop.io.retry.RetryInvocationHandler.invoke(RetryInvocationHandler.java:59)
        at $Proxy1.setSafeMode(Unknown Source)
        at org.apache.hadoop.hdfs.DFSClient.setSafeMode(DFSClient.java:1212)
        at org.apache.hadoop.hdfs.DistributedFileSystem.setSafeMode(DistributedFileSystem.java:423)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.accumulo.server.Accumulo.isInSafeMode(Accumulo.java:243)
        at org.apache.accumulo.server.Accumulo.waitForZookeeperAndHdfs(Accumulo.java:202)
        at org.apache.accumulo.server.Accumulo.init(Accumulo.java:119)
        at org.apache.accumulo.server.tabletserver.TabletServer.main(TabletServer.java:3230)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.accumulo.start.Main$1.run(Main.java:101)
        at java.lang.Thread.run(Thread.java:662)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira