API Compatibility changes in 7.1.9.20700 for ZooKeeper

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

Apache Version of ZooKeeper in 7.1.9.20600 and 7.1.9.20700 is 3.8.1.

Removed APIs in 7.1.9.20700

The following ZooKeeper API endpoints have been removed from Cloudera Runtime 7.1.9.20700.

Login.'<init>'

Method Removed

Package Name
org.apache.zookeeper
Effect
A client program may be interrupted by NoSuchMethodError exception.
Reason for change
ZOOKEEPER-4839 (CDPD-125142)
Recommendation
Recompile client application. Note: Only affects code that directly uses org.apache.zookeeper.Login internals.
Recompilation Required?
Yes

Modified APIs in 7.1.9.20700

The following ZooKeeper APIs have been modified in Cloudera Runtime 7.1.9.20700.

Login

Field callbackHandler of type javax.security.auth.callback.CallbackHandler has been removed from this class.

Package Name
org.apache.zookeeper
Effect
  • Recompilation of a client program may be terminated with the message: cannot find variable callbackHandler in org.apache.zookeeper.Login.
  • A client program may be interrupted by NoSuchFieldError exception.
Reason for change
ZOOKEEPER-4839 (CDPD-125142)
Recommendation
Recompile client application. Note: Only affects code that directly uses org.apache.zookeeper.Login internals.
Recompilation Required?
Yes