[ https://issues.apache.org/jira/browse/PHOENIX-2031?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14705782#comment-14705782 ]
maghamravikiran commented on PHOENIX-2031: ------------------------------------------ [~ayingshu] I didn't push your changes earlier due to this PHOENIX-2103 . The issue is fixed now and the decision is to go with new table names for each test method . I have a hunch that the tests will fail if the patch is applied as is . Please have each test with a different table name and test the entire suite. > 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-v1.patch, PHOENIX-2031-v2.patch, > 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)