Ashwani Raina created KUDU-3636: ----------------------------------- Summary: New Kudu client API may not work against old Kudu master for certain cases Key: KUDU-3636 URL: https://issues.apache.org/jira/browse/KUDU-3636 Project: Kudu Issue Type: Bug Components: client Reporter: Ashwani Raina
Ran {{$KUDU_HOMEDIR/examples/java/java-example/src/main/java/org/apache/kudu/examples/Example.java}} from latest kudu version (that supports IMMUTABLE COL) against an old server (that doesn't support IMMUTABLE COL), got this error: {{Unable to handle RPC call: Not implemented: call requires unsupported application feature flags: 10}} The test just alters an existing table by adding a new column (not immutable type by default) so it is expected to complete successfully. The reason behind this is as follows: While creating RPC request (for Alter request), the Kudu client marshalls list of required feature flags, which in this case, includes IMMUTABLE COLUMNS. However, when this RPC request lands on server (on lower version which doesn't support IMMUTABLE COLUMNS), it find IMM_COL as not supported and sends back the error to client. The expected behaviour is that server should send error out only when the Alter RPC request is actually trying to add an IMMUTABLE COLUMN which it doesn't support. Probably, a fix is required at client side to ensure it doesn't send not to be used features as part of RequiredFeatureFlags to avoid confusion on server. -- This message was sent by Atlassian Jira (v8.20.10#820010)