Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
Hive >> mail # user >> Array index support non-constant expresssion


Copy link to this message
-
RE: Array index support non-constant expresssion

Hi, Navis:
If I disable both CP/PPD, it will be worse, as neither 1) or 2) query works.
But interested thing is that for both queries, I got same error message, but different one comparing with my original error message:
2012-12-12 20:36:21,362 WARN org.apache.hadoop.mapred.Child: Error running childjava.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:387)        at org.apache.hadoop.mapred.MapTask.run(MapTask.java:325)        at org.apache.hadoop.mapred.Child$4.run(Child.java:270)        at java.security.AccessController.doPrivileged(Native Method)        at javax.security.auth.Subject.doAs(Subject.java:396)        at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1157)        at org.apache.hadoop.mapred.Child.main(Child.java:264)Caused by: java.lang.reflect.InvocationTargetException        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)        at java.lang.reflect.Method.invoke(Method.java:597)        at org.apache.hadoop.util.ReflectionUtils.setJobConf(ReflectionUtils.java:88)        ... 9 moreCaused 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)        ... 14 moreCaused by: java.lang.reflect.InvocationTargetException        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)        at java.lang.reflect.Method.invoke(Method.java:597)        at org.apache.hadoop.util.ReflectionUtils.setJobConf(ReflectionUtils.java:88)        ... 17 moreCaused by: java.lang.RuntimeException: Map operator initialization failed        at org.apache.hadoop.hive.ql.exec.ExecMapper.configure(ExecMapper.java:121)        ... 22 moreCaused by: java.lang.ClassCastException: org.apache.hadoop.hive.serde2.objectinspector.primitive.WritableLongObjectInspector cannot be cast to org.apache.hadoop.hive.serde2.objectinspector.StructObjectInspector        at org.apache.hadoop.hive.ql.exec.ExprNodeFieldEvaluator.initialize(ExprNodeFieldEvaluator.java:60)        at org.apache.hadoop.hive.ql.exec.ExprNodeGenericFuncEvaluator.initialize(ExprNodeGenericFuncEvaluator.java:77)        at org.apache.hadoop.hive.ql.exec.Operator.initEvaluators(Operator.java:878)        at org.apache.hadoop.hive.ql.exec.Operator.initEvaluatorsAndReturnStruct(Operator.java:904)        at org.apache.hadoop.hive.ql.exec.SelectOperator.initializeOp(SelectOperator.java:60)        at org.apache.hadoop.hive.ql.exec.Operator.initialize(Operator.java:357)        at org.apache.hadoop.hive.ql.exec.Operator.initialize(Operator.java:433)        at org.apache.hadoop.hive.ql.exec.Operator.initializeChildren(Operator.java:389)        at org.apache.hadoop.hive.ql.exec.Operator.initializeOp(Operator.java:374)        at org.apache.hadoop.hive.ql.exec.LateralViewJoinOperator.initializeOp(LateralViewJoinOperator.java:109)        at org.apache.hadoop.hive.ql.exec.Operator.initialize(Operator.java:357)        at org.apache.hadoop.hive.ql.exec.Operator.initialize(Operator.java:433)        at org.apache.hadoop.hive.ql.exec.Operator.initializeChildren(Operator.java:389)        at org.apache.hadoop.hive.ql.exec.Operator.initializeOp(Operator.java:374)        at org.apache.hadoop.hive.ql.exec.UDTFOperator.initializeOp(UDTFOperator.java:85)        at org.apache.hadoop.hive.ql.exec.Operator.initialize(Operator.java:357)        at org.apache.hadoop.hive.ql.exec.Operator.initialize(Operator.java:433)        at org.apache.hadoop.hive.ql.exec.Operator.initializeChildren(Operator.java:389)        at org.apache.hadoop.hive.ql.exec.SelectOperator.initializeOp(SelectOperator.java:62)        at org.apache.hadoop.hive.ql.exec.Operator.initialize(Operator.java:357)        at org.apache.hadoop.hive.ql.exec.Operator.initialize(Operator.java:433)        at org.apache.hadoop.hive.ql.exec.Operator.initializeChildren(Operator.java:389)        at org.apache.hadoop.hive.ql.exec.Operator.initializeOp(Operator.java:374)        at org.apache.hadoop.hive.ql.exec.Operator.initialize(Operator.java:357)        at org.apache.hadoop.hive.ql.exec.Operator.initialize(Operator.java:433)        at org.apache.hadoop.hive.ql.exec.Operator.initializeChildren(Operator.java:389)        at org.apache.hadoop.hive.ql.exec.TableScanOperator.initializeOp(TableScanOperator.java:133)        at org.apache.hadoop.hive.ql.exec.Operator.initialize(Operator.java:357)        at org.apache.hadoop.hive.ql.exec.MapOperator.initializeOp(MapOperator.java:444)        at org.apache.hadoop.hive.ql.exec.Operator.initialize(Operator.java:357)        at org.apache.hadoop.hive.ql.exec.ExecMapper.configure(ExecMapper.java:98)        ... 22 more2012-12-12 20:36:21,365 INFO org.apache.hadoop.mapred.Task: Runnning cleanup for the task
     
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB