[ 
https://issues.apache.org/jira/browse/HIVE-18262?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16641175#comment-16641175
 ] 

Surya Kiran commented on HIVE-18262:
------------------------------------

[~kuczoram] - can you please share if you have made any progress in resolving 
or working around this issue?

We have a production environment that is on CDH 5.8.3, and we started to 
encounter this exception randomly.

Cheers!!

> ConcurrentModificationException in QueryPlan.extractCounters
> ------------------------------------------------------------
>
>                 Key: HIVE-18262
>                 URL: https://issues.apache.org/jira/browse/HIVE-18262
>             Project: Hive
>          Issue Type: Bug
>          Components: HiveServer2
>    Affects Versions: 2.3.2
>            Reporter: Marta Kuczora
>            Assignee: Marta Kuczora
>            Priority: Major
>
> Intermittently experiencing an issue where the query fails with the following 
> error:
> {noformat}
> 2017-10-27 03:05:48,194 ERROR org.apache.hadoop.hive.ql.Driver: 
> [HiveServer2-Handler-Pool: Thread-10925531]: FAILED: Hive Internal Error: 
> java.util.ConcurrentModificationException(null)
> java.util.ConcurrentModificationException
> at java.util.ArrayList$Itr.checkForComodification(ArrayList.java:901)
> at java.util.ArrayList$Itr.next(ArrayList.java:851)
> at org.apache.hadoop.hive.ql.QueryPlan.extractCounters(QueryPlan.java:381)
> at org.apache.hadoop.hive.ql.QueryPlan.getQueryPlan(QueryPlan.java:436)
> at 
> org.apache.hadoop.hive.ql.exec.Utilities.setWorkflowAdjacencies(Utilities.java:471)
> at org.apache.hadoop.hive.ql.Driver.launchTask(Driver.java:1950)
> at org.apache.hadoop.hive.ql.Driver.execute(Driver.java:1684)
> at org.apache.hadoop.hive.ql.Driver.runInternal(Driver.java:1421)
> at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1205)
> at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1200)
> at 
> org.apache.hive.service.cli.operation.SQLOperation.runQuery(SQLOperation.java:187)
> at 
> org.apache.hive.service.cli.operation.SQLOperation.runInternal(SQLOperation.java:217)
> at org.apache.hive.service.cli.operation.Operation.run(Operation.java:337)
> at 
> org.apache.hive.service.cli.session.HiveSessionImpl.executeStatementInternal(HiveSessionImpl.java:425)
> at 
> org.apache.hive.service.cli.session.HiveSessionImpl.executeStatement(HiveSessionImpl.java:396)
> at sun.reflect.GeneratedMethodAccessor51.invoke(Unknown Source)
> at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> at 
> org.apache.hive.service.cli.session.HiveSessionProxy.invoke(HiveSessionProxy.java:78)
> at 
> org.apache.hive.service.cli.session.HiveSessionProxy.access$000(HiveSessionProxy.java:36)
> at 
> org.apache.hive.service.cli.session.HiveSessionProxy$1.run(HiveSessionProxy.java:63)
> at java.security.AccessController.doPrivileged(Native Method)
> at javax.security.auth.Subject.doAs(Subject.java:422)
> at 
> org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1912)
> at 
> org.apache.hive.service.cli.session.HiveSessionProxy.invoke(HiveSessionProxy.java:59)
> at com.sun.proxy.$Proxy19.executeStatement(Unknown Source)
> at 
> org.apache.hive.service.cli.CLIService.executeStatement(CLIService.java:247)
> at 
> org.apache.hive.service.cli.thrift.ThriftCLIService.ExecuteStatement(ThriftCLIService.java:500)
> at 
> org.apache.hive.service.cli.thrift.TCLIService$Processor$ExecuteStatement.getResult(TCLIService.java:1313)
> at 
> org.apache.hive.service.cli.thrift.TCLIService$Processor$ExecuteStatement.getResult(TCLIService.java:1298)
> at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:39)
> at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:39)
> at 
> org.apache.hive.service.auth.TSetIpAddressProcessor.process(TSetIpAddressProcessor.java:56)
> at 
> org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:286)
> at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> at java.lang.Thread.run(Thread.java:745)
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to