[
https://issues.apache.org/jira/browse/CALCITE-3654?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Vladimir Sitnikov updated CALCITE-3654:
---------------------------------------
Description:
It looks something is wrong with adapter.elasticsearch, and it makes it
complicated to analyze CI logs.
Sample: https://travis-ci.org/apache/calcite/jobs/631271106#L736-L741
{noformat}
org.apache.calcite.adapter.elasticsearch.AggregationTest STANDARD_OUT
[WARN ] 11:52:07.438
org.elasticsearch.cluster.service.ClusterApplierService.lambda$callClusterStateListeners$6()
- failed to notify ClusterStateListener
org.apache.lucene.util.SetOnce$AlreadySetException: The object cannot be
set twice!
at org.apache.lucene.util.SetOnce.set(SetOnce.java:69)
~[lucene-core-8.0.0.jar:8.0.0 2ae4746365c1ee72a0047ced7610b2096e438979 - jimczi
- 2019-03-08 11:58:55]
at
org.elasticsearch.common.logging.NodeAndClusterIdConverter.setNodeIdAndClusterId(NodeAndClusterIdConverter.java:59)
~[elasticsearch-7.0.1.jar:7.0.1]
at
org.elasticsearch.common.logging.NodeAndClusterIdStateListener.onNewClusterState(NodeAndClusterIdStateListener.java:69)
~[elasticsearch-7.0.1.jar:7.0.1]
at
org.elasticsearch.cluster.ClusterStateObserver$ContextPreservingListener.onNewClusterState(ClusterStateObserver.java:308)
~[elasticsearch-7.0.1.jar:7.0.1]
at
org.elasticsearch.cluster.ClusterStateObserver$ObserverClusterStateListener.clusterChanged(ClusterStateObserver.java:193)
~[elasticsearch-7.0.1.jar:7.0.1]
at
org.elasticsearch.cluster.service.ClusterApplierService.lambda$callClusterStateListeners$6(ClusterApplierService.java:486)
~[elasticsearch-7.0.1.jar:7.0.1]
at
java.util.concurrent.ConcurrentHashMap$KeySpliterator.forEachRemaining(ConcurrentHashMap.java:3527)
[?:1.8.0_222]
at
java.util.stream.Streams$ConcatSpliterator.forEachRemaining(Streams.java:743)
[?:1.8.0_222]
at
java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:647)
[?:1.8.0_222]
at
org.elasticsearch.cluster.service.ClusterApplierService.callClusterStateListeners(ClusterApplierService.java:483)
[elasticsearch-7.0.1.jar:7.0.1]
at
org.elasticsearch.cluster.service.ClusterApplierService.applyChanges(ClusterApplierService.java:472)
[elasticsearch-7.0.1.jar:7.0.1]
at
org.elasticsearch.cluster.service.ClusterApplierService.runTask(ClusterApplierService.java:413)
[elasticsearch-7.0.1.jar:7.0.1]
at
org.elasticsearch.cluster.service.ClusterApplierService$UpdateTask.run(ClusterApplierService.java:164)
[elasticsearch-7.0.1.jar:7.0.1]
at
org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingRunnable.run(ThreadContext.java:681)
[elasticsearch-7.0.1.jar:7.0.1]
at
org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.runAndClean(PrioritizedEsThreadPoolExecutor.java:252)
[elasticsearch-7.0.1.jar:7.0.1]
at
org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.run(PrioritizedEsThreadPoolExecutor.java:215)
[elasticsearch-7.0.1.jar:7.0.1]
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
[?:1.8.0_222]
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
[?:1.8.0_222]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_222]
{noformat}
was:
It looks something is wrong with adapter.elasticsearch, and it makes it
complicated to analyze CI logs.
{noformat}
org.apache.calcite.adapter.elasticsearch.AggregationTest STANDARD_OUT
[WARN ] 11:52:07.438
org.elasticsearch.cluster.service.ClusterApplierService.lambda$callClusterStateListeners$6()
- failed to notify ClusterStateListener
org.apache.lucene.util.SetOnce$AlreadySetException: The object cannot be
set twice!
at org.apache.lucene.util.SetOnce.set(SetOnce.java:69)
~[lucene-core-8.0.0.jar:8.0.0 2ae4746365c1ee72a0047ced7610b2096e438979 - jimczi
- 2019-03-08 11:58:55]
at
org.elasticsearch.common.logging.NodeAndClusterIdConverter.setNodeIdAndClusterId(NodeAndClusterIdConverter.java:59)
~[elasticsearch-7.0.1.jar:7.0.1]
at
org.elasticsearch.common.logging.NodeAndClusterIdStateListener.onNewClusterState(NodeAndClusterIdStateListener.java:69)
~[elasticsearch-7.0.1.jar:7.0.1]
at
org.elasticsearch.cluster.ClusterStateObserver$ContextPreservingListener.onNewClusterState(ClusterStateObserver.java:308)
~[elasticsearch-7.0.1.jar:7.0.1]
at
org.elasticsearch.cluster.ClusterStateObserver$ObserverClusterStateListener.clusterChanged(ClusterStateObserver.java:193)
~[elasticsearch-7.0.1.jar:7.0.1]
at
org.elasticsearch.cluster.service.ClusterApplierService.lambda$callClusterStateListeners$6(ClusterApplierService.java:486)
~[elasticsearch-7.0.1.jar:7.0.1]
at
java.util.concurrent.ConcurrentHashMap$KeySpliterator.forEachRemaining(ConcurrentHashMap.java:3527)
[?:1.8.0_222]
at
java.util.stream.Streams$ConcatSpliterator.forEachRemaining(Streams.java:743)
[?:1.8.0_222]
at
java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:647)
[?:1.8.0_222]
at
org.elasticsearch.cluster.service.ClusterApplierService.callClusterStateListeners(ClusterApplierService.java:483)
[elasticsearch-7.0.1.jar:7.0.1]
at
org.elasticsearch.cluster.service.ClusterApplierService.applyChanges(ClusterApplierService.java:472)
[elasticsearch-7.0.1.jar:7.0.1]
at
org.elasticsearch.cluster.service.ClusterApplierService.runTask(ClusterApplierService.java:413)
[elasticsearch-7.0.1.jar:7.0.1]
at
org.elasticsearch.cluster.service.ClusterApplierService$UpdateTask.run(ClusterApplierService.java:164)
[elasticsearch-7.0.1.jar:7.0.1]
at
org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingRunnable.run(ThreadContext.java:681)
[elasticsearch-7.0.1.jar:7.0.1]
at
org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.runAndClean(PrioritizedEsThreadPoolExecutor.java:252)
[elasticsearch-7.0.1.jar:7.0.1]
at
org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.run(PrioritizedEsThreadPoolExecutor.java:215)
[elasticsearch-7.0.1.jar:7.0.1]
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
[?:1.8.0_222]
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
[?:1.8.0_222]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_222]
{noformat}
> Elasticsearch tests produce noise in the test output
> ----------------------------------------------------
>
> Key: CALCITE-3654
> URL: https://issues.apache.org/jira/browse/CALCITE-3654
> Project: Calcite
> Issue Type: New Feature
> Components: elasticsearch-adapter
> Affects Versions: 1.21.0
> Reporter: Vladimir Sitnikov
> Priority: Major
> Labels: newbie
>
> It looks something is wrong with adapter.elasticsearch, and it makes it
> complicated to analyze CI logs.
> Sample: https://travis-ci.org/apache/calcite/jobs/631271106#L736-L741
> {noformat}
> org.apache.calcite.adapter.elasticsearch.AggregationTest STANDARD_OUT
> [WARN ] 11:52:07.438
> org.elasticsearch.cluster.service.ClusterApplierService.lambda$callClusterStateListeners$6()
> - failed to notify ClusterStateListener
> org.apache.lucene.util.SetOnce$AlreadySetException: The object cannot be
> set twice!
> at org.apache.lucene.util.SetOnce.set(SetOnce.java:69)
> ~[lucene-core-8.0.0.jar:8.0.0 2ae4746365c1ee72a0047ced7610b2096e438979 -
> jimczi - 2019-03-08 11:58:55]
> at
> org.elasticsearch.common.logging.NodeAndClusterIdConverter.setNodeIdAndClusterId(NodeAndClusterIdConverter.java:59)
> ~[elasticsearch-7.0.1.jar:7.0.1]
> at
> org.elasticsearch.common.logging.NodeAndClusterIdStateListener.onNewClusterState(NodeAndClusterIdStateListener.java:69)
> ~[elasticsearch-7.0.1.jar:7.0.1]
> at
> org.elasticsearch.cluster.ClusterStateObserver$ContextPreservingListener.onNewClusterState(ClusterStateObserver.java:308)
> ~[elasticsearch-7.0.1.jar:7.0.1]
> at
> org.elasticsearch.cluster.ClusterStateObserver$ObserverClusterStateListener.clusterChanged(ClusterStateObserver.java:193)
> ~[elasticsearch-7.0.1.jar:7.0.1]
> at
> org.elasticsearch.cluster.service.ClusterApplierService.lambda$callClusterStateListeners$6(ClusterApplierService.java:486)
> ~[elasticsearch-7.0.1.jar:7.0.1]
> at
> java.util.concurrent.ConcurrentHashMap$KeySpliterator.forEachRemaining(ConcurrentHashMap.java:3527)
> [?:1.8.0_222]
> at
> java.util.stream.Streams$ConcatSpliterator.forEachRemaining(Streams.java:743)
> [?:1.8.0_222]
> at
> java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:647)
> [?:1.8.0_222]
> at
> org.elasticsearch.cluster.service.ClusterApplierService.callClusterStateListeners(ClusterApplierService.java:483)
> [elasticsearch-7.0.1.jar:7.0.1]
> at
> org.elasticsearch.cluster.service.ClusterApplierService.applyChanges(ClusterApplierService.java:472)
> [elasticsearch-7.0.1.jar:7.0.1]
> at
> org.elasticsearch.cluster.service.ClusterApplierService.runTask(ClusterApplierService.java:413)
> [elasticsearch-7.0.1.jar:7.0.1]
> at
> org.elasticsearch.cluster.service.ClusterApplierService$UpdateTask.run(ClusterApplierService.java:164)
> [elasticsearch-7.0.1.jar:7.0.1]
> at
> org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingRunnable.run(ThreadContext.java:681)
> [elasticsearch-7.0.1.jar:7.0.1]
> at
> org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.runAndClean(PrioritizedEsThreadPoolExecutor.java:252)
> [elasticsearch-7.0.1.jar:7.0.1]
> at
> org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.run(PrioritizedEsThreadPoolExecutor.java:215)
> [elasticsearch-7.0.1.jar:7.0.1]
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
> [?:1.8.0_222]
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
> [?:1.8.0_222]
> at java.lang.Thread.run(Thread.java:748) [?:1.8.0_222]
> {noformat}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)