Hello,

We are currently using accumulo 2.0.1.

We are in the process of upgrading our source code to use jdk 17 however we
are running into some problems with our tests and the MiniAccumuloCluster.

One of our developer encountered the following issues:

   1. The MiniAccumumluoClusterImpl._exec is hardcoded with the JVM arg
   -XX:+IUseConcMarkSweepGC, which is no longer tolerated with JDK17.
   2. In Zookeeper 3.4.14, ConetStringParser uses createUnresolved to
   make IPAddresses.  SaslServerPrincipal.WrapperInetSocketAddress.getAddress
   uses InetSocketAddess.getAddress, which returns null because it's not
   resolved, resulting in a failure to connect to the newly-started zookeeper.
   3. StaticHostProvider.getHostString() tries to extract he hostname by
   calling toString on the address and taking everything before the colon, but
   in JDK17, the string format changed to "localhost/<unresolved->:xx" (where
   XX is still the port number).  That's incorrect and it can't resolve the
   names.


Has anyone come across/resolved these kinds of issues?  Is it not possible
to use java17 from a client perspective?  Will upgrading to accumulo 2.1
help?

Thanks,
Vincent

Reply via email to