HoustonPutman commented on pull request #783:
URL: https://github.com/apache/solr/pull/783#issuecomment-1084930252
Ok at this point I get past the loading errors, unsurprisingly. However I do
get this new error:
```
java.io.IOException: Failed to execute sqlQuery 'select id from test limit
10' against JDBC connection 'jdbc:calcitesolr:'.
Caused by: Error while executing SQL "select id from test limit 10": Unable
to instantiate java compiler
at
org.apache.solr.client.solrj.io.stream.JDBCStream.open(JDBCStream.java:333)
~[?:?]
at
org.apache.solr.client.solrj.io.stream.ExceptionStream.open(ExceptionStream.java:51)
~[?:?]
....
Caused by: java.sql.SQLException: Error while executing SQL "select id from
test limit 10": Unable to instantiate java compiler
at org.apache.calcite.avatica.Helper.createException(Helper.java:56)
~[?:?]
at org.apache.calcite.avatica.Helper.createException(Helper.java:41)
~[?:?]
at
org.apache.calcite.avatica.AvaticaStatement.executeInternal(AvaticaStatement.java:163)
~[?:?]
at
org.apache.calcite.avatica.AvaticaStatement.executeQuery(AvaticaStatement.java:227)
~[?:?]
at
org.apache.solr.client.solrj.io.stream.JDBCStream.open(JDBCStream.java:329)
~[?:?]
... 60 more
Caused by: java.lang.IllegalStateException: Unable to instantiate java
compiler
at
org.apache.calcite.rel.metadata.JaninoRelMetadataProvider.compile(JaninoRelMetadataProvider.java:429)
~[?:?]
at
org.apache.calcite.rel.metadata.JaninoRelMetadataProvider.load3(JaninoRelMetadataProvider.java:375)
~[?:?]
at
org.apache.calcite.rel.metadata.JaninoRelMetadataProvider.lambda$static$0(JaninoRelMetadataProvider.java:110)
~[?:?]
.....
Caused by: java.lang.ClassNotFoundException: No implementation of
org.codehaus.commons.compiler is on the class path. Typically, you'd have
'janino.jar', or 'commons-compiler-jdk.jar', or both on the classpath.
at
org.codehaus.commons.compiler.CompilerFactoryFactory.getDefaultCompilerFactory(CompilerFactoryFactory.java:65)
~[?:?]
at
org.apache.calcite.rel.metadata.JaninoRelMetadataProvider.compile(JaninoRelMetadataProvider.java:427)
~[?:?]
at
org.apache.calcite.rel.metadata.JaninoRelMetadataProvider.load3(JaninoRelMetadataProvider.java:375)
~[?:?]
at
org.apache.calcite.rel.metadata.JaninoRelMetadataProvider.lambda$static$0(JaninoRelMetadataProvider.java:110)
~[?:?]
```
Will keep debuging
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]