Hello Yifan Zhang, Kudu Jenkins,
I'd like you to reexamine a change. Please visit
http://gerrit.cloudera.org:8080/22958
to look at the new patch set (#2).
Change subject: KUDU-3698 fix NPE in TableLocationsCache.get() in kudu-client
......................................................................
KUDU-3698 fix NPE in TableLocationsCache.get() in kudu-client
It might happen that the special table location entry for Kudu master
is absent in the cache, but the code since [1] doesn't check for null
before calling isStale() on the item returned from the cache. This
results in a NPE in Kudu Java client.
This patch addresses the issue. This is a follow-up to [1].
[1] https://github.com/apache/kudu/commit/a50aa5bfd
Change-Id: Ic1bf9001eb88e85c2d9913b804d3f223ab022cdc
---
M java/kudu-client/src/main/java/org/apache/kudu/client/TableLocationsCache.java
1 file changed, 3 insertions(+), 3 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/58/22958/2
--
To view, visit http://gerrit.cloudera.org:8080/22958
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Ic1bf9001eb88e85c2d9913b804d3f223ab022cdc
Gerrit-Change-Number: 22958
Gerrit-PatchSet: 2
Gerrit-Owner: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Yifan Zhang <[email protected]>