accumulo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Josh Elser <>
Subject Re: JniBasedUnixGroupsMapping.anchorNative()V Error when initializing MiniAccumuloCluster
Date Mon, 15 Jun 2015 20:44:34 GMT
I had suggested that you rebuild Accumulo, not your project. Unless you 
have an "assemble" profile in your project, of course you would see an 
error that the profile doesn't exist :). Rebuilding your local project 
does not build all of your dependencies.

bq. The root cause of the problem is UnsatisfiedLinkError for 
What hadoop shared library proved the implementation for that? Also, I 
though the native libs in hadoop were optional?

Hadoop noticed that the native libraries were available which is why it 
tried to invoke them. Looking at 2.7.1-SNAPSHOT code, the line numbers 
matched up with what the stacktrace showed.

You said earlier that this was in a "Hadoop job test file". What does 
that mean? That's what I was asking previously about how you are running 
this. I assumed you meant a mapreduce job or similar, but below it looks 
like you're just running the program by hand (or via an IDE). Does your 
maven project use the same version of Hadoop that you have installed on 
your nodes (1.2.2) -- see `mvn dependency:tree`?

Jeff N wrote:
> I'm using whichever one Maven pulls when you include Accumulo 1.6.0 as a
> dependency. Yeah, unfortunately it just says
> "[WARNING] The requested profile "assemble" could not be activated because
> it does not exist."
> And then when I try to start the MiniAccumuloCluster it gives me this:
> java.lang.reflect.InvocationTargetException
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at
> sun.reflect.NativeMethodAccessorImpl.invoke(
> 	at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(
> 	at java.lang.reflect.Method.invoke(
> 	at org.codehaus.mojo.exec.ExecJavaMojo$
> 	at
> Caused by: java.lang.RuntimeException: Initialize process returned 1. Check
> the logs in /tmp/AccumuloMiniCluster(1434399112262)7316723201967391324/logs
> for errors.
> 	at
> org.apache.accumulo.minicluster.impl.MiniAccumuloClusterImpl.start(
> 	at
> org.apache.accumulo.minicluster.MiniAccumuloCluster.start(
> 	at
> ICASA.DAVE.Cloud.Store.AccumuloTestConnection.<init>(
> 	at
> ICASA.DAVE.Cloud.Store.AccumuloTestConnection.getInstance(
> 	at
> ICASA.DAVE.Cloud.Store.AccumuloStore$AccumuloRowIterable.iterator(
> 	at
> 	at
> 	at
> ICASA.DAVE.Local.LocalResults.loadOperationResults(
> 	at
> ICASA.DAVE.Local.LocalResults.getOutputsForOperation(
> 	at ICASA.DAVE.Core.Project.buildInputs(
> 	at
> ICASA.DAVE.Local.Evaluator.LocalEvaluator.submit(
> 	at ICASA.DAVE.Core.Project.scheduleOperationForEvaluation(
> 	at ICASA.DAVE.TestingHadoop.main(
> 	... 6 more
> I have a 4 node cluster and all the's seem to be the same on
> all machines. If there is anything else I can provide please let me know.
> -----
> --
> View this message in context:
> Sent from the Developers mailing list archive at

View raw message