[ https://issues.apache.org/jira/browse/PHOENIX-2031?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14584336#comment-14584336 ]
James Taylor commented on PHOENIX-2031: --------------------------------------- I see. Does the patch look ok, [~maghamravikiran] and/or [~prkommireddi]? > Unable to process timestamp/Date data loaded via Phoenix > org.apache.phoenix.pig.PhoenixHBaseLoader > -------------------------------------------------------------------------------------------------- > > Key: PHOENIX-2031 > URL: https://issues.apache.org/jira/browse/PHOENIX-2031 > Project: Phoenix > Issue Type: Bug > Reporter: Alicia Ying Shu > Assignee: Alicia Ying Shu > Attachments: PHOENIX-2031.patch > > > 2015-05-11 15:41:44,419 WARN main org.apache.hadoop.mapred.YarnChild: > Exception running child : org.apache.pig.PigException: ERROR 0: Error > transforming PhoenixRecord to Tuple Cannot convert a Unknown to a > java.sql.Timestamp at > org.apache.phoenix.pig.util.TypeUtil.transformToTuple(TypeUtil.java:293) > at > org.apache.phoenix.pig.PhoenixHBaseLoader.getNext(PhoenixHBaseLoader.java:197) > at > org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.PigRecordReader.nextKeyValue(PigRecordReader.java:204) > at > org.apache.hadoop.mapred.MapTask$NewTrackingRecordReader.nextKeyValue(MapTask.java:553) > at > org.apache.hadoop.mapreduce.task.MapContextImpl.nextKeyValue(MapContextImpl.java:80) > at > org.apache.hadoop.mapreduce.lib.map.WrappedMapper$Context.nextKeyValue(WrappedMapper.java:91) > at org.apache.hadoop.mapreduce.Mapper.run(Mapper.java:144) > at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:784) > at org.apache.hadoop.mapred.MapTask.run(MapTask.java:341) > at org.apache.hadoop.mapred.YarnChild$2.run(YarnChild.java:163) > at java.security.AccessController.doPrivileged(Native Method) > at javax.security.auth.Subject.doAs(Subject.java:415) > at > org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1628) > at org.apache.hadoop.mapred.YarnChild.main(YarnChild.java:158) -- This message was sent by Atlassian JIRA (v6.3.4#6332)