[jira] [Commented] (HIVE-4222) Timestamp type constants cannot be deserialized in JDK 1.6 or less
[ https://issues.apache.org/jira/browse/HIVE-4222?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13718746#comment-13718746 ] Hive QA commented on HIVE-4222: --- {color:red}Overall{color}: -1 at least one tests failed Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12593736/HIVE-4222.D9681.3.patch {color:red}ERROR:{color} -1 due to 1 failed/errored test(s), 2651 tests executed *Failed tests:* {noformat} org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_view_cast {noformat} Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/168/testReport Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/168/console Messages: {noformat} Executing org.apache.hive.ptest.execution.CleanupPhase Executing org.apache.hive.ptest.execution.PrepPhase Executing org.apache.hive.ptest.execution.ExecutionPhase Executing org.apache.hive.ptest.execution.ReportingPhase Tests failed with: TestsFailedException: 1 tests failed {noformat} This message is automatically generated. Timestamp type constants cannot be deserialized in JDK 1.6 or less -- Key: HIVE-4222 URL: https://issues.apache.org/jira/browse/HIVE-4222 Project: Hive Issue Type: Bug Components: Types Reporter: Navis Assignee: Navis Attachments: HIVE-4222.D9681.1.patch, HIVE-4222.D9681.2.patch, HIVE-4222.D9681.3.patch For example, {noformat} ExprNodeConstantDesc constant = new ExprNodeConstantDesc(TypeInfoFactory.timestampTypeInfo, new Timestamp(100)); String serialized = Utilities.serializeExpression(constant); ExprNodeConstantDesc deserilized = (ExprNodeConstantDesc) Utilities.deserializeExpression(serialized, new Configuration()); {noformat} logs error message {noformat} java.lang.InstantiationException: java.sql.Timestamp Continuing ... java.lang.RuntimeException: failed to evaluate: unbound=Class.new(); Continuing ... {noformat} and makes NPE in final. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HIVE-4222) Timestamp type constants cannot be deserialized in JDK 1.6 or less
[ https://issues.apache.org/jira/browse/HIVE-4222?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13718930#comment-13718930 ] Jason Dere commented on HIVE-4222: -- Is this one ok commit? Looks like the unit tests had passed on 7/23, and it looks like the one tset that failed on 7/24 was because of a new test added for HIVE-4547, which didn't have a couple of data files in the original commit. Timestamp type constants cannot be deserialized in JDK 1.6 or less -- Key: HIVE-4222 URL: https://issues.apache.org/jira/browse/HIVE-4222 Project: Hive Issue Type: Bug Components: Types Reporter: Navis Assignee: Navis Attachments: HIVE-4222.D9681.1.patch, HIVE-4222.D9681.2.patch, HIVE-4222.D9681.3.patch For example, {noformat} ExprNodeConstantDesc constant = new ExprNodeConstantDesc(TypeInfoFactory.timestampTypeInfo, new Timestamp(100)); String serialized = Utilities.serializeExpression(constant); ExprNodeConstantDesc deserilized = (ExprNodeConstantDesc) Utilities.deserializeExpression(serialized, new Configuration()); {noformat} logs error message {noformat} java.lang.InstantiationException: java.sql.Timestamp Continuing ... java.lang.RuntimeException: failed to evaluate: unbound=Class.new(); Continuing ... {noformat} and makes NPE in final. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HIVE-4222) Timestamp type constants cannot be deserialized in JDK 1.6 or less
[ https://issues.apache.org/jira/browse/HIVE-4222?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13719168#comment-13719168 ] Edward Capriolo commented on HIVE-4222: --- Committed. Nice tag team Jason and Navis Timestamp type constants cannot be deserialized in JDK 1.6 or less -- Key: HIVE-4222 URL: https://issues.apache.org/jira/browse/HIVE-4222 Project: Hive Issue Type: Bug Components: Types Reporter: Navis Assignee: Navis Attachments: HIVE-4222.D9681.1.patch, HIVE-4222.D9681.2.patch, HIVE-4222.D9681.3.patch For example, {noformat} ExprNodeConstantDesc constant = new ExprNodeConstantDesc(TypeInfoFactory.timestampTypeInfo, new Timestamp(100)); String serialized = Utilities.serializeExpression(constant); ExprNodeConstantDesc deserilized = (ExprNodeConstantDesc) Utilities.deserializeExpression(serialized, new Configuration()); {noformat} logs error message {noformat} java.lang.InstantiationException: java.sql.Timestamp Continuing ... java.lang.RuntimeException: failed to evaluate: unbound=Class.new(); Continuing ... {noformat} and makes NPE in final. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HIVE-4222) Timestamp type constants cannot be deserialized in JDK 1.6 or less
[ https://issues.apache.org/jira/browse/HIVE-4222?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13716137#comment-13716137 ] Jason Dere commented on HIVE-4222: -- Updated patch with home-rolled PersistenceDelegate Timestamp type constants cannot be deserialized in JDK 1.6 or less -- Key: HIVE-4222 URL: https://issues.apache.org/jira/browse/HIVE-4222 Project: Hive Issue Type: Bug Components: Types Reporter: Navis Assignee: Navis Attachments: HIVE-4222.D9681.1.patch, HIVE-4222.D9681.2.patch For example, {noformat} ExprNodeConstantDesc constant = new ExprNodeConstantDesc(TypeInfoFactory.timestampTypeInfo, new Timestamp(100)); String serialized = Utilities.serializeExpression(constant); ExprNodeConstantDesc deserilized = (ExprNodeConstantDesc) Utilities.deserializeExpression(serialized, new Configuration()); {noformat} logs error message {noformat} java.lang.InstantiationException: java.sql.Timestamp Continuing ... java.lang.RuntimeException: failed to evaluate: unbound=Class.new(); Continuing ... {noformat} and makes NPE in final. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HIVE-4222) Timestamp type constants cannot be deserialized in JDK 1.6 or less
[ https://issues.apache.org/jira/browse/HIVE-4222?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13716901#comment-13716901 ] Hive QA commented on HIVE-4222: --- {color:red}Overall{color}: -1 no tests executed Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12593736/HIVE-4222.D9681.3.patch Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/151/testReport Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/151/console Messages: {noformat} Executing org.apache.hive.ptest.execution.CleanupPhase Executing org.apache.hive.ptest.execution.PrepPhase Executing org.apache.hive.ptest.execution.ExecutionPhase Tests failed with: IllegalStateException: Too many bad hosts: 1.0% (10 / 10) is greater than threshold of 50% {noformat} This message is automatically generated. Timestamp type constants cannot be deserialized in JDK 1.6 or less -- Key: HIVE-4222 URL: https://issues.apache.org/jira/browse/HIVE-4222 Project: Hive Issue Type: Bug Components: Types Reporter: Navis Assignee: Navis Attachments: HIVE-4222.D9681.1.patch, HIVE-4222.D9681.2.patch, HIVE-4222.D9681.3.patch For example, {noformat} ExprNodeConstantDesc constant = new ExprNodeConstantDesc(TypeInfoFactory.timestampTypeInfo, new Timestamp(100)); String serialized = Utilities.serializeExpression(constant); ExprNodeConstantDesc deserilized = (ExprNodeConstantDesc) Utilities.deserializeExpression(serialized, new Configuration()); {noformat} logs error message {noformat} java.lang.InstantiationException: java.sql.Timestamp Continuing ... java.lang.RuntimeException: failed to evaluate: unbound=Class.new(); Continuing ... {noformat} and makes NPE in final. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HIVE-4222) Timestamp type constants cannot be deserialized in JDK 1.6 or less
[ https://issues.apache.org/jira/browse/HIVE-4222?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13716904#comment-13716904 ] Brock Noland commented on HIVE-4222: I kicked this off again. Interesting that we are seeing this twice today. Timestamp type constants cannot be deserialized in JDK 1.6 or less -- Key: HIVE-4222 URL: https://issues.apache.org/jira/browse/HIVE-4222 Project: Hive Issue Type: Bug Components: Types Reporter: Navis Assignee: Navis Attachments: HIVE-4222.D9681.1.patch, HIVE-4222.D9681.2.patch, HIVE-4222.D9681.3.patch For example, {noformat} ExprNodeConstantDesc constant = new ExprNodeConstantDesc(TypeInfoFactory.timestampTypeInfo, new Timestamp(100)); String serialized = Utilities.serializeExpression(constant); ExprNodeConstantDesc deserilized = (ExprNodeConstantDesc) Utilities.deserializeExpression(serialized, new Configuration()); {noformat} logs error message {noformat} java.lang.InstantiationException: java.sql.Timestamp Continuing ... java.lang.RuntimeException: failed to evaluate: unbound=Class.new(); Continuing ... {noformat} and makes NPE in final. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HIVE-4222) Timestamp type constants cannot be deserialized in JDK 1.6 or less
[ https://issues.apache.org/jira/browse/HIVE-4222?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13717501#comment-13717501 ] Hive QA commented on HIVE-4222: --- {color:red}Overall{color}: -1 no tests executed Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12593736/HIVE-4222.D9681.3.patch Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/152/testReport Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/152/console Messages: {noformat} Executing org.apache.hive.ptest.execution.CleanupPhase Executing org.apache.hive.ptest.execution.PrepPhase Executing org.apache.hive.ptest.execution.ExecutionPhase Tests failed with: IllegalStateException: Too many bad hosts: 1.0% (10 / 10) is greater than threshold of 50% {noformat} This message is automatically generated. Timestamp type constants cannot be deserialized in JDK 1.6 or less -- Key: HIVE-4222 URL: https://issues.apache.org/jira/browse/HIVE-4222 Project: Hive Issue Type: Bug Components: Types Reporter: Navis Assignee: Navis Attachments: HIVE-4222.D9681.1.patch, HIVE-4222.D9681.2.patch, HIVE-4222.D9681.3.patch For example, {noformat} ExprNodeConstantDesc constant = new ExprNodeConstantDesc(TypeInfoFactory.timestampTypeInfo, new Timestamp(100)); String serialized = Utilities.serializeExpression(constant); ExprNodeConstantDesc deserilized = (ExprNodeConstantDesc) Utilities.deserializeExpression(serialized, new Configuration()); {noformat} logs error message {noformat} java.lang.InstantiationException: java.sql.Timestamp Continuing ... java.lang.RuntimeException: failed to evaluate: unbound=Class.new(); Continuing ... {noformat} and makes NPE in final. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HIVE-4222) Timestamp type constants cannot be deserialized in JDK 1.6 or less
[ https://issues.apache.org/jira/browse/HIVE-4222?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13717514#comment-13717514 ] Brock Noland commented on HIVE-4222: Spot instance prices are instance today for the instance type we use. I've created HIVE-4920 to improve our handling of this. Timestamp type constants cannot be deserialized in JDK 1.6 or less -- Key: HIVE-4222 URL: https://issues.apache.org/jira/browse/HIVE-4222 Project: Hive Issue Type: Bug Components: Types Reporter: Navis Assignee: Navis Attachments: HIVE-4222.D9681.1.patch, HIVE-4222.D9681.2.patch, HIVE-4222.D9681.3.patch For example, {noformat} ExprNodeConstantDesc constant = new ExprNodeConstantDesc(TypeInfoFactory.timestampTypeInfo, new Timestamp(100)); String serialized = Utilities.serializeExpression(constant); ExprNodeConstantDesc deserilized = (ExprNodeConstantDesc) Utilities.deserializeExpression(serialized, new Configuration()); {noformat} logs error message {noformat} java.lang.InstantiationException: java.sql.Timestamp Continuing ... java.lang.RuntimeException: failed to evaluate: unbound=Class.new(); Continuing ... {noformat} and makes NPE in final. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HIVE-4222) Timestamp type constants cannot be deserialized in JDK 1.6 or less
[ https://issues.apache.org/jira/browse/HIVE-4222?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13717782#comment-13717782 ] Hive QA commented on HIVE-4222: --- {color:green}Overall{color}: +1 all checks pass Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12593736/HIVE-4222.D9681.3.patch {color:green}SUCCESS:{color} +1 2648 tests passed Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/154/testReport Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/154/console Messages: {noformat} Executing org.apache.hive.ptest.execution.CleanupPhase Executing org.apache.hive.ptest.execution.PrepPhase Executing org.apache.hive.ptest.execution.ExecutionPhase Executing org.apache.hive.ptest.execution.ReportingPhase {noformat} This message is automatically generated. Timestamp type constants cannot be deserialized in JDK 1.6 or less -- Key: HIVE-4222 URL: https://issues.apache.org/jira/browse/HIVE-4222 Project: Hive Issue Type: Bug Components: Types Reporter: Navis Assignee: Navis Attachments: HIVE-4222.D9681.1.patch, HIVE-4222.D9681.2.patch, HIVE-4222.D9681.3.patch For example, {noformat} ExprNodeConstantDesc constant = new ExprNodeConstantDesc(TypeInfoFactory.timestampTypeInfo, new Timestamp(100)); String serialized = Utilities.serializeExpression(constant); ExprNodeConstantDesc deserilized = (ExprNodeConstantDesc) Utilities.deserializeExpression(serialized, new Configuration()); {noformat} logs error message {noformat} java.lang.InstantiationException: java.sql.Timestamp Continuing ... java.lang.RuntimeException: failed to evaluate: unbound=Class.new(); Continuing ... {noformat} and makes NPE in final. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HIVE-4222) Timestamp type constants cannot be deserialized in JDK 1.6 or less
[ https://issues.apache.org/jira/browse/HIVE-4222?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13715733#comment-13715733 ] Jason Dere commented on HIVE-4222: -- Any update on the status of this one? I'm running into same issue with my work on the Date type (HIVE-4055) when trying to create ExprNodeConstDesc with a java.sql.Date value. Should I roll my own version of this solution for the Date type? Timestamp type constants cannot be deserialized in JDK 1.6 or less -- Key: HIVE-4222 URL: https://issues.apache.org/jira/browse/HIVE-4222 Project: Hive Issue Type: Bug Components: Types Reporter: Navis Assignee: Navis Attachments: HIVE-4222.D9681.1.patch For example, {noformat} ExprNodeConstantDesc constant = new ExprNodeConstantDesc(TypeInfoFactory.timestampTypeInfo, new Timestamp(100)); String serialized = Utilities.serializeExpression(constant); ExprNodeConstantDesc deserilized = (ExprNodeConstantDesc) Utilities.deserializeExpression(serialized, new Configuration()); {noformat} logs error message {noformat} java.lang.InstantiationException: java.sql.Timestamp Continuing ... java.lang.RuntimeException: failed to evaluate: unbound=Class.new(); Continuing ... {noformat} and makes NPE in final. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HIVE-4222) Timestamp type constants cannot be deserialized in JDK 1.6 or less
[ https://issues.apache.org/jira/browse/HIVE-4222?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13715752#comment-13715752 ] Edward Capriolo commented on HIVE-4222: --- Not an expert on this but I think it best we just build a version not copied line for line with the author tags removed. Timestamp type constants cannot be deserialized in JDK 1.6 or less -- Key: HIVE-4222 URL: https://issues.apache.org/jira/browse/HIVE-4222 Project: Hive Issue Type: Bug Components: Types Reporter: Navis Assignee: Navis Attachments: HIVE-4222.D9681.1.patch For example, {noformat} ExprNodeConstantDesc constant = new ExprNodeConstantDesc(TypeInfoFactory.timestampTypeInfo, new Timestamp(100)); String serialized = Utilities.serializeExpression(constant); ExprNodeConstantDesc deserilized = (ExprNodeConstantDesc) Utilities.deserializeExpression(serialized, new Configuration()); {noformat} logs error message {noformat} java.lang.InstantiationException: java.sql.Timestamp Continuing ... java.lang.RuntimeException: failed to evaluate: unbound=Class.new(); Continuing ... {noformat} and makes NPE in final. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HIVE-4222) Timestamp type constants cannot be deserialized in JDK 1.6 or less
[ https://issues.apache.org/jira/browse/HIVE-4222?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13715890#comment-13715890 ] Jason Dere commented on HIVE-4222: -- Ok, I'll try to update the patch later today. Timestamp type constants cannot be deserialized in JDK 1.6 or less -- Key: HIVE-4222 URL: https://issues.apache.org/jira/browse/HIVE-4222 Project: Hive Issue Type: Bug Components: Types Reporter: Navis Assignee: Navis Attachments: HIVE-4222.D9681.1.patch For example, {noformat} ExprNodeConstantDesc constant = new ExprNodeConstantDesc(TypeInfoFactory.timestampTypeInfo, new Timestamp(100)); String serialized = Utilities.serializeExpression(constant); ExprNodeConstantDesc deserilized = (ExprNodeConstantDesc) Utilities.deserializeExpression(serialized, new Configuration()); {noformat} logs error message {noformat} java.lang.InstantiationException: java.sql.Timestamp Continuing ... java.lang.RuntimeException: failed to evaluate: unbound=Class.new(); Continuing ... {noformat} and makes NPE in final. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HIVE-4222) Timestamp type constants cannot be deserialized in JDK 1.6 or less
[ https://issues.apache.org/jira/browse/HIVE-4222?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13700224#comment-13700224 ] Edward Capriolo commented on HIVE-4222: --- [~navis] we can not include author tags. Since the code in your patch is not yours we need to establish if the code if/how the code is licensed. Is it public domain? Timestamp type constants cannot be deserialized in JDK 1.6 or less -- Key: HIVE-4222 URL: https://issues.apache.org/jira/browse/HIVE-4222 Project: Hive Issue Type: Bug Components: Types Reporter: Navis Assignee: Navis Attachments: HIVE-4222.D9681.1.patch For example, {noformat} ExprNodeConstantDesc constant = new ExprNodeConstantDesc(TypeInfoFactory.timestampTypeInfo, new Timestamp(100)); String serialized = Utilities.serializeExpression(constant); ExprNodeConstantDesc deserilized = (ExprNodeConstantDesc) Utilities.deserializeExpression(serialized, new Configuration()); {noformat} logs error message {noformat} java.lang.InstantiationException: java.sql.Timestamp Continuing ... java.lang.RuntimeException: failed to evaluate: unbound=Class.new(); Continuing ... {noformat} and makes NPE in final. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HIVE-4222) Timestamp type constants cannot be deserialized in JDK 1.6 or less
[ https://issues.apache.org/jira/browse/HIVE-4222?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13700396#comment-13700396 ] Navis commented on HIVE-4222: - It's copied from Oracle JDK7 and I admit I don't know about license things. hm.. Timestamp type constants cannot be deserialized in JDK 1.6 or less -- Key: HIVE-4222 URL: https://issues.apache.org/jira/browse/HIVE-4222 Project: Hive Issue Type: Bug Components: Types Reporter: Navis Assignee: Navis Attachments: HIVE-4222.D9681.1.patch For example, {noformat} ExprNodeConstantDesc constant = new ExprNodeConstantDesc(TypeInfoFactory.timestampTypeInfo, new Timestamp(100)); String serialized = Utilities.serializeExpression(constant); ExprNodeConstantDesc deserilized = (ExprNodeConstantDesc) Utilities.deserializeExpression(serialized, new Configuration()); {noformat} logs error message {noformat} java.lang.InstantiationException: java.sql.Timestamp Continuing ... java.lang.RuntimeException: failed to evaluate: unbound=Class.new(); Continuing ... {noformat} and makes NPE in final. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HIVE-4222) Timestamp type constants cannot be deserialized in JDK 1.6 or less
[ https://issues.apache.org/jira/browse/HIVE-4222?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13624781#comment-13624781 ] Navis commented on HIVE-4222: - Yes, it's happened when custom hbase storage handler is used which can handle predicates with timestamp type. Hive serializes pushed-down predicates by using Utilities.serializeExpression() and it throws exception when it contains timestamp type. Timestamp type constants cannot be deserialized in JDK 1.6 or less -- Key: HIVE-4222 URL: https://issues.apache.org/jira/browse/HIVE-4222 Project: Hive Issue Type: Bug Components: Types Reporter: Navis Assignee: Navis Attachments: HIVE-4222.D9681.1.patch For example, {noformat} ExprNodeConstantDesc constant = new ExprNodeConstantDesc(TypeInfoFactory.timestampTypeInfo, new Timestamp(100)); String serialized = Utilities.serializeExpression(constant); ExprNodeConstantDesc deserilized = (ExprNodeConstantDesc) Utilities.deserializeExpression(serialized, new Configuration()); {noformat} logs error message {noformat} java.lang.InstantiationException: java.sql.Timestamp Continuing ... java.lang.RuntimeException: failed to evaluate: unbound=Class.new(); Continuing ... {noformat} and makes NPE in final. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HIVE-4222) Timestamp type constants cannot be deserialized in JDK 1.6 or less
[ https://issues.apache.org/jira/browse/HIVE-4222?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13624548#comment-13624548 ] Ashutosh Chauhan commented on HIVE-4222: I use jdk1.6 and have never seen this error. If I am getting this right, this should occur in any query which accesses timestamp column from table, since we need to serialize Timestamp objects in plan. I have used such queries on jdk1.6 but never encountered the error you mentioned. Timestamp type constants cannot be deserialized in JDK 1.6 or less -- Key: HIVE-4222 URL: https://issues.apache.org/jira/browse/HIVE-4222 Project: Hive Issue Type: Bug Components: Types Reporter: Navis Assignee: Navis Attachments: HIVE-4222.D9681.1.patch For example, {noformat} ExprNodeConstantDesc constant = new ExprNodeConstantDesc(TypeInfoFactory.timestampTypeInfo, new Timestamp(100)); String serialized = Utilities.serializeExpression(constant); ExprNodeConstantDesc deserilized = (ExprNodeConstantDesc) Utilities.deserializeExpression(serialized, new Configuration()); {noformat} logs error message {noformat} java.lang.InstantiationException: java.sql.Timestamp Continuing ... java.lang.RuntimeException: failed to evaluate: unbound=Class.new(); Continuing ... {noformat} and makes NPE in final. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira