amoeba opened a new issue, #347:
URL: https://github.com/apache/arrow-cookbook/issues/347

   When I run `make javatest` from the latest main with `ARROW_NIGHTLY=1`, the 
Flight cookbook fails with,
   
   ```
   Running with Arrow version: 16.0.0-SNAPSHOT
   ...snip...
   Exception java.lang.NoClassDefFoundError: io/grpc/BindableService
         at FlightServer.builder (FlightServer.java:169)
         at (#39:4)
   Caused by: java.lang.ClassNotFoundException: io.grpc.BindableService
         at BuiltinClassLoader.loadClass (BuiltinClassLoader.java:641)
         at ClassLoaders$AppClassLoader.loadClass (ClassLoaders.java:188)
         at ClassLoader.loadClass (ClassLoader.java:525)
         ...
   ```
   
   I'm not sure what might be causing this but I wonder if it's related to the 
recent JPMS changes. @jduo do you have any ideas? In case you're not familiar 
with how the Java cookbooks run, they essentially,
   
   1. Generate a classpath using a stub pom.xml in 
https://github.com/apache/arrow-cookbook/blob/main/java/source/demo/pom.xml and 
by calling maven,
       
https://github.com/apache/arrow-cookbook/blob/83aff2d04e3ef4f70895475e52e01d1c974e793c/java/ext/javadoctest.py#L53-L58
   2. Runs each code snippet with jshell using the above classpath via 
https://github.com/apache/arrow-cookbook/blob/83aff2d04e3ef4f70895475e52e01d1c974e793c/java/ext/javadoctest.py#L80


-- 
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