jduo commented on issue #347:
URL: https://github.com/apache/arrow-cookbook/issues/347#issuecomment-2049622165
@amoeba , I was able to make this work by making some changes to the POM.
This seems like the wrong way to resolve the issue though -- we seem to have
some problems getting transitive dependencies.
- I changed the importing of flight-core to use the "shaded" classifier
instead of the default.
- I also needed to add the following dependencies explicitly:
```
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-codec-http2</artifactId>
<version>4.1.108.Final</version>
</dependency>
<dependency>
<groupId>io.perfmark</groupId>
<artifactId>perfmark-api</artifactId>
<version>0.26.0</version>
</dependency>
```
These are both from grpc-java.
- Finally this wasn't necessary but probably should be done -- I changed the
jshell command to match what's mentioned in install.rst for the Arrow project:
```
"-R--add-reads=org.apache.arrow.flight.core=ALL-UNNAMED",
"-R--add-opens=java.base/java.nio=org.apache.arrow.memory.core,ALL-UNNAMED"
```
@lidavidm , do you know if the flight-core artifact is supposed to be the
shaded classifier by default? And any ideas why we might not be inheriting
transitive dependencies anymore?
--
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]