accumulo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Keith Turner <ke...@deenlo.com>
Subject Re: MapReduceExample When Executed Displays Usage And Error Message
Date Wed, 13 Feb 2013 23:16:58 GMT
On Wed, Feb 13, 2013 at 5:51 PM, David Medinets
<david.medinets@gmail.com> wrote:
> I add the VFS2 jar to my classpath. Now this message is displaying:
>
> Exception in thread "main" java.lang.RuntimeException: Initialize
> process returned 1
>         at org.apache.accumulo.test.MiniAccumuloCluster.start(MiniAccumuloCluster.java:326)
>         at com.codebits.accumulo.MapReduceExample.main(MapReduceExample.java:55)
>
> The code that generates this message is
>
>     Process initProcess = exec(Initialize.class, "--instance-name",
> INSTANCE_NAME, "--password", config.getRootPassword(), "--username",
> "root");
>     int ret = initProcess.waitFor();
>     if (ret != 0) {
>       throw new RuntimeException("Initialize process returned " + ret);
>     }
>
> There are no log files in the /tmp directory. Not sure what to do from
> here. I will look at the Initialize class for clues.

Look in whatever directory you passed to the MiniAccumuloCluster constructor.

>
> On Wed, Feb 13, 2013 at 5:26 PM, David Medinets
> <david.medinets@gmail.com> wrote:
>> I am still seeing the Connection Refused message. However, inside the
>> error logs I see NoClassDefFoundError:
>> org/apache/commons/vfs2/FileSystemManager. I will start adding jars to
>> my classpath until I get a harder error to resolve :)  Will report my
>> results later.

Mime
View raw message