accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pete Carlson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACCUMULO-911) Get ClassNotFoundException when running Accumulo 1.4.0 Bulk Ingest Example
Date Mon, 17 Dec 2012 19:28:12 GMT

    [ https://issues.apache.org/jira/browse/ACCUMULO-911?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13534201#comment-13534201
] 

Pete Carlson commented on ACCUMULO-911:
---------------------------------------

But then when I try to run the command to actually ingest the 1000 rows of data into accumulo
I get a ClassNotFoundException (again I obscured my password as **** :-) ):

{noformat}
[root@ip-10-151-7-8 accumulo-1.4.0]# ./bin/tool.sh lib/examples-simple-*[^c].jar org.apache.accumulo.examples.simple.mapreduce.bulk.BulkIngestExample
cybersa zookeeper1 root **** test_bulk bulk tmp/bulkWork
Exception in thread "main" java.lang.ClassNotFoundException: lib.examples-simple-1.4.0-sources.jar
        at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
        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)
[root@ip-10-151-7-8 accumulo-1.4.0]#
{noformat}

Yet if I look in the /opt/accumulo-1.4.0/lib directory I see the examples-simple-1.4.0-sources.jar

{noformat}
[root@ip-10-151-7-8 accumulo-1.4.0]# cd lib
[root@ip-10-151-7-8 lib]# ll
total 19332
-rw-r-xr-x. 1 1000 1000 2901405 Mar 26  2012 accumulo-core-1.4.0.jar
-rw-r-xr-x. 1 1000 1000 6479410 Mar 26  2012 accumulo-core-1.4.0-javadoc.jar
-rw-r-xr-x. 1 1000 1000 1018249 Mar 26  2012 accumulo-core-1.4.0-sources.jar
-rw-r-xr-x. 1 1000 1000 1822292 Mar 26  2012 accumulo-server-1.4.0.jar
-rw-r-xr-x. 1 1000 1000 2586973 Mar 26  2012 accumulo-server-1.4.0-javadoc.jar
-rw-r-xr-x. 1 1000 1000 1027817 Mar 26  2012 accumulo-server-1.4.0-sources.jar
-rw-r-xr-x. 1 1000 1000   24416 Mar 26  2012 accumulo-start-1.4.0.jar
-rw-r-xr-x. 1 1000 1000   54229 Mar 26  2012 accumulo-start-1.4.0-javadoc.jar
-rw-r-xr-x. 1 1000 1000   15583 Mar 26  2012 accumulo-start-1.4.0-sources.jar
-rw-r-xr-x. 1 1000 1000   97979 Mar 26  2012 cloudtrace-1.4.0.jar
-rw-r-xr-x. 1 1000 1000  315869 Mar 26  2012 cloudtrace-1.4.0-javadoc.jar
-rw-r-xr-x. 1 1000 1000   45517 Mar 26  2012 cloudtrace-1.4.0-sources.jar
-rw-r-xr-x. 1 1000 1000  571259 Mar 26  2012 commons-collections-3.2.jar
-rw-r-xr-x. 1 1000 1000  271849 Mar 26  2012 commons-configuration-1.5.jar
-rw-r-xr-x. 1 1000 1000  109043 Mar 26  2012 commons-io-1.4.jar
-rw-r-xr-x. 1 1000 1000   32094 Mar 26  2012 commons-jci-core-1.0.jar
-rw-r-xr-x. 1 1000 1000   20262 Mar 26  2012 commons-jci-fam-1.0.jar
-rw-r-xr-x. 1 1000 1000  261809 Mar 26  2012 commons-lang-2.4.jar
-rw-r-xr-x. 1 1000 1000   38015 Mar 26  2012 commons-logging-1.0.4.jar
-rw-r-xr-x. 1 1000 1000   26202 Mar 26  2012 commons-logging-api-1.0.4.jar
-rw-r-xr-x. 1 1000 1000  136779 Mar 26  2012 examples-simple-1.4.0.jar
-rw-r-xr-x. 1 1000 1000  337289 Mar 26  2012 examples-simple-1.4.0-javadoc.jar
-rw-r-xr-x. 1 1000 1000   85774 Mar 26  2012 examples-simple-1.4.0-sources.jar
drw-r-xr-x. 2 1000 1000    4096 Mar 26  2012 ext
-rw-r-xr-x. 1 1000 1000   87325 Mar 26  2012 jline-0.9.94.jar
-rw-r-xr-x. 1 1000 1000  295922 Mar 26  2012 libthrift-0.6.1.jar
-rw-r-xr-x. 1 1000 1000  481535 Mar 26  2012 log4j-1.2.16.jar
drw-r-xr-x. 4 1000 1000    4096 Mar 26  2012 native
-rw-r-xr-x. 1 1000 1000  244243 Mar 26  2012 wikisearch-ingest-1.4.0-javadoc.jar
-rw-r-xr-x. 1 1000 1000  351677 Mar 26  2012 wikisearch-query-1.4.0-javadoc.jar
[root@ip-10-151-7-8 lib]#
{noformat}

Originally the permissions were 644 which I thought was causing the issue.  But even when
I changed the permissions to 655 as shown above there is no change.  Has anyone else seen
this problem?
                
> Get ClassNotFoundException when running Accumulo 1.4.0 Bulk Ingest Example
> --------------------------------------------------------------------------
>
>                 Key: ACCUMULO-911
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-911
>             Project: Accumulo
>          Issue Type: Bug
>            Reporter: Pete Carlson
>
> Trying to follow the steps in the README.bulkIngest for Accumulo 1.4.0 but get a ClassNotFound
Exception.  Has anyone else seen this?

--
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

Mime
View raw message