[ https://issues.apache.org/jira/browse/HIVE-3440?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13450939#comment-13450939 ]
Ashutosh Chauhan commented on HIVE-3440: ---------------------------------------- Zhenxiao: after applying the patch I still saw the failure with following log in build/pdk/test-plugin/build/TEST-org.apache.hive.pdk.PluginTest.txt {code} Testsuite: org.apache.hive.pdk.PluginTest Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 15.87 sec ------------- Standard Error ----------------- Testcase: SELECT tp_rot13('Mixed Up!') FROM onerow; took 2.834 sec FAILED expected:<[Zvkrq Hc!]> but was:<[ Hive history file=/tmp/hortonas/hive_job_log_hortonas_201209071914_1143556441.txt Total MapReduce jobs = 1 Launching Job 1 out of 1 Number of reduce tasks is set to 0 since there's no reduce operator 12/09/07 19:14:34 WARN conf.HiveConf: hive-site.xml not found on CLASSPATH Execution log at: /tmp/hortonas/hortonas_20120907191414_d81163ac-2bec-4910-a4b0-ffba6e87a4a0.log Job running in-process (local Hadoop) Hadoop job information for null: number of mappers: 0; number of reducers: 0 2012-09-07 19:14:36,315 null map = 0%, reduce = 0% Ended Job = job_local_0001 with errors Error during job, obtaining debugging information... Execution failed with exit status: 2 Obtaining error information Task failed! Task ID: Stage-1 Logs: /tmp/hortonas/hive.log FAILED: Execution Error, return code 2 from org.apache.hadoop.hive.ql.exec.MapRedTask]> junit.framework.ComparisonFailure: expected:<[Zvkrq Hc!]> but was:<[ Hive history file=/tmp/hortonas/hive_job_log_hortonas_201209071914_1143556441.txt Total MapReduce jobs = 1 Launching Job 1 out of 1 Number of reduce tasks is set to 0 since there's no reduce operator 12/09/07 19:14:34 WARN conf.HiveConf: hive-site.xml not found on CLASSPATH Execution log at: /tmp/hortonas/hortonas_20120907191414_d81163ac-2bec-4910-a4b0-ffba6e87a4a0.log Job running in-process (local Hadoop) Hadoop job information for null: number of mappers: 0; number of reducers: 0 2012-09-07 19:14:36,315 null map = 0%, reduce = 0% Ended Job = job_local_0001 with errors Error during job, obtaining debugging information... Execution failed with exit status: 2 Obtaining error information Task failed! Task ID: Stage-1 Logs: /tmp/hortonas/hive.log FAILED: Execution Error, return code 2 from org.apache.hadoop.hive.ql.exec.MapRedTask]> at org.apache.hive.pdk.PluginTest.runTest(PluginTest.java:59) at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24) at junit.extensions.TestSetup$1.protect(TestSetup.java:23) at junit.extensions.TestSetup.run(TestSetup.java:27) at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24) at junit.extensions.TestSetup$1.protect(TestSetup.java:23) at junit.extensions.TestSetup.run(TestSetup.java:27) {code} > Fix pdk PluginTest failing on trunk-h0.21 > ----------------------------------------- > > Key: HIVE-3440 > URL: https://issues.apache.org/jira/browse/HIVE-3440 > Project: Hive > Issue Type: Bug > Affects Versions: 0.10.0 > Reporter: Zhenxiao Luo > Assignee: Zhenxiao Luo > Fix For: 0.10.0 > > Attachments: HIVE-3440.1.patch.txt > > > Get the failure when running on hadoop21, triggered directly from pdk(when > triggered from builtin, pdk test is passed). > Here is the execution log: > 2012-09-06 13:46:05,646 WARN mapred.LocalJobRunner > (LocalJobRunner.java:run(256)) - job_local_0001 > java.lang.RuntimeException: Error in configuring object > at > org.apache.hadoop.util.ReflectionUtils.setJobConf(ReflectionUtils.java:93) > at org.apache.hadoop.util.ReflectionUtils.setConf(ReflectionUtils.java:64) > at > org.apache.hadoop.util.ReflectionUtils.newInstance(ReflectionUtils.java:117) > at org.apache.hadoop.mapred.MapTask.runOldMapper(MapTask.java:354) > at org.apache.hadoop.mapred.MapTask.run(MapTask.java:307) > at > org.apache.hadoop.mapred.LocalJobRunner$Job.run(LocalJobRunner.java:177) > Caused by: java.lang.reflect.InvocationTargetException > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:616) > at > org.apache.hadoop.util.ReflectionUtils.setJobConf(ReflectionUtils.java:88) > ... 5 more > Caused by: java.lang.RuntimeException: Error in configuring object > at > org.apache.hadoop.util.ReflectionUtils.setJobConf(ReflectionUtils.java:93) > at org.apache.hadoop.util.ReflectionUtils.setConf(ReflectionUtils.java:64) > at > org.apache.hadoop.util.ReflectionUtils.newInstance(ReflectionUtils.java:117) > at org.apache.hadoop.mapred.MapRunner.configure(MapRunner.java:34) > ... 10 more > Caused by: java.lang.reflect.InvocationTargetException > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:616) > at > org.apache.hadoop.util.ReflectionUtils.setJobConf(ReflectionUtils.java:88) > ... 13 more > Caused by: java.lang.RuntimeException: Map operator initialization failed > at > org.apache.hadoop.hive.ql.exec.ExecMapper.configure(ExecMapper.java:121) > ... 18 more > Caused by: java.lang.NoClassDefFoundError: > org/codehaus/jackson/map/ObjectMapper > at > org.apache.hadoop.hive.ql.udf.generic.GenericUDTFJSONTuple.<clinit>(GenericUDTFJSONTuple.java:54) > at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) > at > sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) > at > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) > at java.lang.reflect.Constructor.newInstance(Constructor.java:532) > at > org.apache.hadoop.util.ReflectionUtils.newInstance(ReflectionUtils.java:113) > at > org.apache.hadoop.hive.ql.exec.FunctionRegistry.registerGenericUDTF(FunctionRegistry.java:545) > at > org.apache.hadoop.hive.ql.exec.FunctionRegistry.registerGenericUDTF(FunctionRegistry.java:539) > at > org.apache.hadoop.hive.ql.exec.FunctionRegistry.<clinit>(FunctionRegistry.java:472) > at > org.apache.hadoop.hive.ql.exec.DefaultUDFMethodResolver.getEvalMethod(DefaultUDFMethodResolver.java:59) > at > org.apache.hadoop.hive.ql.udf.generic.GenericUDFBridge.initialize(GenericUDFBridge.java:154) > at > org.apache.hadoop.hive.ql.udf.generic.GenericUDF.initializeAndFoldConstants(GenericUDF.java:98) > at > org.apache.hadoop.hive.ql.exec.ExprNodeGenericFuncEvaluator.initialize(ExprNodeGenericFuncEvaluator.java:137) > at > org.apache.hadoop.hive.ql.exec.Operator.initEvaluators(Operator.java:898) > at > org.apache.hadoop.hive.ql.exec.Operator.initEvaluatorsAndReturnStruct(Operator.java:924) > at > org.apache.hadoop.hive.ql.exec.SelectOperator.initializeOp(SelectOperator.java:60) > at org.apache.hadoop.hive.ql.exec.Operator.initialize(Operator.java:358) > at org.apache.hadoop.hive.ql.exec.Operator.initialize(Operator.java:434) > at > org.apache.hadoop.hive.ql.exec.Operator.initializeChildren(Operator.java:390) > at > org.apache.hadoop.hive.ql.exec.TableScanOperator.initializeOp(TableScanOperator.java:166) > at org.apache.hadoop.hive.ql.exec.Operator.initialize(Operator.java:358) > at > org.apache.hadoop.hive.ql.exec.MapOperator.initializeOp(MapOperator.java:441) > at org.apache.hadoop.hive.ql.exec.Operator.initialize(Operator.java:358) > at org.apache.hadoop.hive.ql.exec.ExecMapper.configure(ExecMapper.java:98) > ... 18 more > Caused by: java.lang.ClassNotFoundException: > org.codehaus.jackson.map.ObjectMapper > at java.net.URLClassLoader$1.run(URLClassLoader.java:217) > at java.security.AccessController.doPrivileged(Native Method) -- 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