hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Dere (JIRA)" <>
Subject [jira] [Created] (HIVE-10428) NPE in RegexSerDe using HCat
Date Tue, 21 Apr 2015 22:30:59 GMT
Jason Dere created HIVE-10428:

             Summary: NPE in RegexSerDe using HCat
                 Key: HIVE-10428
             Project: Hive
          Issue Type: Bug
          Components: Serializers/Deserializers
            Reporter: Jason Dere
            Assignee: Jason Dere

When HCatalog calls to table with "org.apache.hadoop.hive.serde2.RegexSerDe", when doing Hcatalog
call to get read the table, it throws exception:

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 : [,,]
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 org.apache.hadoop.hive.serde2.RegexSerDe.initialize(
	at org.apache.hadoop.hive.serde2.AbstractSerDe.initialize(
	at org.apache.hadoop.hive.serde2.SerDeUtils.initializeSerDe(
	at org.apache.hive.hcatalog.mapreduce.InternalUtil.initializeDeserializer(
	at org.apache.hive.hcatalog.mapreduce.HCatRecordReader.createDeserializer(
	at org.apache.hive.hcatalog.mapreduce.HCatRecordReader.initialize(
	at HCatalogSQLMR.main(

This message was sent by Atlassian JIRA

View raw message