Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-27733

Intermittent ConcurrentModificationException in HiveServer2

    XMLWordPrintableJSON

Details

    Description

      Some tests sporadically fail with a cause that looks like:

      Caused by: java.util.ConcurrentModificationException
      	at java.util.HashMap$HashIterator.nextNode(HashMap.java:1493) ~[?:?]
      	at java.util.HashMap$EntryIterator.next(HashMap.java:1526) ~[?:?]
      	at java.util.HashMap$EntryIterator.next(HashMap.java:1524) ~[?:?]
      	at java.util.AbstractCollection.toArray(AbstractCollection.java:200) ~[?:?]
      	at com.google.common.collect.Iterables.toArray(Iterables.java:285) ~[hive-exec-3.1.3000.7.1.8.0-774.jar:3.1.3000.7.1.8.0-774]
      	at com.google.common.collect.ImmutableMap.copyOf(ImmutableMap.java:451) ~[hive-exec-3.1.3000.7.1.8.0-774.jar:3.1.3000.7.1.8.0-774]
      	at com.google.common.collect.ImmutableMap.copyOf(ImmutableMap.java:436) ~[hive-exec-3.1.3000.7.1.8.0-774.jar:3.1.3000.7.1.8.0-774]
      	at org.apache.hadoop.hive.ql.log.PerfLogger.getEndTimes(PerfLogger.java:227) ~[hive-exec-3.1.3000.7.1.8.0-774.jar:3.1.3000.7.1.8.0-774]
      	at org.apache.hadoop.hive.ql.Driver.compileInternal(Driver.java:629) ~[hive-exec-3.1.3000.7.1.8.0-774.jar:3.1.3000.7.1.8.0-774]
      	at org.apache.hadoop.hive.ql.Driver.compileAndRespond(Driver.java:560) ~[hive-exec-3.1.3000.7.1.8.0-774.jar:3.1.3000.7.1.8.0-774]
      	at org.apache.hadoop.hive.ql.Driver.compileAndRespond(Driver.java:554) ~[hive-exec-3.1.3000.7.1.8.0-774.jar:3.1.3000.7.1.8.0-774]
      	at org.apache.hadoop.hive.ql.reexec.ReExecDriver.compileAndRespond(ReExecDriver.java:127) ~[hive-exec-3.1.3000.7.1.8.0-774.jar:3.1.3000.7.1.8.0-774]
      	at org.apache.hive.service.cli.operation.SQLOperation.prepare(SQLOperation.java:200) ~[hive-service-3.1.3000.7.1.8.0-774.jar:3.1.3000.7.1.8.0-774]
      	... 51 more
      

      Attachments

        Issue Links

          Activity

            People

              henrib Henri Biestro
              henrib Henri Biestro
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: