[ https://issues.apache.org/jira/browse/HIVE-14293?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Dai updated HIVE-14293: ------------------------------ Attachment: HIVE-14293.1.patch > PerfLogger.openScopes should be transient > ----------------------------------------- > > Key: HIVE-14293 > URL: https://issues.apache.org/jira/browse/HIVE-14293 > Project: Hive > Issue Type: Bug > Affects Versions: 2.1.0 > Reporter: Daniel Dai > Assignee: Daniel Dai > Attachments: HIVE-14293.1.patch > > > See the following exception when running Hive e2e tests: > {code} > 0: jdbc:hive2://nat-r6-ojss-hsihs2-1.openstac> SELECT s.name, s2.age, s.gpa, > v.registration, v2.contributions FROM student s INNER JOIN voter v ON (s.name > = v.name) INNER JOIN student s2 ON (s2.age = v.age and s.name = s2.name) > INNER JOIN voter v2 ON (v2.name = s2.name and v2.age = s2.age) WHERE v2.age = > s.age ORDER BY s.name, s2.age, s.gpa, v.registration, v2.contributions; > INFO : Compiling > command(queryId=hive_20160717224915_3a52719f-539f-4f82-a9cd-0c0af4e09ef8): > SELECT s.name, s2.age, s.gpa, v.registration, v2.contributions FROM student s > INNER JOIN voter v ON (s.name = v.name) INNER JOIN student s2 ON (s2.age = > v.age and s.name = s2.name) INNER JOIN voter v2 ON (v2.name = s2.name and > v2.age = s2.age) WHERE v2.age = s.age ORDER BY s.name, s2.age, s.gpa, > v.registration, v2.contributions > INFO : Semantic Analysis Completed > INFO : Returning Hive schema: Schema(fieldSchemas:[FieldSchema(name:s.name, > type:string, comment:null), FieldSchema(name:s2.age, type:int, comment:null), > FieldSchema(name:s.gpa, type:double, comment:null), > FieldSchema(name:v.registration, type:string, comment:null), > FieldSchema(name:v2.contributions, type:float, comment:null)], > properties:null) > INFO : Completed compiling > command(queryId=hive_20160717224915_3a52719f-539f-4f82-a9cd-0c0af4e09ef8); > Time taken: 1.165 seconds > INFO : Executing > command(queryId=hive_20160717224915_3a52719f-539f-4f82-a9cd-0c0af4e09ef8): > SELECT s.name, s2.age, s.gpa, v.registration, v2.contributions FROM student s > INNER JOIN voter v ON (s.name = v.name) INNER JOIN student s2 ON (s2.age = > v.age and s.name = s2.name) INNER JOIN voter v2 ON (v2.name = s2.name and > v2.age = s2.age) WHERE v2.age = s.age ORDER BY s.name, s2.age, s.gpa, > v.registration, v2.contributions > INFO : Query ID = hive_20160717224915_3a52719f-539f-4f82-a9cd-0c0af4e09ef8 > INFO : Total jobs = 1 > INFO : Launching Job 1 out of 1 > INFO : Starting task [Stage-1:MAPRED] in serial mode > INFO : Session is already open > INFO : Dag name: SELECT s.name, s2.age, s....v2.contributions(Stage-1) > ERROR : Failed to execute tez graph. > java.lang.RuntimeException: Error caching map.xml: > org.apache.hive.com.esotericsoftware.kryo.KryoException: > java.util.ConcurrentModificationException > Serialization trace: > classes (sun.misc.Launcher$AppClassLoader) > classloader (java.security.ProtectionDomain) > context (java.security.AccessControlContext) > acc (org.apache.hadoop.hive.ql.exec.UDFClassLoader) > classLoader (org.apache.hadoop.hive.conf.HiveConf) > conf (org.apache.hadoop.hive.common.metrics.metrics2.CodahaleMetrics) > metrics > (org.apache.hadoop.hive.common.metrics.metrics2.CodahaleMetrics$CodahaleMetricsScope) > openScopes (org.apache.hadoop.hive.ql.log.PerfLogger) > perfLogger (org.apache.hadoop.hive.ql.exec.MapJoinOperator) > childOperators (org.apache.hadoop.hive.ql.exec.MapJoinOperator) > childOperators (org.apache.hadoop.hive.ql.exec.MapJoinOperator) > childOperators (org.apache.hadoop.hive.ql.exec.SelectOperator) > childOperators (org.apache.hadoop.hive.ql.exec.FilterOperator) > childOperators (org.apache.hadoop.hive.ql.exec.TableScanOperator) > aliasToWork (org.apache.hadoop.hive.ql.plan.MapWork) > at > org.apache.hadoop.hive.ql.exec.Utilities.setBaseWork(Utilities.java:582) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hadoop.hive.ql.exec.Utilities.setMapWork(Utilities.java:516) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hadoop.hive.ql.exec.tez.DagUtils.createVertex(DagUtils.java:601) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hadoop.hive.ql.exec.tez.DagUtils.createVertex(DagUtils.java:1147) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at org.apache.hadoop.hive.ql.exec.tez.TezTask.build(TezTask.java:390) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at org.apache.hadoop.hive.ql.exec.tez.TezTask.execute(TezTask.java:164) > [hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at org.apache.hadoop.hive.ql.exec.Task.executeTask(Task.java:197) > [hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hadoop.hive.ql.exec.TaskRunner.runSequential(TaskRunner.java:100) > [hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at org.apache.hadoop.hive.ql.Driver.launchTask(Driver.java:1865) > [hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at org.apache.hadoop.hive.ql.Driver.execute(Driver.java:1569) > [hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at org.apache.hadoop.hive.ql.Driver.runInternal(Driver.java:1321) > [hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1090) > [hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1083) > [hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.service.cli.operation.SQLOperation.runQuery(SQLOperation.java:242) > [hive-service-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.service.cli.operation.SQLOperation.access$800(SQLOperation.java:91) > [hive-service-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.service.cli.operation.SQLOperation$BackgroundWork$1.run(SQLOperation.java:334) > [hive-service-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at java.security.AccessController.doPrivileged(Native Method) > ~[?:1.8.0_77] > at javax.security.auth.Subject.doAs(Subject.java:422) [?:1.8.0_77] > at > org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1724) > [hadoop-common-2.7.1.2.5.0.0-1009.jar:?] > at > org.apache.hive.service.cli.operation.SQLOperation$BackgroundWork.run(SQLOperation.java:347) > [hive-service-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) > [?:1.8.0_77] > at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_77] > at > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) > [?:1.8.0_77] > at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_77] > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) > [?:1.8.0_77] > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) > [?:1.8.0_77] > at java.lang.Thread.run(Thread.java:745) [?:1.8.0_77] > Caused by: org.apache.hive.com.esotericsoftware.kryo.KryoException: > java.util.ConcurrentModificationException > Serialization trace: > classes (sun.misc.Launcher$AppClassLoader) > classloader (java.security.ProtectionDomain) > context (java.security.AccessControlContext) > acc (org.apache.hadoop.hive.ql.exec.UDFClassLoader) > classLoader (org.apache.hadoop.hive.conf.HiveConf) > conf (org.apache.hadoop.hive.common.metrics.metrics2.CodahaleMetrics) > metrics > (org.apache.hadoop.hive.common.metrics.metrics2.CodahaleMetrics$CodahaleMetricsScope) > openScopes (org.apache.hadoop.hive.ql.log.PerfLogger) > perfLogger (org.apache.hadoop.hive.ql.exec.MapJoinOperator) > childOperators (org.apache.hadoop.hive.ql.exec.MapJoinOperator) > childOperators (org.apache.hadoop.hive.ql.exec.MapJoinOperator) > childOperators (org.apache.hadoop.hive.ql.exec.SelectOperator) > childOperators (org.apache.hadoop.hive.ql.exec.FilterOperator) > childOperators (org.apache.hadoop.hive.ql.exec.TableScanOperator) > aliasToWork (org.apache.hadoop.hive.ql.plan.MapWork) > at > org.apache.hive.com.esotericsoftware.kryo.serializers.ObjectField.write(ObjectField.java:101) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.serializers.FieldSerializer.write(FieldSerializer.java:518) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.Kryo.writeObject(Kryo.java:552) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.serializers.ObjectField.write(ObjectField.java:80) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.serializers.FieldSerializer.write(FieldSerializer.java:518) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.Kryo.writeClassAndObject(Kryo.java:628) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.serializers.DefaultArraySerializers$ObjectArraySerializer.write(DefaultArraySerializers.java:366) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.serializers.DefaultArraySerializers$ObjectArraySerializer.write(DefaultArraySerializers.java:307) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.Kryo.writeObject(Kryo.java:552) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.serializers.ObjectField.write(ObjectField.java:80) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.serializers.FieldSerializer.write(FieldSerializer.java:518) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.Kryo.writeObjectOrNull(Kryo.java:606) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.serializers.ObjectField.write(ObjectField.java:87) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.serializers.FieldSerializer.write(FieldSerializer.java:518) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.Kryo.writeObject(Kryo.java:552) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.serializers.ObjectField.write(ObjectField.java:80) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.serializers.FieldSerializer.write(FieldSerializer.java:518) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.Kryo.writeObject(Kryo.java:552) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.serializers.ObjectField.write(ObjectField.java:80) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.serializers.FieldSerializer.write(FieldSerializer.java:518) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.Kryo.writeObject(Kryo.java:552) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.serializers.ObjectField.write(ObjectField.java:80) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.serializers.FieldSerializer.write(FieldSerializer.java:518) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.Kryo.writeClassAndObject(Kryo.java:628) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.serializers.MapSerializer.write(MapSerializer.java:113) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.serializers.MapSerializer.write(MapSerializer.java:39) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.Kryo.writeObject(Kryo.java:552) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.serializers.ObjectField.write(ObjectField.java:80) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.serializers.FieldSerializer.write(FieldSerializer.java:518) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.Kryo.writeObject(Kryo.java:552) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.serializers.ObjectField.write(ObjectField.java:80) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.serializers.FieldSerializer.write(FieldSerializer.java:518) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.Kryo.writeClassAndObject(Kryo.java:628) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.serializers.CollectionSerializer.write(CollectionSerializer.java:100) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.serializers.CollectionSerializer.write(CollectionSerializer.java:40) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.Kryo.writeObject(Kryo.java:552) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.serializers.ObjectField.write(ObjectField.java:80) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.serializers.FieldSerializer.write(FieldSerializer.java:518) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.Kryo.writeClassAndObject(Kryo.java:628) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.serializers.CollectionSerializer.write(CollectionSerializer.java:100) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.serializers.CollectionSerializer.write(CollectionSerializer.java:40) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.Kryo.writeObject(Kryo.java:552) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.serializers.ObjectField.write(ObjectField.java:80) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.serializers.FieldSerializer.write(FieldSerializer.java:518) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.Kryo.writeClassAndObject(Kryo.java:628) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.serializers.CollectionSerializer.write(CollectionSerializer.java:100) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.serializers.CollectionSerializer.write(CollectionSerializer.java:40) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.Kryo.writeObject(Kryo.java:552) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.serializers.ObjectField.write(ObjectField.java:80) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.serializers.FieldSerializer.write(FieldSerializer.java:518) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.Kryo.writeClassAndObject(Kryo.java:628) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.serializers.CollectionSerializer.write(CollectionSerializer.java:100) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.serializers.CollectionSerializer.write(CollectionSerializer.java:40) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.Kryo.writeObject(Kryo.java:552) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.serializers.ObjectField.write(ObjectField.java:80) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.serializers.FieldSerializer.write(FieldSerializer.java:518) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.Kryo.writeClassAndObject(Kryo.java:628) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.serializers.CollectionSerializer.write(CollectionSerializer.java:100) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.serializers.CollectionSerializer.write(CollectionSerializer.java:40) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.Kryo.writeObject(Kryo.java:552) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.serializers.ObjectField.write(ObjectField.java:80) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.serializers.FieldSerializer.write(FieldSerializer.java:518) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.Kryo.writeClassAndObject(Kryo.java:628) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.serializers.MapSerializer.write(MapSerializer.java:113) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.serializers.MapSerializer.write(MapSerializer.java:39) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.Kryo.writeObject(Kryo.java:552) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.serializers.ObjectField.write(ObjectField.java:80) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.serializers.FieldSerializer.write(FieldSerializer.java:518) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.Kryo.writeObject(Kryo.java:534) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hadoop.hive.ql.exec.SerializationUtilities.serializeObjectByKryo(SerializationUtilities.java:578) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hadoop.hive.ql.exec.SerializationUtilities.serializePlan(SerializationUtilities.java:454) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hadoop.hive.ql.exec.SerializationUtilities.serializePlan(SerializationUtilities.java:435) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hadoop.hive.ql.exec.Utilities.setBaseWork(Utilities.java:537) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > ... 26 more > Caused by: java.util.ConcurrentModificationException > at java.util.Vector$Itr.checkForComodification(Vector.java:1184) > ~[?:1.8.0_77] > at java.util.Vector$Itr.next(Vector.java:1137) ~[?:1.8.0_77] > at > org.apache.hive.com.esotericsoftware.kryo.serializers.CollectionSerializer.write(CollectionSerializer.java:92) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.serializers.CollectionSerializer.write(CollectionSerializer.java:40) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.Kryo.writeObject(Kryo.java:552) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.serializers.ObjectField.write(ObjectField.java:80) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.serializers.FieldSerializer.write(FieldSerializer.java:518) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.Kryo.writeObject(Kryo.java:552) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.serializers.ObjectField.write(ObjectField.java:80) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.serializers.FieldSerializer.write(FieldSerializer.java:518) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.Kryo.writeClassAndObject(Kryo.java:628) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.serializers.DefaultArraySerializers$ObjectArraySerializer.write(DefaultArraySerializers.java:366) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.serializers.DefaultArraySerializers$ObjectArraySerializer.write(DefaultArraySerializers.java:307) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.Kryo.writeObject(Kryo.java:552) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.serializers.ObjectField.write(ObjectField.java:80) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.serializers.FieldSerializer.write(FieldSerializer.java:518) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.Kryo.writeObjectOrNull(Kryo.java:606) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.serializers.ObjectField.write(ObjectField.java:87) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.serializers.FieldSerializer.write(FieldSerializer.java:518) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.Kryo.writeObject(Kryo.java:552) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.serializers.ObjectField.write(ObjectField.java:80) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.serializers.FieldSerializer.write(FieldSerializer.java:518) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.Kryo.writeObject(Kryo.java:552) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.serializers.ObjectField.write(ObjectField.java:80) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.serializers.FieldSerializer.write(FieldSerializer.java:518) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.Kryo.writeObject(Kryo.java:552) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.serializers.ObjectField.write(ObjectField.java:80) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.serializers.FieldSerializer.write(FieldSerializer.java:518) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.Kryo.writeClassAndObject(Kryo.java:628) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.serializers.MapSerializer.write(MapSerializer.java:113) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.serializers.MapSerializer.write(MapSerializer.java:39) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.Kryo.writeObject(Kryo.java:552) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.serializers.ObjectField.write(ObjectField.java:80) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.serializers.FieldSerializer.write(FieldSerializer.java:518) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.Kryo.writeObject(Kryo.java:552) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.serializers.ObjectField.write(ObjectField.java:80) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.serializers.FieldSerializer.write(FieldSerializer.java:518) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.Kryo.writeClassAndObject(Kryo.java:628) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.serializers.CollectionSerializer.write(CollectionSerializer.java:100) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.serializers.CollectionSerializer.write(CollectionSerializer.java:40) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.Kryo.writeObject(Kryo.java:552) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.serializers.ObjectField.write(ObjectField.java:80) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.serializers.FieldSerializer.write(FieldSerializer.java:518) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.Kryo.writeClassAndObject(Kryo.java:628) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.serializers.CollectionSerializer.write(CollectionSerializer.java:100) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.serializers.CollectionSerializer.write(CollectionSerializer.java:40) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.Kryo.writeObject(Kryo.java:552) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.serializers.ObjectField.write(ObjectField.java:80) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.serializers.FieldSerializer.write(FieldSerializer.java:518) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.Kryo.writeClassAndObject(Kryo.java:628) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.serializers.CollectionSerializer.write(CollectionSerializer.java:100) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.serializers.CollectionSerializer.write(CollectionSerializer.java:40) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.Kryo.writeObject(Kryo.java:552) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.serializers.ObjectField.write(ObjectField.java:80) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.serializers.FieldSerializer.write(FieldSerializer.java:518) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.Kryo.writeClassAndObject(Kryo.java:628) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.serializers.CollectionSerializer.write(CollectionSerializer.java:100) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.serializers.CollectionSerializer.write(CollectionSerializer.java:40) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.Kryo.writeObject(Kryo.java:552) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.serializers.ObjectField.write(ObjectField.java:80) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.serializers.FieldSerializer.write(FieldSerializer.java:518) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.Kryo.writeClassAndObject(Kryo.java:628) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.serializers.CollectionSerializer.write(CollectionSerializer.java:100) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.serializers.CollectionSerializer.write(CollectionSerializer.java:40) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.Kryo.writeObject(Kryo.java:552) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.serializers.ObjectField.write(ObjectField.java:80) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.serializers.FieldSerializer.write(FieldSerializer.java:518) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.Kryo.writeClassAndObject(Kryo.java:628) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.serializers.MapSerializer.write(MapSerializer.java:113) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.serializers.MapSerializer.write(MapSerializer.java:39) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.Kryo.writeObject(Kryo.java:552) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.serializers.ObjectField.write(ObjectField.java:80) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.serializers.FieldSerializer.write(FieldSerializer.java:518) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hive.com.esotericsoftware.kryo.Kryo.writeObject(Kryo.java:534) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hadoop.hive.ql.exec.SerializationUtilities.serializeObjectByKryo(SerializationUtilities.java:578) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hadoop.hive.ql.exec.SerializationUtilities.serializePlan(SerializationUtilities.java:454) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hadoop.hive.ql.exec.SerializationUtilities.serializePlan(SerializationUtilities.java:435) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > at > org.apache.hadoop.hive.ql.exec.Utilities.setBaseWork(Utilities.java:537) > ~[hive-exec-2.1.0.2.5.0.0-1009.jar:2.1.0.2.5.0.0-1009] > ... 26 more > ERROR : FAILED: Execution Error, return code 1 from > org.apache.hadoop.hive.ql.exec.tez.TezTask > INFO : Completed executing > command(queryId=hive_20160717224915_3a52719f-539f-4f82-a9cd-0c0af4e09ef8); > Time taken: 0.171 seconds > Error: Error while processing statement: FAILED: Execution Error, return code > 1 from org.apache.hadoop.hive.ql.exec.tez.TezTask (state=08S01,code=1) > {code} > The reason is openScopes shall not be serialized to the backend. Need to mark > it transient. -- This message was sent by Atlassian JIRA (v6.3.4#6332)