[
https://issues.apache.org/jira/browse/SOLR-10302?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ishan Chattopadhyaya closed SOLR-10302.
---------------------------------------
Resolution: Fixed
Assignee: Ishan Chattopadhyaya
Fix Version/s: master (7.0)
6.5
bq. Maybe, we need a similar fix for the windows file ?
Indeed, committed (but not tested) a fix for the windows script as well.
Thanks for reporting.
> Solr zkcli script failing with 'ClassNotFound' in 6.4.2
> -------------------------------------------------------
>
> Key: SOLR-10302
> URL: https://issues.apache.org/jira/browse/SOLR-10302
> Project: Solr
> Issue Type: Bug
> Security Level: Public(Default Security Level. Issues are Public)
> Components: scripts and tools
> Affects Versions: 6.4.2
> Reporter: kiran
> Assignee: Ishan Chattopadhyaya
> Priority: Minor
> Fix For: 6.5, master (7.0)
>
> Attachments: SOLR-10302.patch
>
>
> Solr's zkcli script failing with 'ClassNotFound' error
> {code}
> /opt/solr-dists/solr-6.4.2/server/scripts/cloud-scripts/zkcli.sh -zkhost
> localhost:9983/test -cmd bootstrap -solrhome
> /opt/solr-dists/solr-6.4.2/server/solr
> Exception in thread "main" java.lang.NoClassDefFoundError:
> com/codahale/metrics/Metric
> at org.apache.solr.cloud.ZkCLI.main(ZkCLI.java:199)
> Caused by: java.lang.ClassNotFoundException: com.codahale.metrics.Metric
> at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
> ... 1 more
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]