API Compatibility changes in 7.1.9.20100 for ZooKeeper

Removed or Modified APIs in Cloudera Runtime 7.1.9.20100 for ZooKeeper and recommendations for how to handle them.

Apache Version of ZooKeeper in 7.1.9.20000 (SP2) was 3.8.1 and Apache Version of ZooKeeper in 7.1.9.20100 (SP2 CHF 1) is 3.8.1

Removed APIs in 7.1.9.20100

The following ZooKeeper API endpoints have been removed or modified in Cloudera Runtime 7.1.9.20100 (SP2 CHF 1).

X509Util.createTrustManager

Method Removed

Package Name
org.apache.zookeeper.common
Effect
A client program may be interrupted by NoSuchMethodError exception.
Reason for change
ZOOKEEPER-4986: Disable reverse DNS lookup in TLS client and server
Recommendation
Recompile client code
Recompilation Required?
Yes

X509Util

Modified Type (High Risk)

Package Name
org.apache.zookeeper.common
Effect
Recompilation of a client program may be terminated with the message: a client class C is not abstract and does not override abstract method shouldAllowReverseDnsLookup() in org.apache.zookeeper.common.X509Util.
Reason for change
ZOOKEEPER-4986: Disable reverse DNS lookup in TLS client and server
Recommendation
Recompile client code
Recompilation Required?
Yes