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

Switch to Threaded View
Accumulo >> mail # dev >> MapReduceExample When Executed Displays Usage And Error Message

Copy link to this message
Re: MapReduceExample When Executed Displays Usage And Error Message
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",
    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.

On Wed, Feb 13, 2013 at 5:26 PM, David Medinets
> 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.