From issues-return-174312-archive-asf-public=cust-asf.ponee.io@hive.apache.org Mon Dec 9 09:07:02 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 4F7CB18064C for ; Mon, 9 Dec 2019 10:07:02 +0100 (CET) Received: (qmail 2697 invoked by uid 500); 9 Dec 2019 09:07:01 -0000 Mailing-List: contact issues-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list issues@hive.apache.org Received: (qmail 2678 invoked by uid 99); 9 Dec 2019 09:07:01 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Dec 2019 09:07:01 +0000 Received: from jira-he-de.apache.org (static.172.67.40.188.clients.your-server.de [188.40.67.172]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id F1C63E2A0E for ; Mon, 9 Dec 2019 09:07:00 +0000 (UTC) Received: from jira-he-de.apache.org (localhost.localdomain [127.0.0.1]) by jira-he-de.apache.org (ASF Mail Server at jira-he-de.apache.org) with ESMTP id 7235678040F for ; Mon, 9 Dec 2019 09:07:00 +0000 (UTC) Date: Mon, 9 Dec 2019 09:07:00 +0000 (UTC) From: "Attila Magyar (Jira)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-22577) StringIndexOutOfBoundsException when getting sessionId from worker node name MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HIVE-22577?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:all-tabpanel ] Attila Magyar updated HIVE-22577: --------------------------------- Attachment: HIVE-22577.2.patch > StringIndexOutOfBoundsException when getting sessionId from worker node n= ame > -------------------------------------------------------------------------= --- > > Key: HIVE-22577 > URL: https://issues.apache.org/jira/browse/HIVE-22577 > Project: Hive > Issue Type: Bug > Components: Hive > Reporter: Attila Magyar > Assignee: Attila Magyar > Priority: Major > Fix For: 4.0.0 > > Attachments: HIVE-22577.1.patch, HIVE-22577.2.patch > > > When the node name is "worker-" the following exception is thrown > =C2=A0 > {code:java} > Caused by: java.lang.StringIndexOutOfBoundsException: String index out of= range: -1Caused by: java.lang.StringIndexOutOfBoundsException: String inde= x out of range: -1 at java.lang.String.substring(String.java:1931) at org.a= pache.hadoop.hive.registry.impl.ZkRegistryBase.extractSeqNum(ZkRegistryBase= .java:781) at org.apache.hadoop.hive.registry.impl.ZkRegistryBase.populateC= ache(ZkRegistryBase.java:507) at org.apache.hadoop.hive.llap.registry.impl.= LlapZookeeperRegistryImpl.access$000(LlapZookeeperRegistryImpl.java:65) at = org.apache.hadoop.hive.llap.registry.impl.LlapZookeeperRegistryImpl$Dynamic= ServiceInstanceSet.(LlapZookeeperRegistryImpl.java:313) at org.apache= .hadoop.hive.llap.registry.impl.LlapZookeeperRegistryImpl.getInstances(Llap= ZookeeperRegistryImpl.java:462) at org.apache.hadoop.hive.llap.registry.imp= l.LlapZookeeperRegistryImpl.getApplicationId(LlapZookeeperRegistryImpl.java= :469) at org.apache.hadoop.hive.llap.registry.impl.LlapRegistryService.getA= pplicationId(LlapRegistryService.java:212) at org.apache.hadoop.hive.ql.exe= c.tez.Utils.getCustomSplitLocationProvider(Utils.java:77) at org.apache.had= oop.hive.ql.exec.tez.Utils.getSplitLocationProvider(Utils.java:53) at org.a= pache.hadoop.hive.ql.exec.tez.HiveSplitGenerator.(HiveSplitGenerator.= java:140) {code} -- This message was sent by Atlassian Jira (v8.3.4#803005)