karthick-rn commented on issue #12: Update Accumulo version in Dockerfile & 
README.md
URL: https://github.com/apache/accumulo-docker/pull/12#issuecomment-611516281
 
 
   Looks like the order of the classpath is important here. When adding `ENV 
CLASSPATH /opt/zookeeper/lib/*` to Dockerfile, Accumulo positions the `ENV` 
directive first in the classpath like below. 
   <pre>
   
<b>/opt/zookeeper/lib/*</b>:/opt/accumulo/conf:/opt/accumulo/lib/*:/opt/hadoop/etc/hadoop:/opt/zookeeper/*:/opt/hadoop/share/hadoop/client/*
 </pre>
   This has resulted in the below exception when trying to run queries on 
ashell.
   `Exception in thread "shell" java.lang.NoSuchMethodError: 
org.apache.commons.cli.Options.hasShortOption(Ljava/lang/String;)Z` 
   
   To maintain the order of the classpath, we tried several options & this one 
with `sed` works and doesn't require the post-script. I have updated the PR 
with the new changes, please review and let me know your thoughts/suggestions. 
Thanks
   
   
   
    
   
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to