Return-Path: X-Original-To: apmail-hive-dev-archive@www.apache.org Delivered-To: apmail-hive-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CADCC6B5F for ; Fri, 3 Jun 2011 14:18:28 +0000 (UTC) Received: (qmail 46343 invoked by uid 500); 3 Jun 2011 14:18:28 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 46217 invoked by uid 500); 3 Jun 2011 14:18:28 -0000 Mailing-List: contact dev-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 dev@hive.apache.org Received: (qmail 46166 invoked by uid 500); 3 Jun 2011 14:18:28 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 46159 invoked by uid 99); 3 Jun 2011 14:18:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Jun 2011 14:18:28 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Jun 2011 14:18:27 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 6D4DEF2D13 for ; Fri, 3 Jun 2011 14:17:47 +0000 (UTC) Date: Fri, 3 Jun 2011 14:17:47 +0000 (UTC) From: "Chinna Rao Lalam (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: <1393672601.65735.1307110667444.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <569193626.12962.1299832859415.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (HIVE-2045) TCTLSeparatedProtocol.SimpleTransportTokenizer.nextToken() throws Null Pointer Exception in some cases MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HIVE-2045?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chinna Rao Lalam updated HIVE-2045: ----------------------------------- Attachment: HIVE-2045.patch > TCTLSeparatedProtocol.SimpleTransportTokenizer.nextToken() throws Null Pointer Exception in some cases > ------------------------------------------------------------------------------------------------------ > > Key: HIVE-2045 > URL: https://issues.apache.org/jira/browse/HIVE-2045 > Project: Hive > Issue Type: Bug > Components: Serializers/Deserializers > Affects Versions: 0.7.0 > Environment: Hadoop 0.20.1, Hive0.7.0 and SUSE Linux Enterprise Server 10 SP2 (i586) - Kernel 2.6.16.60-0.21-smp (5). > Reporter: Chinna Rao Lalam > Assignee: Chinna Rao Lalam > Attachments: HIVE-2045.patch > > > 1) In TCTLSeparatedProtocol.SimpleTransportTokenizer.nextToken() is doing null check for the tokenizer. > If tokenizer is null, fillTokenizer() method is called to get the tokenizer object. But fillTokenizer() method also can update the tokenizer with NULL , so NULL check should be done before using the tokenizer. > 2) Also improved some logging in TCTLSeparatedProtocol.java -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira