Alexey Serbin created KUDU-3664:
-----------------------------------
Summary: NPE in Kudu Java client when
Key: KUDU-3664
URL: https://issues.apache.org/jira/browse/KUDU-3664
Project: Kudu
Issue Type: Bug
Components: java
Affects Versions: 1.17.1, 1.17.0
Reporter: Alexey Serbin
Kudu Java client library can throw a null pointer exception under certain
conditions when trying to connect to a Kudu master:
{noformat}
at org.apache.kudu.client.TableLocationsCache.get(TableLocationsCache.java:66
at
org.apache.kudu.client.AsyncKuduClient.getTableLocationEntry(AsyncKuduClient.java:2585)
at
org.apache.kudu.client.AsyncKuduClient.sendRpcToTablet(AsyncKuduClient.java:1412)
at
org.apache.kudu.client.AsyncKuduClient.getTableSchema(AsyncKuduClient.java:881)
at
org.apache.kudu.client.AsyncKuduClient.openTable(AsyncKuduClient.java:1017)
at org.apache.kudu.client.KuduClient.openTable(KuduClient.java:353)
{noformat}
This issue is specific to kudu-client in 1.17.0 and 1.17.1 releases (i.e.
releases that are built from the source code with changelist
[a50aa5bfd|https://github.com/apache/kudu/commit/a50aa5bfd]).
The exact reproduction scenario isn't yet clear at the time of writing, but it
might involve a failed preliminary attempt to connect to a Kudu master.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)