Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
Accumulo >> mail # user >> importdirectory in accumulo


+
Aji Janis 2013-04-03, 18:04
+
Aji Janis 2013-04-03, 18:15
+
John Vines 2013-04-03, 18:17
+
Eric Newton 2013-04-03, 18:19
+
Aji Janis 2013-04-03, 18:29
+
Eric Newton 2013-04-03, 18:36
+
Aji Janis 2013-04-03, 20:11
+
Christopher 2013-04-03, 20:16
+
Billie Rinaldi 2013-04-03, 20:57
+
Aji Janis 2013-04-04, 13:33
+
Eric Newton 2013-04-04, 13:55
+
Aji Janis 2013-04-04, 13:59
+
Aji Janis 2013-04-04, 14:14
+
John Vines 2013-04-04, 14:18
+
Aji Janis 2013-04-04, 14:46
+
Billie Rinaldi 2013-04-04, 15:55
Copy link to this message
-
Re: importdirectory in accumulo
I thought about the permissions issue too. All the accumulo stuff is under
accumulo user so I started running the commands as accumulo ... only to get
the same result.
-The errors happen right away
-the box has both accumulo and hadoop on it
-the jar contains the instance class. But note that the instance class is
part of accumulo-core and not examples-simple-1.4.2.jar .... (can this be
the issue?)

Commands I ran:

*[accumulo@node accumulo]$ whoami*
accumulo
*[accumulo@node accumulo]$ ls -l*
total 184
drwxr-xr-x 2 accumulo accumulo  4096 Apr  4 10:25 bin
-rwxr-xr-x 1 accumulo accumulo 24263 Oct 22 15:30 CHANGES
drwxr-xr-x 3 accumulo accumulo  4096 Apr  3 10:17 conf
drwxr-xr-x 2 accumulo accumulo  4096 Jan 15 13:35 contrib
-rwxr-xr-x 1 accumulo accumulo   695 Nov 18  2011 DISCLAIMER
drwxr-xr-x 5 accumulo accumulo  4096 Jan 15 13:35 docs
drwxr-xr-x 4 accumulo accumulo  4096 Jan 15 13:35 lib
-rwxr-xr-x 1 accumulo accumulo 56494 Mar 21  2012 LICENSE
drwxr-xr-x 2 accumulo accumulo 12288 Apr  3 14:43 logs
-rwxr-xr-x 1 accumulo accumulo  2085 Mar 21  2012 NOTICE
-rwxr-xr-x 1 accumulo accumulo 27814 Oct 17 08:32 pom.xml
-rwxr-xr-x 1 accumulo accumulo 12449 Oct 17 08:32 README
drwxr-xr-x 9 accumulo accumulo  4096 Nov  8 13:40 src
drwxr-xr-x 5 accumulo accumulo  4096 Nov  8 13:40 test
drwxr-xr-x 2 accumulo accumulo  4096 Apr  4 09:09 walogs
*[accumulo@node accumulo]$ ls bin/*
accumulo           check-slaves  etc_initd_accumulo  start-all.sh
start-server.sh  stop-here.sh    tdown.sh  tup.sh
catapultsetup.acc  config.sh     LogForwarder.sh     start-here.sh
 stop-all.sh      stop-server.sh  tool.sh   upgrade.sh
*[accumulo@node accumulo]$ ls lib/*
accumulo-core-1.4.2.jar            accumulo-start-1.4.2.jar
 commons-collections-3.2.jar    commons-logging-1.0.4.jar
 jline-0.9.94.jar
accumulo-core-1.4.2-javadoc.jar    accumulo-start-1.4.2-javadoc.jar
 commons-configuration-1.5.jar  commons-logging-api-1.0.4.jar
 libthrift-0.6.1.jar
accumulo-core-1.4.2-sources.jar    accumulo-start-1.4.2-sources.jar
 commons-io-1.4.jar             examples-simple-1.4.2.jar
 log4j-1.2.16.jar
accumulo-server-1.4.2.jar          cloudtrace-1.4.2.jar
 commons-jci-core-1.0.jar       examples-simple-1.4.2-javadoc.jar  native
accumulo-server-1.4.2-javadoc.jar  cloudtrace-1.4.2-javadoc.jar
 commons-jci-fam-1.0.jar        examples-simple-1.4.2-sources.jar
 wikisearch-ingest-1.4.2-javadoc.jar
accumulo-server-1.4.2-sources.jar  cloudtrace-1.4.2-sources.jar
 commons-lang-2.4.jar           ext
 wikisearch-query-1.4.2-javadoc.jar

*[accumulo@node accumulo]$ jar -tf
/opt/accumulo/lib/accumulo-core-1.4.2.jar | grep
org/apache/accumulo/core/client/Instance*
org/apache/accumulo/core/client/Instance.class

*[accumulo@node accumulo]$ jar -tf
/opt/accumulo/lib/examples-simple-1.4.2.jar | grep
org/apache/accumulo/core/client/Instance*
*
*
*[accumulo@node accumulo]$ ./bin/tool.sh lib/*[^cs].jar
org.apache.accumulo.examples.simple.mapreduce.bulk.BulkIngestExample
myinstance zookeepers user pswd tableName inputDir tmp/bulkWork*
USERJARSCLASSNAME=lib/accumulo-server-1.4.2.jar
HADOOP_CLASSPATH=/opt/accumulo/lib/libthrift-0.6.1.jar:/opt/accumulo/lib/accumulo-core-1.4.2.jar:/opt/zookeeper/zookeeper-3.3.3.jar:/opt/accumulo/lib/cloudtrace-1.4.2.jar:/opt/accumulo/lib/commons-collections-3.2.jar:/opt/accumulo/lib/commons-configuration-1.5.jar:/opt/accumulo/lib/commons-io-1.4.jar:/opt/accumulo/lib/commons-jci-core-1.0.jar:/opt/accumulo/lib/commons-jci-fam-1.0.jar:/opt/accumulo/lib/commons-lang-2.4.jar:/opt/accumulo/lib/commons-logging-1.0.4.jar:/opt/accumulo/lib/commons-logging-api-1.0.4.jar:
exec /opt/hadoop/bin/hadoop jar lib/accumulo-core-1.4.2.jar
lib/accumulo-server-1.4.2.jar -libjars
"/opt/accumulo/lib/libthrift-0.6.1.jar,/opt/accumulo/lib/accumulo-core-1.4.2.jar,/opt/zookeeper/zookeeper-3.3.3.jar,/opt/accumulo/lib/cloudtrace-1.4.2.jar,/opt/accumulo/lib/commons-collections-3.2.jar,/opt/accumulo/lib/commons-configuration-1.5.jar,/opt/accumulo/lib/commons-io-1.4.jar,/opt/accumulo/lib/commons-jci-core-1.0.jar,/opt/accumulo/lib/commons-jci-fam-1.0.jar,/opt/accumulo/lib/commons-lang-2.4.jar,/opt/accumulo/lib/commons-logging-1.0.4.jar,/opt/accumulo/lib/commons-logging-api-1.0.4.jar"
Exception in thread "main" java.lang.ClassNotFoundException:
lib.accumulo-server-1.4.2.jar
        at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:264)
        at org.apache.hadoop.util.RunJar.main(RunJar.java:149)

*[accumulo@node accumulo]$ ./bin/tool.sh lib/*.jar
org.apache.accumulo.examples.simple.mapreduce.bulk.BulkIngestExample
myinstance zookeepers user pswd tableName inputDir tmp/bulkWork*
USERJARSCLASSNAME=lib/accumulo-core-1.4.2-javadoc.jar
HADOOP_CLASSPATH=/opt/accumulo/lib/libthrift-0.6.1.jar:/opt/accumulo/lib/accumulo-core-1.4.2.jar:/opt/zookeeper/zookeeper-3.3.3.jar:/opt/accumulo/lib/cloudtrace-1.4.2.jar:/opt/accumulo/lib/commons-collections-3.2.jar:/opt/accumulo/lib/commons-configuration-1.5.jar:/opt/accumulo/lib/commons-io-1.4.jar:/opt/accumulo/lib/commons-jci-core-1.0.jar:/opt/accumulo/lib/commons-jci-fam-1.0.jar:/opt/accumulo/lib/commons-lang-2.4.jar:/opt/accumulo/lib/commons-logging-1.0.4.jar:/opt/accumulo/lib/commons-logging-api-1.0.4.jar:
exec /opt/hadoop/bin/hadoop jar lib/accumulo-core-1.4.2.jar
lib/accumulo-core-1.4.2-javadoc.jar -libjars
"/opt/accumulo/lib/libthrift-0.6.1.jar,/opt/accumulo/lib/accumulo-core-1.4.2.jar,/opt/zookeeper/zookeeper-3.3.3.jar,/opt/accumulo/lib/cloudtrace-1.4.2.jar,/opt/accumulo/lib/commons-collections-3.2.jar,/opt/accumulo/lib/commons-configuration-1.5.jar,/opt/accumulo/lib/commons-io-1.4.ja
+
Billie Rinaldi 2013-04-04, 18:25
+
Aji Janis 2013-04-04, 18:41
+
Aji Janis 2013-04-04, 18:49
+
Billie Rinaldi 2013-04-04, 18:51
+
Aji Janis 2013-04-04, 19:26
+
Billie Rinaldi 2013-04-04, 19:51
+
Aji Janis 2013-04-05, 15:36
+
David Medinets 2013-04-05, 22:01
+
Keith Turner 2013-04-08, 18:14
+
David Medinets 2013-04-08, 19:03
+
Billie Rinaldi 2013-04-05, 20:06
+
Billie Rinaldi 2013-04-04, 14:09
+
Aji Janis 2013-04-03, 20:23