keith-turner commented on issue #7:
URL: https://github.com/apache/accumulo-proxy/issues/7#issuecomment-1309442215

   > Edit: I see that the plugin does allow for version 2.1
   
   Working with the accumulo-maven-plugin has taught me a lot about Maven.  
Each plugin has its own classpath independent of the projects classpath.  So, 
the accumulo-maven plugin will do the following.
   
    * By default it will execute with Accumulo 2.0 and its deps because that is 
what it was built with.  To counteract this need to set dependencies on the 
plugin to newer Accumulo, ZK, and Hadoop versions.  The Accumulo maven plugin 
calls mini accumulo code and the version of mini accumulo used depends on the 
plugin classpath.
    * The mini accumulo code will launch java processes with the classpath of 
your maven project, not the plugins classpath.  That happens 
[here](https://github.com/apache/accumulo-maven-plugin/blob/e30cb05f9700dbe08cef7873a436a9fa39757732/src/main/java/org/apache/accumulo/maven/plugin/AbstractAccumuloMojo.java#L48)
 and 
[here](https://github.com/apache/accumulo-maven-plugin/blob/e30cb05f9700dbe08cef7873a436a9fa39757732/src/main/java/org/apache/accumulo/maven/plugin/StartMojo.java#L126).
 So its important that your project classpath and the plugin deps agree on the 
versions of Accumulo, Hadoop, ZK.  


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to