Return-Path: X-Original-To: apmail-hive-issues-archive@minotaur.apache.org Delivered-To: apmail-hive-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0D3E417FD2 for ; Mon, 27 Apr 2015 21:52:39 +0000 (UTC) Received: (qmail 68342 invoked by uid 500); 27 Apr 2015 21:52:38 -0000 Delivered-To: apmail-hive-issues-archive@hive.apache.org Received: (qmail 68320 invoked by uid 500); 27 Apr 2015 21:52:38 -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 68310 invoked by uid 99); 27 Apr 2015 21:52:38 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Apr 2015 21:52:38 +0000 Date: Mon, 27 Apr 2015 21:52:38 +0000 (UTC) From: "Sushanth Sowmyan (JIRA)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-10428) NPE in RegexSerDe using HCat 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-10428?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14515071#comment-14515071 ] Sushanth Sowmyan commented on HIVE-10428: ----------------------------------------- +1 for inclusion to 1.2. Added to https://cwiki.apache.org/confluence/display/Hive/Hive+1.2+Release+Status > NPE in RegexSerDe using HCat > ---------------------------- > > Key: HIVE-10428 > URL: https://issues.apache.org/jira/browse/HIVE-10428 > Project: Hive > Issue Type: Bug > Components: Serializers/Deserializers > Reporter: Jason Dere > Assignee: Jason Dere > Attachments: HIVE-10428.1.patch > > > When HCatalog calls to table with "org.apache.hadoop.hive.serde2.RegexSerDe", when doing Hcatalog call to get read the table, it throws exception: > {noformat} > 15/04/21 14:07:31 INFO security.TokenCache: Got dt for hdfs://hdpsecahdfs; Kind: HDFS_DELEGATION_TOKEN, Service: ha-hdfs:hdpsecahdfs, Ident: (HDFS_DELEGATION_TOKEN token 1478 for haha) > 15/04/21 14:07:31 INFO mapred.FileInputFormat: Total input paths to process : 1 > Splits len : 1 > SplitInfo : [hdpseca03.seca.hwxsup.com, hdpseca04.seca.hwxsup.com, hdpseca05.seca.hwxsup.com] > 15/04/21 14:07:31 INFO mapreduce.InternalUtil: Initializing org.apache.hadoop.hive.serde2.RegexSerDe with properties {name=casetest.regex_table, numFiles=1, columns.types=string,string, serialization.format=1, columns=id,name, rawDataSize=0, numRows=0, output.format.string=%1$s %2$s, serialization.lib=org.apache.hadoop.hive.serde2.RegexSerDe, COLUMN_STATS_ACCURATE=true, totalSize=25, serialization.null.format=\N, input.regex=([^ ]*) ([^ ]*), transient_lastDdlTime=1429590172} > 15/04/21 14:07:31 WARN serde2.RegexSerDe: output.format.string has been deprecated > Exception in thread "main" java.lang.NullPointerException > at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:187) > at com.google.common.base.Splitter.split(Splitter.java:371) > at org.apache.hadoop.hive.serde2.RegexSerDe.initialize(RegexSerDe.java:155) > at org.apache.hadoop.hive.serde2.AbstractSerDe.initialize(AbstractSerDe.java:49) > at org.apache.hadoop.hive.serde2.SerDeUtils.initializeSerDe(SerDeUtils.java:518) > at org.apache.hive.hcatalog.mapreduce.InternalUtil.initializeDeserializer(InternalUtil.java:156) > at org.apache.hive.hcatalog.mapreduce.HCatRecordReader.createDeserializer(HCatRecordReader.java:127) > at org.apache.hive.hcatalog.mapreduce.HCatRecordReader.initialize(HCatRecordReader.java:92) > at HCatalogSQLMR.main(HCatalogSQLMR.java:81) > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)