-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/71871/
-----------------------------------------------------------
(Updated Dec. 5, 2019, 6:03 p.m.)
Review request for hive, Laszlo Bodor, prasanthj, and Slim Bouguerra.
Changes
-------
there is a 2nd bug in the original code an off by one error when using the
substring.
Bugs: HIVE-22577
https://issues.apache.org/jira/browse/HIVE-22577
Repository: hive-git
Description
-------
The sequence number from the worker node name might be missing under some
circumstances (the root cause is not fully clear it might be a zookeeper bug).
In this case the following exception occurs:
Caused by: java.lang.StringIndexOutOfBoundsException: String index out of
range: -1Caused by: java.lang.StringIndexOutOfBoundsException: String index out
of range: -1 at java.lang.String.substring(String.java:1931) at
org.apache.hadoop.hive.registry.impl.ZkRegistryBase.extractSeqNum(ZkRegistryBase.java:781)
at
org.apache.hadoop.hive.registry.impl.ZkRegistryBase.populateCache(ZkRegistryBase.java:507)
at
org.apache.hadoop.hive.llap.registry.impl.LlapZookeeperRegistryImpl.access$000(LlapZookeeperRegistryImpl.java:65)
at
Diffs (updated)
-----
llap-client/src/java/org/apache/hadoop/hive/registry/impl/ZkRegistryBase.java
5751b8ed939
Diff: https://reviews.apache.org/r/71871/diff/2/
Changes: https://reviews.apache.org/r/71871/diff/1-2/
Testing
-------
qtest
Thanks,
Attila Magyar