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
Copy link to this message
-
Re: importdirectory in accumulo
What user are you running the commands as ?
On Thu, Apr 4, 2013 at 9:59 AM, Aji Janis <[EMAIL PROTECTED]> wrote:

> Where did you put all your java files?
>
>
> On Thu, Apr 4, 2013 at 9:55 AM, Eric Newton <[EMAIL PROTECTED]> wrote:
>
>> I was able to run the example, as written in
>> docs/examples/README.bulkIngest substituting my
>> instance/zookeeper/user/password information:
>>
>> $ pwd
>> /home/ecn/workspace/1.4.3
>> $ ls
>> bin      conf     docs  LICENSE  NOTICE   README  src     test
>> CHANGES  contrib  lib   logs     pom.xml  target  walogs
>>
>> $ ./bin/accumulo
>> org.apache.accumulo.examples.simple.mapreduce.bulk.SetupTable test
>> localhost root secret test_bulk row_00000333 row_00000666
>>
>> $ ./bin/accumulo
>> org.apache.accumulo.examples.simple.mapreduce.bulk.GenerateTestData 0 1000
>> bulk/test_1.txt
>>
>> $ ./bin/tool.sh lib/examples-simple-*[^cs].jar
>> org.apache.accumulo.examples.simple.mapreduce.bulk.BulkIngestExample test
>> localhost root secret test_bulk bulk tmp/bulkWork
>>
>> $./bin/accumulo
>> org.apache.accumulo.examples.simple.mapreduce.bulk.VerifyIngest test
>> localhost root secret test_bulk 0 1000
>>
>> -Eric
>>
>>
>>
>> On Thu, Apr 4, 2013 at 9:33 AM, Aji Janis <[EMAIL PROTECTED]> wrote:
>>
>>> I am not sure its just a regular expression issue. Below is my console
>>> output. Not sure why this ClassDefFoundError occurs. Has anyone tried to do
>>> it successfully? Can you please tell me your env set up if you did.
>>>
>>>
>>> [user@mynode bulk]$ pwd
>>> /home/user/bulk
>>> [user@mynode bulk]$ ls
>>> BulkIngestExample.java  GenerateTestData.java  SetupTable.java
>>>  test_1.txt  VerifyIngest.java
>>> [user@mynode bulk]$
>>> *[user@mynode bulk]$ /opt/accumulo/bin/tool.sh
>>> /opt/accumulo/lib/examples-simple-1.4.2.jar
>>> org.apache.accumulo.examples.simple.mapreduce.bulk.BulkIngestExample
>>> myinstance zookeepers user pswd tableName inputDir tmp/bulkWork*
>>> Exception in thread "main" java.lang.NoClassDefFoundError:
>>> org/apache/accumulo/core/client/Instance
>>>         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)
>>> Caused by: java.lang.ClassNotFoundException:
>>> org.apache.accumulo.core.client.Instance
>>>         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)
>>>         ... 3 more
>>> *[user@mynode bulk]$ /opt/accumulo/bin/tool.sh
>>> /opt/accumulo/lib/examples-simple-*[^cs].jar
>>> org.apache.accumulo.examples.simple.mapreduce.bulk.BulkIngestExample
>>> myinstance zookeepers user pswd tableName inputDir tmp/bulkWork*
>>> Exception in thread "main" java.lang.NoClassDefFoundError:
>>> org/apache/accumulo/core/client/Instance
>>>         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)
>>> Caused by: java.lang.ClassNotFoundException:
>>> org.apache.accumulo.core.client.Instance
>>>         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)
>>>         ... 3 more
>>> *[user@mynode bulk]$ /opt/accumulo/bin/tool.sh
>>> /opt/accumulo/lib/examples-simple-*[^c].jar
>>> org.apache.accumulo.examples.simple.mapreduce.bulk.BulkIngestExample
>
+
John Vines 2013-04-04, 14:18
+
Aji Janis 2013-04-04, 14:46
+
Billie Rinaldi 2013-04-04, 15:55
+
Aji Janis 2013-04-04, 17:27
+
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