Open xuyang2 opened 8 years ago
Good point. We use appassembler to auto-generate our start scripts. We can probably create a big jar and use that to launch commands. Let me know if you can submit a patch
Actually appassembler has the option to use wild card. We can configure this plugin to set useWildcardClassPath=true http://www.mojohaus.org/appassembler/appassembler-maven-plugin/assemble-mojo.html
Mind giving it a try and see if it works for you?
@kishoreg Thanks for reply
Found two dependency conflicts when using flat repo.
// same filename: org.restlet-2.2.1.jar
pinot-controller -> org.restlet.jse:org.restlet:2.2.1
pinot-controller -> org.restlet.jee:org.restlet.ext.jackson -> org.restlet.jee:org.restlet:2.2.1
// api not compatible
pinot-common -> org.apache.kafka:kafka_2.10:0.8.2.0 -> com.101tec:zkclient:0.3
pinot-common -> org.apache.helix:helix-core:0.6.5 -> com.github.sgroschupf:zkclient:0.1
I think the first one is easy to fix. Just remove org.restlet.jse:org.restlet:2.2.1 from pinot-controller's dependencies. Don't know how to deal with the zkclient conflict.
Using0.3 should be fine On Jan 3, 2016 7:26 PM, "xuyang2" notifications@github.com wrote:
@kishoreg https://github.com/kishoreg Thanks for reply
Found two dependency conflicts when using flat repo.
// same filename: org.restlet-2.2.1.jar pinot-controller -> org.restlet.jse:org.restlet:2.2.1 pinot-controller -> org.restlet.jee:org.restlet.ext.jackson -> org.restlet.jee:org.restlet:2.2.1
// api not compatible pinot-common -> org.apache.kafka:kafka_2.10:0.8.2.0 -> com.101tec:zkclient:0.3 pinot-common -> org.apache.helix:helix-core:0.6.5 -> com.github.sgroschupf:zkclient:0.1
I think the first one is easy to fix. Just remove org.restlet.jse:org.restlet:2.2.1 from pinot-controller's dependencies. Not sure how to deal with the zkclient conflict.
— Reply to this email directly or view it on GitHub https://github.com/linkedin/pinot/issues/75#issuecomment-168571793.
ps aux | grep java
Process cmdline is truncated, which is inconvenient for admin scripts. Would you please set classpath in manifest file, or use classpath wildcards?