apache / druid

Apache Druid: a high performance real-time analytics database.
https://druid.apache.org/
Apache License 2.0
13.5k stars 3.7k forks source link

Kill task sopped by OOM on large number of segments #9996

Closed AKarbas closed 1 year ago

AKarbas commented 4 years ago

Hi.

I'm on Druid 0.16.0-incubating on OpenJDK 8u162-jre.

I had this overly large datasource with ~170K segments, being ingested from Kafka. The problem was the data was wrongly timestamped and on each run of the ingestion task, hundreds of segments were created if not thousands.

I realized this, and in an attempt to clean up, stopped the supervisor, dropped the datasource, and issued a kill task to clean it up all the way. -- all through the druid console.

Now, the kill task fails with this as it's last log line:

Terminating due to java.lang.OutOfMemoryError: Java heap space

Some logged configurations (Tell me what to add.):

druid.indexer.runner.javaOpts: -server -Xms1g -Xmx1g -XX:MaxDirectMemorySize=1536m -Duser.timezone=UTC -Dfile.encoding=UTF-8 -XX:+ExitOnOutOfMemoryError -Djava.util.logging.manager=org.apache.logging.log4j.jul.LogManager
druid.indexer.fork.property.druid.processing.buffer.sizeBytes: 268435456
druid.indexer.fork.property.druid.processing.numMergeBuffers: 2
druid.indexer.fork.property.druid.processing.numThreads: 1

Any ideas? I was thinking submitting kill tasks with smaller time chunks than 1000-... to 3000-... could reduce the number of segments to kill in each run, but shouldn't this be handled automatically?

Lastly, if this in fact is a bug that still exists in the latest version, I'd be happy to submit a PR to fix it if you point me in the right direction.

Cheers

FrankChen021 commented 4 years ago

we're using the same version. And several months ago, we deleted more than 300K segments without any error.

Have you checked the available memory on your server ? Could you attach the full task log here ?

jihoonson commented 4 years ago

Hi @AKarbas, the kill task first retrieves all segments to kill in memory, so the OOM error probably was because of too many segments compared to the max Java heap size. You can either increase the max heap size or reduce the number of segments per kill task.

BTW, have you considered setting druid.coordinator.kill.on? The coordinator will issue kill tasks automatically. See https://druid.apache.org/docs/latest/configuration/index.html#coordinator-operation for more details.

jihoonson commented 4 years ago

@AKarbas I opened https://github.com/apache/druid/issues/10002. It could help in your use case in the future.

AKarbas commented 4 years ago

Hi @AKarbas, the kill task first retrieves all segments to kill in memory, so the OOM error probably was because of too many segments compared to the max Java heap size. You can either increase the max heap size or reduce the number of segments per kill task.

Hi @jihoonson, That makes sense. I have tried reducing the number of segments by specifying small(er) time periods and that worked. I haven't tried increasing the max Java heap size. IIRC, that's a peon configuration, and I'd rather not increase java heap size for all other tasks that are working fine. So, increasing heap size is a last resort kinda thing.

BTW, have you considered setting druid.coordinator.kill.on? The coordinator will issue kill tasks automatically.

This should do it. With the druid.coordinator.kill.maxSegments configuration, I could can make it do the whole thing in multiple runs.

Thanks. (:

AKarbas commented 4 years ago

@FrankChen021 :

Haven't checked the server memory on task run, but I recall having enough memory on the server for the number of tasks and task memories configured. Will double check it though.

Full log Some internal stuff are censored. ``` 2020-06-10T19:38:19,532 INFO [main] org.apache.druid.guice.PropertiesModule - Loading properties from common.runtime.properties 2020-06-10T19:38:19,535 INFO [main] org.apache.druid.guice.PropertiesModule - Loading properties from runtime.properties 2020-06-10T19:38:19,664 INFO [main] org.hibernate.validator.internal.util.Version - HV000001: Hibernate Validator 5.1.3.Final 2020-06-10T19:38:21,368 INFO [main] org.apache.druid.guice.JsonConfigurator - Loaded class[class org.apache.druid.common.config.NullValueHandlingConfig] from props[druid.generic.] as [org.apache.druid.common.config.NullValueHandlingConfig@7f36662c] 2020-06-10T19:38:21,564 INFO [main] org.apache.druid.guice.JsonConfigurator - Loaded class[class org.apache.druid.guice.ExtensionsConfig] from props[druid.extensions.] as [ExtensionsConfig{searchCurrentClassloader=true, directory='extensions', useExtensionClassloaderFirst=false, hadoopDependenciesDir='hadoop-dependencies', hadoopContainerDruidClasspath='null', addExtensionsToHadoopContainer=false, loadList=[druid-kafka-indexing-service, druid-hdfs-storage, druid-histogram, druid-datasketches, druid-stats, postgresql-metadata-storage, statsd-emitter, druid-parquet-extensions, druid-avro-extensions]}] 2020-06-10T19:38:21,584 INFO [main] org.apache.druid.initialization.Initialization - Loading extension [druid-kafka-indexing-service] for class [interface org.apache.druid.cli.CliCommandCreator] 2020-06-10T19:38:21,611 INFO [main] org.apache.druid.initialization.Initialization - added URL[file:/opt/druid/extensions/druid-kafka-indexing-service/zstd-jni-1.3.3-1.jar] for extension[druid-kafka-indexing-service] 2020-06-10T19:38:21,611 INFO [main] org.apache.druid.initialization.Initialization - added URL[file:/opt/druid/extensions/druid-kafka-indexing-service/snappy-java-1.1.7.2.jar] for extension[druid-kafka-indexing-service] 2020-06-10T19:38:21,611 INFO [main] org.apache.druid.initialization.Initialization - added URL[file:/opt/druid/extensions/druid-kafka-indexing-service/kafka-clients-2.1.0.jar] for extension[druid-kafka-indexing-service] 2020-06-10T19:38:21,611 INFO [main] org.apache.druid.initialization.Initialization - added URL[file:/opt/druid/extensions/druid-kafka-indexing-service/lz4-java-1.6.0.jar] for extension[druid-kafka-indexing-service] 2020-06-10T19:38:21,612 INFO [main] org.apache.druid.initialization.Initialization - added URL[file:/opt/druid/extensions/druid-kafka-indexing-service/druid-kafka-indexing-service-0.16.0-incubating.jar] for extension[druid-kafka-indexing-service] 2020-06-10T19:38:21,622 INFO [main] org.apache.druid.initialization.Initialization - Loading extension [druid-hdfs-storage] for class [interface org.apache.druid.cli.CliCommandCreator] 2020-06-10T19:38:21,623 INFO [main] org.apache.druid.initialization.Initialization - added URL[file:/opt/druid/extensions/druid-hdfs-storage/jetty-sslengine-6.1.26.jar] for extension[druid-hdfs-storage] 2020-06-10T19:38:21,623 INFO [main] org.apache.druid.initialization.Initialization - added URL[file:/opt/druid/extensions/druid-hdfs-storage/commons-beanutils-1.7.0.jar] for extension[druid-hdfs-storage] 2020-06-10T19:38:21,624 INFO [main] org.apache.druid.initialization.Initialization - added URL[file:/opt/druid/extensions/druid-hdfs-storage/commons-collections-3.2.2.jar] for extension[druid-hdfs-storage] 2020-06-10T19:38:21,624 INFO [main] org.apache.druid.initialization.Initialization - added URL[file:/opt/druid/extensions/druid-hdfs-storage/hadoop-mapreduce-client-common-2.8.3.jar] for extension[druid-hdfs-storage] 2020-06-10T19:38:21,624 INFO [main] org.apache.druid.initialization.Initialization - added URL[file:/opt/druid/extensions/druid-hdfs-storage/gson-2.2.4.jar] for extension[druid-hdfs-storage] 2020-06-10T19:38:21,626 INFO [main] org.apache.druid.initialization.Initialization - added URL[file:/opt/druid/extensions/druid-hdfs-storage/commons-beanutils-core-1.8.0.jar] for extension[druid-hdfs-storage] 2020-06-10T19:38:21,634 INFO [main] org.apache.druid.initialization.Initialization - added URL[file:/opt/druid/extensions/druid-hdfs-storage/druid-hdfs-storage-0.16.0-incubating.jar] for extension[druid-hdfs-storage] 2020-06-10T19:38:21,634 INFO [main] org.apache.druid.initialization.Initialization - added URL[file:/opt/druid/extensions/druid-hdfs-storage/json-smart-1.1.1.jar] for extension[druid-hdfs-storage] 2020-06-10T19:38:21,634 INFO [main] org.apache.druid.initialization.Initialization - added URL[file:/opt/druid/extensions/druid-hdfs-storage/commons-configuration-1.6.jar] for extension[druid-hdfs-storage] 2020-06-10T19:38:21,634 INFO [main] org.apache.druid.initialization.Initialization - added URL[file:/opt/druid/extensions/druid-hdfs-storage/nimbus-jose-jwt-3.9.jar] for extension[druid-hdfs-storage] 2020-06-10T19:38:21,635 INFO [main] org.apache.druid.initialization.Initialization - added URL[file:/opt/druid/extensions/druid-hdfs-storage/hadoop-hdfs-client-2.8.3.jar] for extension[druid-hdfs-storage] 2020-06-10T19:38:21,635 INFO [main] org.apache.druid.initialization.Initialization - added URL[file:/opt/druid/extensions/druid-hdfs-storage/hadoop-mapreduce-client-jobclient-2.8.3.jar] for extension[druid-hdfs-storage] 2020-06-10T19:38:21,635 INFO [main] org.apache.druid.initialization.Initialization - added URL[file:/opt/druid/extensions/druid-hdfs-storage/hadoop-yarn-api-2.8.3.jar] for extension[druid-hdfs-storage] 2020-06-10T19:38:21,635 INFO [main] org.apache.druid.initialization.Initialization - added URL[file:/opt/druid/extensions/druid-hdfs-storage/commons-compress-1.18.jar] for extension[druid-hdfs-storage] 2020-06-10T19:38:21,635 INFO [main] org.apache.druid.initialization.Initialization - added URL[file:/opt/druid/extensions/druid-hdfs-storage/hadoop-auth-2.8.3.jar] for extension[druid-hdfs-storage] 2020-06-10T19:38:21,635 INFO [main] org.apache.druid.initialization.Initialization - added URL[file:/opt/druid/extensions/druid-hdfs-storage/apacheds-kerberos-codec-2.0.0-M15.jar] for extension[druid-hdfs-storage] 2020-06-10T19:38:21,636 INFO [main] org.apache.druid.initialization.Initialization - added URL[file:/opt/druid/extensions/druid-hdfs-storage/hadoop-mapreduce-client-app-2.8.3.jar] for extension[druid-hdfs-storage] 2020-06-10T19:38:21,636 INFO [main] org.apache.druid.initialization.Initialization - added URL[file:/opt/druid/extensions/druid-hdfs-storage/okio-1.4.0.jar] for extension[druid-hdfs-storage] 2020-06-10T19:38:21,636 INFO [main] org.apache.druid.initialization.Initialization - added URL[file:/opt/druid/extensions/druid-hdfs-storage/hadoop-common-2.8.3.jar] for extension[druid-hdfs-storage] 2020-06-10T19:38:21,638 INFO [main] org.apache.druid.initialization.Initialization - added URL[file:/opt/druid/extensions/druid-hdfs-storage/hadoop-client-2.8.3.jar] for extension[druid-hdfs-storage] 2020-06-10T19:38:21,645 INFO [main] org.apache.druid.initialization.Initialization - added URL[file:/opt/druid/extensions/druid-hdfs-storage/okhttp-2.4.0.jar] for extension[druid-hdfs-storage] 2020-06-10T19:38:21,646 INFO [main] org.apache.druid.initialization.Initialization - added URL[file:/opt/druid/extensions/druid-hdfs-storage/curator-recipes-4.1.0.jar] for extension[druid-hdfs-storage] 2020-06-10T19:38:21,646 INFO [main] org.apache.druid.initialization.Initialization - added URL[file:/opt/druid/extensions/druid-hdfs-storage/apacheds-i18n-2.0.0-M15.jar] for extension[druid-hdfs-storage] 2020-06-10T19:38:21,646 INFO [main] org.apache.druid.initialization.Initialization - added URL[file:/opt/druid/extensions/druid-hdfs-storage/curator-framework-4.1.0.jar] for extension[druid-hdfs-storage] 2020-06-10T19:38:21,646 INFO [main] org.apache.druid.initialization.Initialization - added URL[file:/opt/druid/extensions/druid-hdfs-storage/commons-net-3.6.jar] for extension[druid-hdfs-storage] 2020-06-10T19:38:21,647 INFO [main] org.apache.druid.initialization.Initialization - added URL[file:/opt/druid/extensions/druid-hdfs-storage/xmlenc-0.52.jar] for extension[druid-hdfs-storage] 2020-06-10T19:38:21,647 INFO [main] org.apache.druid.initialization.Initialization - added URL[file:/opt/druid/extensions/druid-hdfs-storage/api-util-1.0.0-M20.jar] for extension[druid-hdfs-storage] 2020-06-10T19:38:21,647 INFO [main] org.apache.druid.initialization.Initialization - added URL[file:/opt/druid/extensions/druid-hdfs-storage/htrace-core4-4.0.1-incubating.jar] for extension[druid-hdfs-storage] 2020-06-10T19:38:21,647 INFO [main] org.apache.druid.initialization.Initialization - added URL[file:/opt/druid/extensions/druid-hdfs-storage/hadoop-yarn-client-2.8.3.jar] for extension[druid-hdfs-storage] 2020-06-10T19:38:21,647 INFO [main] org.apache.druid.initialization.Initialization - added URL[file:/opt/druid/extensions/druid-hdfs-storage/jcip-annotations-1.0.jar] for extension[druid-hdfs-storage] 2020-06-10T19:38:21,647 INFO [main] org.apache.druid.initialization.Initialization - added URL[file:/opt/druid/extensions/druid-hdfs-storage/leveldbjni-all-1.8.jar] for extension[druid-hdfs-storage] 2020-06-10T19:38:21,648 INFO [main] org.apache.druid.initialization.Initialization - added URL[file:/opt/druid/extensions/druid-hdfs-storage/hadoop-mapreduce-client-core-2.8.3.jar] for extension[druid-hdfs-storage] 2020-06-10T19:38:21,648 INFO [main] org.apache.druid.initialization.Initialization - added URL[file:/opt/druid/extensions/druid-hdfs-storage/jsp-api-2.1.jar] for extension[druid-hdfs-storage] 2020-06-10T19:38:21,648 INFO [main] org.apache.druid.initialization.Initialization - added URL[file:/opt/druid/extensions/druid-hdfs-storage/commons-digester-1.8.jar] for extension[druid-hdfs-storage] 2020-06-10T19:38:21,651 INFO [main] org.apache.druid.initialization.Initialization - added URL[file:/opt/druid/extensions/druid-hdfs-storage/hadoop-yarn-server-common-2.8.3.jar] for extension[druid-hdfs-storage] 2020-06-10T19:38:21,657 INFO [main] org.apache.druid.initialization.Initialization - added URL[file:/opt/druid/extensions/druid-hdfs-storage/api-asn1-api-1.0.0-M20.jar] for extension[druid-hdfs-storage] 2020-06-10T19:38:21,657 INFO [main] org.apache.druid.initialization.Initialization - added URL[file:/opt/druid/extensions/druid-hdfs-storage/hadoop-mapreduce-client-shuffle-2.8.3.jar] for extension[druid-hdfs-storage] 2020-06-10T19:38:21,683 INFO [main] org.apache.druid.initialization.Initialization - Loading extension [druid-histogram] for class [interface org.apache.druid.cli.CliCommandCreator] 2020-06-10T19:38:21,684 INFO [main] org.apache.druid.initialization.Initialization - added URL[file:/opt/druid/extensions/druid-histogram/druid-histogram-0.16.0-incubating.jar] for extension[druid-histogram] 2020-06-10T19:38:21,694 INFO [main] org.apache.druid.initialization.Initialization - Loading extension [druid-datasketches] for class [interface org.apache.druid.cli.CliCommandCreator] 2020-06-10T19:38:21,694 INFO [main] org.apache.druid.initialization.Initialization - added URL[file:/opt/druid/extensions/druid-datasketches/slf4j-api-1.7.25.jar] for extension[druid-datasketches] 2020-06-10T19:38:21,694 INFO [main] org.apache.druid.initialization.Initialization - added URL[file:/opt/druid/extensions/druid-datasketches/sketches-core-0.13.4.jar] for extension[druid-datasketches] 2020-06-10T19:38:21,695 INFO [main] org.apache.druid.initialization.Initialization - added URL[file:/opt/druid/extensions/druid-datasketches/memory-0.12.2.jar] for extension[druid-datasketches] 2020-06-10T19:38:21,695 INFO [main] org.apache.druid.initialization.Initialization - added URL[file:/opt/druid/extensions/druid-datasketches/commons-math3-3.6.1.jar] for extension[druid-datasketches] 2020-06-10T19:38:21,695 INFO [main] org.apache.druid.initialization.Initialization - added URL[file:/opt/druid/extensions/druid-datasketches/druid-datasketches-0.16.0-incubating.jar] for extension[druid-datasketches] 2020-06-10T19:38:21,706 INFO [main] org.apache.druid.initialization.Initialization - Loading extension [druid-stats] for class [interface org.apache.druid.cli.CliCommandCreator] 2020-06-10T19:38:21,706 INFO [main] org.apache.druid.initialization.Initialization - added URL[file:/opt/druid/extensions/druid-stats/druid-stats-0.16.0-incubating.jar] for extension[druid-stats] 2020-06-10T19:38:21,706 INFO [main] org.apache.druid.initialization.Initialization - added URL[file:/opt/druid/extensions/druid-stats/commons-math3-3.6.1.jar] for extension[druid-stats] 2020-06-10T19:38:21,707 INFO [main] org.apache.druid.initialization.Initialization - Loading extension [postgresql-metadata-storage] for class [interface org.apache.druid.cli.CliCommandCreator] 2020-06-10T19:38:21,707 INFO [main] org.apache.druid.initialization.Initialization - added URL[file:/opt/druid/extensions/postgresql-metadata-storage/postgresql-metadata-storage-0.16.0-incubating.jar] for extension[postgresql-metadata-storage] 2020-06-10T19:38:21,707 INFO [main] org.apache.druid.initialization.Initialization - added URL[file:/opt/druid/extensions/postgresql-metadata-storage/postgresql-9.4.1208.jre7.jar] for extension[postgresql-metadata-storage] 2020-06-10T19:38:21,710 INFO [main] org.apache.druid.initialization.Initialization - Loading extension [statsd-emitter] for class [interface org.apache.druid.cli.CliCommandCreator] 2020-06-10T19:38:21,718 INFO [main] org.apache.druid.initialization.Initialization - added URL[file:/opt/druid/extensions/statsd-emitter/jnr-enxio-0.16.jar] for extension[statsd-emitter] 2020-06-10T19:38:21,718 INFO [main] org.apache.druid.initialization.Initialization - added URL[file:/opt/druid/extensions/statsd-emitter/jnr-ffi-2.1.4.jar] for extension[statsd-emitter] 2020-06-10T19:38:21,718 INFO [main] org.apache.druid.initialization.Initialization - added URL[file:/opt/druid/extensions/statsd-emitter/jnr-unixsocket-0.18.jar] for extension[statsd-emitter] 2020-06-10T19:38:21,719 INFO [main] org.apache.druid.initialization.Initialization - added URL[file:/opt/druid/extensions/statsd-emitter/jnr-posix-3.0.35.jar] for extension[statsd-emitter] 2020-06-10T19:38:21,719 INFO [main] org.apache.druid.initialization.Initialization - added URL[file:/opt/druid/extensions/statsd-emitter/jffi-1.2.15.jar] for extension[statsd-emitter] 2020-06-10T19:38:21,719 INFO [main] org.apache.druid.initialization.Initialization - added URL[file:/opt/druid/extensions/statsd-emitter/statsd-emitter-0.16.0-incubating.jar] for extension[statsd-emitter] 2020-06-10T19:38:21,719 INFO [main] org.apache.druid.initialization.Initialization - added URL[file:/opt/druid/extensions/statsd-emitter/asm-analysis-5.0.3.jar] for extension[statsd-emitter] 2020-06-10T19:38:21,719 INFO [main] org.apache.druid.initialization.Initialization - added URL[file:/opt/druid/extensions/statsd-emitter/jnr-x86asm-1.0.2.jar] for extension[statsd-emitter] 2020-06-10T19:38:21,719 INFO [main] org.apache.druid.initialization.Initialization - added URL[file:/opt/druid/extensions/statsd-emitter/asm-util-5.0.3.jar] for extension[statsd-emitter] 2020-06-10T19:38:21,720 INFO [main] org.apache.druid.initialization.Initialization - added URL[file:/opt/druid/extensions/statsd-emitter/java-dogstatsd-client-2.6.1.jar] for extension[statsd-emitter] 2020-06-10T19:38:21,720 INFO [main] org.apache.druid.initialization.Initialization - added URL[file:/opt/druid/extensions/statsd-emitter/asm-tree-5.0.3.jar] for extension[statsd-emitter] 2020-06-10T19:38:21,720 INFO [main] org.apache.druid.initialization.Initialization - added URL[file:/opt/druid/extensions/statsd-emitter/jffi-1.2.15-native.jar] for extension[statsd-emitter] 2020-06-10T19:38:21,720 INFO [main] org.apache.druid.initialization.Initialization - added URL[file:/opt/druid/extensions/statsd-emitter/asm-7.1.jar] for extension[statsd-emitter] 2020-06-10T19:38:21,722 INFO [main] org.apache.druid.initialization.Initialization - added URL[file:/opt/druid/extensions/statsd-emitter/asm-commons-7.1.jar] for extension[statsd-emitter] 2020-06-10T19:38:21,725 INFO [main] org.apache.druid.initialization.Initialization - added URL[file:/opt/druid/extensions/statsd-emitter/jnr-constants-0.9.8.jar] for extension[statsd-emitter] 2020-06-10T19:38:21,741 INFO [main] org.apache.druid.initialization.Initialization - Loading extension [druid-parquet-extensions] for class [interface org.apache.druid.cli.CliCommandCreator] 2020-06-10T19:38:21,741 INFO [main] org.apache.druid.initialization.Initialization - added URL[file:/opt/druid/extensions/druid-parquet-extensions/druid-parquet-extensions-0.16.0-incubating.jar] for extension[druid-parquet-extensions] 2020-06-10T19:38:21,741 INFO [main] org.apache.druid.initialization.Initialization - added URL[file:/opt/druid/extensions/druid-parquet-extensions/parquet-jackson-1.10.1.jar] for extension[druid-parquet-extensions] 2020-06-10T19:38:21,742 INFO [main] org.apache.druid.initialization.Initialization - added URL[file:/opt/druid/extensions/druid-parquet-extensions/parquet-column-1.10.1.jar] for extension[druid-parquet-extensions] 2020-06-10T19:38:21,742 INFO [main] org.apache.druid.initialization.Initialization - added URL[file:/opt/druid/extensions/druid-parquet-extensions/parquet-hadoop-1.10.1.jar] for extension[druid-parquet-extensions] 2020-06-10T19:38:21,742 INFO [main] org.apache.druid.initialization.Initialization - added URL[file:/opt/druid/extensions/druid-parquet-extensions/parquet-avro-1.10.1.jar] for extension[druid-parquet-extensions] 2020-06-10T19:38:21,742 INFO [main] org.apache.druid.initialization.Initialization - added URL[file:/opt/druid/extensions/druid-parquet-extensions/snappy-java-1.1.2.6.jar] for extension[druid-parquet-extensions] 2020-06-10T19:38:21,742 INFO [main] org.apache.druid.initialization.Initialization - added URL[file:/opt/druid/extensions/druid-parquet-extensions/parquet-format-2.4.0.jar] for extension[druid-parquet-extensions] 2020-06-10T19:38:21,742 INFO [main] org.apache.druid.initialization.Initialization - added URL[file:/opt/druid/extensions/druid-parquet-extensions/parquet-encoding-1.10.1.jar] for extension[druid-parquet-extensions] 2020-06-10T19:38:21,743 INFO [main] org.apache.druid.initialization.Initialization - added URL[file:/opt/druid/extensions/druid-parquet-extensions/parquet-common-1.10.1.jar] for extension[druid-parquet-extensions] 2020-06-10T19:38:21,753 INFO [main] org.apache.druid.initialization.Initialization - Loading extension [druid-avro-extensions] for class [interface org.apache.druid.cli.CliCommandCreator] 2020-06-10T19:38:21,754 INFO [main] org.apache.druid.initialization.Initialization - added URL[file:/opt/druid/extensions/druid-avro-extensions/kafka-schema-registry-client-3.0.1.jar] for extension[druid-avro-extensions] 2020-06-10T19:38:21,754 INFO [main] org.apache.druid.initialization.Initialization - added URL[file:/opt/druid/extensions/druid-avro-extensions/schema-repo-avro-0.1.3.jar] for extension[druid-avro-extensions] 2020-06-10T19:38:21,754 INFO [main] org.apache.druid.initialization.Initialization - added URL[file:/opt/druid/extensions/druid-avro-extensions/jersey-client-1.19.3.jar] for extension[druid-avro-extensions] 2020-06-10T19:38:21,754 INFO [main] org.apache.druid.initialization.Initialization - added URL[file:/opt/druid/extensions/druid-avro-extensions/schema-repo-client-0.1.3.jar] for extension[druid-avro-extensions] 2020-06-10T19:38:21,754 INFO [main] org.apache.druid.initialization.Initialization - added URL[file:/opt/druid/extensions/druid-avro-extensions/druid-avro-extensions-0.16.0-incubating.jar] for extension[druid-avro-extensions] 2020-06-10T19:38:21,754 INFO [main] org.apache.druid.initialization.Initialization - added URL[file:/opt/druid/extensions/druid-avro-extensions/gson-2.3.1.jar] for extension[druid-avro-extensions] 2020-06-10T19:38:21,755 INFO [main] org.apache.druid.initialization.Initialization - added URL[file:/opt/druid/extensions/druid-avro-extensions/avro-mapred-1.9.0.jar] for extension[druid-avro-extensions] 2020-06-10T19:38:21,755 INFO [main] org.apache.druid.initialization.Initialization - added URL[file:/opt/druid/extensions/druid-avro-extensions/javax.annotation-api-1.3.2.jar] for extension[druid-avro-extensions] 2020-06-10T19:38:21,755 INFO [main] org.apache.druid.initialization.Initialization - added URL[file:/opt/druid/extensions/druid-avro-extensions/avro-ipc-1.9.0.jar] for extension[druid-avro-extensions] 2020-06-10T19:38:21,755 INFO [main] org.apache.druid.initialization.Initialization - added URL[file:/opt/druid/extensions/druid-avro-extensions/avro-ipc-jetty-1.9.0.jar] for extension[druid-avro-extensions] 2020-06-10T19:38:21,755 INFO [main] org.apache.druid.initialization.Initialization - added URL[file:/opt/druid/extensions/druid-avro-extensions/schema-repo-api-0.1.3.jar] for extension[druid-avro-extensions] 2020-06-10T19:38:21,756 INFO [main] org.apache.druid.initialization.Initialization - added URL[file:/opt/druid/extensions/druid-avro-extensions/avro-1.9.0.jar] for extension[druid-avro-extensions] 2020-06-10T19:38:21,756 INFO [main] org.apache.druid.initialization.Initialization - added URL[file:/opt/druid/extensions/druid-avro-extensions/schema-repo-common-0.1.3.jar] for extension[druid-avro-extensions] 2020-06-10T19:38:21,756 INFO [main] org.apache.druid.initialization.Initialization - added URL[file:/opt/druid/extensions/druid-avro-extensions/velocity-engine-core-2.0.jar] for extension[druid-avro-extensions] 2020-06-10T19:38:22,008 INFO [main] org.apache.druid.guice.JsonConfigurator - Loaded class[class org.apache.druid.guice.ModulesConfig] from props[druid.modules.] as [ModulesConfig{excludeList=[]}] 2020-06-10T19:38:22,704 INFO [main] org.apache.druid.initialization.Initialization - Adding implementation [org.apache.druid.common.aws.AWSModule] for class [interface org.apache.druid.initialization.DruidModule] from classpath extension 2020-06-10T19:38:22,715 INFO [main] org.apache.druid.initialization.Initialization - Adding implementation [org.apache.druid.common.gcp.GcpModule] for class [interface org.apache.druid.initialization.DruidModule] from classpath extension 2020-06-10T19:38:22,716 INFO [main] org.apache.druid.initialization.Initialization - Loading extension [druid-kafka-indexing-service] for class [interface org.apache.druid.initialization.DruidModule] 2020-06-10T19:38:22,737 INFO [main] org.apache.druid.initialization.Initialization - Adding implementation [org.apache.druid.indexing.kafka.KafkaIndexTaskModule] for class [interface org.apache.druid.initialization.DruidModule] from local file system extension 2020-06-10T19:38:22,737 INFO [main] org.apache.druid.initialization.Initialization - Loading extension [druid-hdfs-storage] for class [interface org.apache.druid.initialization.DruidModule] 2020-06-10T19:38:22,739 INFO [main] org.apache.druid.initialization.Initialization - Adding implementation [org.apache.druid.storage.hdfs.HdfsStorageDruidModule] for class [interface org.apache.druid.initialization.DruidModule] from local file system extension 2020-06-10T19:38:22,739 INFO [main] org.apache.druid.initialization.Initialization - Loading extension [druid-histogram] for class [interface org.apache.druid.initialization.DruidModule] 2020-06-10T19:38:22,752 INFO [main] org.apache.druid.initialization.Initialization - Adding implementation [org.apache.druid.query.aggregation.histogram.ApproximateHistogramDruidModule] for class [interface org.apache.druid.initialization.DruidModule] from local file system extension 2020-06-10T19:38:22,752 INFO [main] org.apache.druid.initialization.Initialization - Loading extension [druid-datasketches] for class [interface org.apache.druid.initialization.DruidModule] 2020-06-10T19:38:22,764 INFO [main] org.apache.druid.initialization.Initialization - Adding implementation [org.apache.druid.query.aggregation.datasketches.theta.SketchModule] for class [interface org.apache.druid.initialization.DruidModule] from local file system extension 2020-06-10T19:38:22,773 INFO [main] org.apache.druid.initialization.Initialization - Adding implementation [org.apache.druid.query.aggregation.datasketches.theta.oldapi.OldApiSketchModule] for class [interface org.apache.druid.initialization.DruidModule] from local file system extension 2020-06-10T19:38:22,774 INFO [main] org.apache.druid.initialization.Initialization - Adding implementation [org.apache.druid.query.aggregation.datasketches.quantiles.DoublesSketchModule] for class [interface org.apache.druid.initialization.DruidModule] from local file system extension 2020-06-10T19:38:22,786 INFO [main] org.apache.druid.initialization.Initialization - Adding implementation [org.apache.druid.query.aggregation.datasketches.tuple.ArrayOfDoublesSketchModule] for class [interface org.apache.druid.initialization.DruidModule] from local file system extension 2020-06-10T19:38:22,787 INFO [main] org.apache.druid.initialization.Initialization - Adding implementation [org.apache.druid.query.aggregation.datasketches.hll.HllSketchModule] for class [interface org.apache.druid.initialization.DruidModule] from local file system extension 2020-06-10T19:38:22,787 INFO [main] org.apache.druid.initialization.Initialization - Loading extension [druid-stats] for class [interface org.apache.druid.initialization.DruidModule] 2020-06-10T19:38:22,798 INFO [main] org.apache.druid.initialization.Initialization - Adding implementation [org.apache.druid.query.aggregation.stats.DruidStatsModule] for class [interface org.apache.druid.initialization.DruidModule] from local file system extension 2020-06-10T19:38:22,799 INFO [main] org.apache.druid.initialization.Initialization - Loading extension [postgresql-metadata-storage] for class [interface org.apache.druid.initialization.DruidModule] 2020-06-10T19:38:22,800 INFO [main] org.apache.druid.initialization.Initialization - Adding implementation [org.apache.druid.metadata.storage.postgresql.PostgreSQLMetadataStorageModule] for class [interface org.apache.druid.initialization.DruidModule] from local file system extension 2020-06-10T19:38:22,801 INFO [main] org.apache.druid.initialization.Initialization - Loading extension [statsd-emitter] for class [interface org.apache.druid.initialization.DruidModule] 2020-06-10T19:38:22,810 INFO [main] org.apache.druid.initialization.Initialization - Adding implementation [org.apache.druid.emitter.statsd.StatsDEmitterModule] for class [interface org.apache.druid.initialization.DruidModule] from local file system extension 2020-06-10T19:38:22,810 INFO [main] org.apache.druid.initialization.Initialization - Loading extension [druid-parquet-extensions] for class [interface org.apache.druid.initialization.DruidModule] 2020-06-10T19:38:22,818 INFO [main] org.apache.druid.initialization.Initialization - Adding implementation [org.apache.druid.data.input.parquet.ParquetExtensionsModule] for class [interface org.apache.druid.initialization.DruidModule] from local file system extension 2020-06-10T19:38:22,821 INFO [main] org.apache.druid.initialization.Initialization - Loading extension [druid-avro-extensions] for class [interface org.apache.druid.initialization.DruidModule] 2020-06-10T19:38:22,823 INFO [main] org.apache.druid.initialization.Initialization - Adding implementation [org.apache.druid.data.input.avro.AvroExtensionsModule] for class [interface org.apache.druid.initialization.DruidModule] from local file system extension 2020-06-10T19:38:23,872 INFO [main] org.apache.druid.guice.Jerseys - Adding Jersey resource: org.apache.druid.server.StatusResource 2020-06-10T19:38:24,431 INFO [main] org.apache.druid.guice.Jerseys - Adding Jersey resource: org.apache.druid.server.http.SegmentListerResource 2020-06-10T19:38:24,443 INFO [main] org.apache.druid.guice.Jerseys - Adding Jersey resource: org.apache.druid.server.QueryResource 2020-06-10T19:38:24,444 INFO [main] org.apache.druid.guice.Jerseys - Adding Jersey resource: org.apache.druid.segment.realtime.firehose.ChatHandlerResource 2020-06-10T19:38:24,463 INFO [main] org.apache.druid.guice.Jerseys - Adding Jersey resource: org.apache.druid.query.lookup.LookupListeningResource 2020-06-10T19:38:24,463 INFO [main] org.apache.druid.guice.Jerseys - Adding Jersey resource: org.apache.druid.query.lookup.LookupIntrospectionResource 2020-06-10T19:38:25,307 WARN [main] org.apache.hadoop.util.NativeCodeLoader - Unable to load native-hadoop library for your platform... using builtin-java classes where applicable 2020-06-10T19:38:29,698 INFO [main] org.apache.druid.guice.JsonConfigurator - Loaded class[class org.apache.druid.emitter.statsd.StatsDEmitterConfig] from props[druid.emitter.statsd.] as [org.apache.druid.emitter.statsd.StatsDEmitterConfig@185bd89e] 2020-06-10T19:38:29,759 INFO [main] org.apache.druid.emitter.statsd.DimensionConverter - Using metric dimensions at types at [/opt/druid/conf/druid/_common/metricDimensions.json] 2020-06-10T19:38:29,891 INFO [main] org.apache.druid.guice.JsonConfigurator - Loaded class[interface org.apache.druid.server.security.Escalator] from props[druid.escalator.] as [NoopEscalator{}] 2020-06-10T19:38:29,940 INFO [main] org.apache.druid.guice.JsonConfigurator - Loaded class[class org.apache.druid.curator.CuratorConfig] from props[druid.zk.service.] as [org.apache.druid.curator.CuratorConfig@7df28f1] 2020-06-10T19:38:29,963 INFO [main] org.apache.druid.guice.JsonConfigurator - Loaded class[class org.apache.druid.curator.ExhibitorConfig] from props[druid.exhibitor.service.] as [org.apache.druid.curator.ExhibitorConfig@3e8799f] 2020-06-10T19:38:30,232 INFO [main] org.apache.curator.utils.Compatibility - Running in ZooKeeper 3.4.x compatibility mode 2020-06-10T19:38:30,238 WARN [main] org.apache.curator.retry.ExponentialBackoffRetry - maxRetries too large (30). Pinning to 29 2020-06-10T19:38:30,371 INFO [main] org.apache.druid.guice.JsonConfigurator - Skipping druid.emitter.statsd.prefix property: one of it's prefixes is also used as a property key. Prefix: druid 2020-06-10T19:38:30,372 INFO [main] org.apache.druid.guice.JsonConfigurator - Skipping druid.emitter.statsd.hostname property: one of it's prefixes is also used as a property key. Prefix: druid 2020-06-10T19:38:30,381 INFO [main] org.apache.druid.guice.JsonConfigurator - Skipping druid.emitter.statsd.port property: one of it's prefixes is also used as a property key. Prefix: druid 2020-06-10T19:38:30,418 INFO [main] org.apache.druid.guice.JsonConfigurator - Loaded class[class org.apache.druid.server.DruidNode] from props[druid.] as [DruidNode{serviceName='druid/middleManager', host='some-host', bindOnHost=false, port=-1, plaintextPort=8103, enablePlaintextPort=true, tlsPort=-1, enableTlsPort=false}] 2020-06-10T19:38:30,432 INFO [main] org.apache.druid.guice.JsonConfigurator - Loaded class[class org.apache.druid.server.initialization.ZkPathsConfig] from props[druid.zk.paths.] as [org.apache.druid.server.initialization.ZkPathsConfig@22e2266d] 2020-06-10T19:38:30,452 INFO [main] org.apache.druid.guice.JsonConfigurator - Loaded class[class org.apache.druid.server.security.AuthConfig] from props[druid.auth.] as [AuthConfig{authenticatorChain=null, authorizers=null, unsecuredPaths=[], allowUnauthenticatedHttpOptions=false}] 2020-06-10T19:38:30,575 INFO [main] org.apache.druid.guice.JsonConfigurator - Loaded class[class org.apache.druid.server.metrics.DruidMonitorSchedulerConfig] from props[druid.monitoring.] as [org.apache.druid.server.metrics.DruidMonitorSchedulerConfig@348137e8] 2020-06-10T19:38:30,599 INFO [main] org.apache.druid.guice.JsonConfigurator - Loaded class[class org.apache.druid.server.metrics.MonitorsConfig] from props[druid.monitoring.] as [MonitorsConfig{monitors=[class org.apache.druid.java.util.metrics.JvmMonitor]}] 2020-06-10T19:38:30,599 INFO [main] org.apache.druid.server.emitter.EmitterModule - Underlying emitter for ServiceEmitter: org.apache.druid.emitter.statsd.StatsDEmitter@1de4bee0 2020-06-10T19:38:30,599 INFO [main] org.apache.druid.server.emitter.EmitterModule - Extra service dimensions: {version=0.16.0-incubating} 2020-06-10T19:38:30,742 INFO [main] org.apache.druid.server.metrics.MetricsModule - Adding monitor[org.apache.druid.java.util.metrics.JvmMonitor@6367a688] 2020-06-10T19:38:30,743 INFO [main] org.apache.druid.server.metrics.MetricsModule - Adding monitor[org.apache.druid.query.ExecutorServiceMonitor@357bc488] 2020-06-10T19:38:30,743 INFO [main] org.apache.druid.server.metrics.MetricsModule - Adding monitor[org.apache.druid.server.initialization.jetty.JettyServerModule$JettyMonitor@5ba90d8a] 2020-06-10T19:38:30,756 INFO [main] org.apache.druid.guice.JsonConfigurator - Loaded class[class org.apache.druid.server.log.StartupLoggingConfig] from props[druid.startup.logging.] as [org.apache.druid.server.log.StartupLoggingConfig@5efeb117] 2020-06-10T19:38:30,765 INFO [main] org.apache.druid.cli.CliPeon - Starting up with processors[48], memory[1,029,177,344], maxMemory[1,029,177,344], directMemory[1,610,612,736]. 2020-06-10T19:38:30,766 INFO [main] org.apache.druid.cli.CliPeon - * awt.toolkit: sun.awt.X11.XToolkit 2020-06-10T19:38:30,767 INFO [main] org.apache.druid.cli.CliPeon - * druid.emitter: statsd 2020-06-10T19:38:30,767 INFO [main] org.apache.druid.cli.CliPeon - * druid.emitter.logging.logLevel: info 2020-06-10T19:38:30,767 INFO [main] org.apache.druid.cli.CliPeon - * druid.emitter.statsd.dimensionMapPath: /opt/druid/conf/druid/_common/metricDimensions.json 2020-06-10T19:38:30,767 INFO [main] org.apache.druid.cli.CliPeon - * druid.emitter.statsd.hostname: some-host 2020-06-10T19:38:30,767 INFO [main] org.apache.druid.cli.CliPeon - * druid.emitter.statsd.includeHost: true 2020-06-10T19:38:30,767 INFO [main] org.apache.druid.cli.CliPeon - * druid.emitter.statsd.port: 8365 2020-06-10T19:38:30,767 INFO [main] org.apache.druid.cli.CliPeon - * druid.emitter.statsd.prefix: druid 2020-06-10T19:38:30,767 INFO [main] org.apache.druid.cli.CliPeon - * druid.extensions.loadList: ["druid-kafka-indexing-service", "druid-hdfs-storage", "druid-histogram", "druid-datasketches", "druid-stats", "postgresql-metadata-storage", "statsd-emitter", "druid-parquet-extensions", "druid-avro-extensions"] 2020-06-10T19:38:30,767 INFO [main] org.apache.druid.cli.CliPeon - * druid.host: some-host 2020-06-10T19:38:30,767 INFO [main] org.apache.druid.cli.CliPeon - * druid.indexer.fork.property.druid.processing.buffer.sizeBytes: 268435456 2020-06-10T19:38:30,767 INFO [main] org.apache.druid.cli.CliPeon - * druid.indexer.fork.property.druid.processing.numMergeBuffers: 2 2020-06-10T19:38:30,767 INFO [main] org.apache.druid.cli.CliPeon - * druid.indexer.fork.property.druid.processing.numThreads: 1 2020-06-10T19:38:30,767 INFO [main] org.apache.druid.cli.CliPeon - * druid.indexer.logs.directory: some-path 2020-06-10T19:38:30,767 INFO [main] org.apache.druid.cli.CliPeon - * druid.indexer.logs.type: hdfs 2020-06-10T19:38:30,767 INFO [main] org.apache.druid.cli.CliPeon - * druid.indexer.runner.javaOpts: -server -Xms1g -Xmx1g -XX:MaxDirectMemorySize=1536m -Duser.timezone=UTC -Dfile.encoding=UTF-8 -XX:+ExitOnOutOfMemoryError -Djava.util.logging.manager=org.apache.logging.log4j.jul.LogManager 2020-06-10T19:38:30,767 INFO [main] org.apache.druid.cli.CliPeon - * druid.indexer.task.baseTaskDir: var/druid/task 2020-06-10T19:38:30,767 INFO [main] org.apache.druid.cli.CliPeon - * druid.indexer.task.hadoopWorkingPath: var/druid/hadoop-tmp 2020-06-10T19:38:30,768 INFO [main] org.apache.druid.cli.CliPeon - * druid.indexer.task.restoreTasksOnRestart: true 2020-06-10T19:38:30,768 INFO [main] org.apache.druid.cli.CliPeon - * druid.indexing.doubleStorage: double 2020-06-10T19:38:30,768 INFO [main] org.apache.druid.cli.CliPeon - * druid.lookup.enableLookupSyncOnStartup: false 2020-06-10T19:38:30,768 INFO [main] org.apache.druid.cli.CliPeon - * druid.metadata.storage.connector.connectURI: jdbc:postgresql://some-host:5432/druid 2020-06-10T19:38:30,768 INFO [main] org.apache.druid.cli.CliPeon - * druid.metadata.storage.connector.password: 2020-06-10T19:38:30,768 INFO [main] org.apache.druid.cli.CliPeon - * druid.metadata.storage.connector.user: druid 2020-06-10T19:38:30,768 INFO [main] org.apache.druid.cli.CliPeon - * druid.metadata.storage.type: postgresql 2020-06-10T19:38:30,768 INFO [main] org.apache.druid.cli.CliPeon - * druid.metrics.emitter.dimension.dataSource: datasource_name 2020-06-10T19:38:30,768 INFO [main] org.apache.druid.cli.CliPeon - * druid.metrics.emitter.dimension.taskId: kill-datasource_name-0 2020-06-10T19:38:30,768 INFO [main] org.apache.druid.cli.CliPeon - * druid.metrics.emitter.dimension.taskType: kill 2020-06-10T19:38:30,768 INFO [main] org.apache.druid.cli.CliPeon - * druid.monitoring.monitors: ["org.apache.druid.java.util.metrics.JvmMonitor"] 2020-06-10T19:38:30,773 INFO [main] org.apache.druid.cli.CliPeon - * druid.plaintextPort: 8103 2020-06-10T19:38:30,777 INFO [main] org.apache.druid.cli.CliPeon - * druid.processing.buffer.sizeBytes: 268435456 2020-06-10T19:38:30,777 INFO [main] org.apache.druid.cli.CliPeon - * druid.processing.numMergeBuffers: 2 2020-06-10T19:38:30,777 INFO [main] org.apache.druid.cli.CliPeon - * druid.processing.numThreads: 1 2020-06-10T19:38:30,777 INFO [main] org.apache.druid.cli.CliPeon - * druid.selectors.coordinator.serviceName: druid/coordinator 2020-06-10T19:38:30,777 INFO [main] org.apache.druid.cli.CliPeon - * druid.selectors.indexing.serviceName: druid/overlord 2020-06-10T19:38:30,777 INFO [main] org.apache.druid.cli.CliPeon - * druid.server.http.numThreads: 60 2020-06-10T19:38:30,778 INFO [main] org.apache.druid.cli.CliPeon - * druid.service: druid/middleManager 2020-06-10T19:38:30,778 INFO [main] org.apache.druid.cli.CliPeon - * druid.sql.enable: true 2020-06-10T19:38:30,778 INFO [main] org.apache.druid.cli.CliPeon - * druid.startup.logging.logProperties: true 2020-06-10T19:38:30,778 INFO [main] org.apache.druid.cli.CliPeon - * druid.storage.storageDirectory: some-path 2020-06-10T19:38:30,778 INFO [main] org.apache.druid.cli.CliPeon - * druid.storage.type: hdfs 2020-06-10T19:38:30,778 INFO [main] org.apache.druid.cli.CliPeon - * druid.task.executor.enablePlaintextPort: true 2020-06-10T19:38:30,778 INFO [main] org.apache.druid.cli.CliPeon - * druid.task.executor.enableTlsPort: false 2020-06-10T19:38:30,778 INFO [main] org.apache.druid.cli.CliPeon - * druid.task.executor.host: some-host 2020-06-10T19:38:30,778 INFO [main] org.apache.druid.cli.CliPeon - * druid.task.executor.plaintextPort: 8091 2020-06-10T19:38:30,778 INFO [main] org.apache.druid.cli.CliPeon - * druid.task.executor.service: druid/middleManager 2020-06-10T19:38:30,778 INFO [main] org.apache.druid.cli.CliPeon - * druid.task.executor.tlsPort: -1 2020-06-10T19:38:30,778 INFO [main] org.apache.druid.cli.CliPeon - * druid.tlsPort: -1 2020-06-10T19:38:30,778 INFO [main] org.apache.druid.cli.CliPeon - * druid.worker.capacity: 6 2020-06-10T19:38:30,778 INFO [main] org.apache.druid.cli.CliPeon - * druid.zk.paths.base: /druid 2020-06-10T19:38:30,778 INFO [main] org.apache.druid.cli.CliPeon - * druid.zk.service.host: some-host:2181,some-host:2181,some-host:2181 2020-06-10T19:38:30,778 INFO [main] org.apache.druid.cli.CliPeon - * file.encoding: UTF-8 2020-06-10T19:38:30,778 INFO [main] org.apache.druid.cli.CliPeon - * file.encoding.pkg: sun.io 2020-06-10T19:38:30,779 INFO [main] org.apache.druid.cli.CliPeon - * file.separator: / 2020-06-10T19:38:30,779 INFO [main] org.apache.druid.cli.CliPeon - * java.awt.graphicsenv: sun.awt.X11GraphicsEnvironment 2020-06-10T19:38:30,779 INFO [main] org.apache.druid.cli.CliPeon - * java.awt.printerjob: sun.print.PSPrinterJob 2020-06-10T19:38:30,779 INFO [main] org.apache.druid.cli.CliPeon - * java.class.path: conf/druid/_common:conf/druid/middleManager:lib/jackson-datatype-guava-2.6.7.jar:lib/zstd-jni-1.3.3-1.jar:lib/log4j-slf4j-impl-2.5.jar:lib/RoaringBitmap-0.8.6.jar:lib/spymemcached-2.12.3.jar:lib/httpclient-4.5.3.jar:lib/aopalliance-1.0.jar:lib/aether-connector-okhttp-0.0.9.jar:lib/jackson-datatype-joda-2.6.7.jar:lib/commons-collections-3.2.2.jar:lib/jetty-continuation-9.4.10.v20180503.jar:lib/jsr311-api-1.1.1.jar:lib/jboss-logging-3.1.3.GA.jar:lib/netty-codec-4.1.30.Final.jar:lib/jackson-mapper-asl-1.9.13.jar:lib/shims-0.8.6.jar:lib/jackson-dataformat-cbor-2.6.7.jar:lib/javax.activation-1.2.0.jar:lib/jmespath-java-1.11.199.jar:lib/antlr4-runtime-4.5.1.jar:lib/async-http-client-2.5.3.jar:lib/rhino-1.7.11.jar:lib/stax-ex-1.8.jar:lib/druid-indexing-service-0.16.0-incubating.jar:lib/druid-core-0.16.0-incubating.jar:lib/maven-settings-builder-3.1.1.jar:lib/calcite-core-1.17.0.jar:lib/commons-collections4-4.2.jar:lib/commons-pool2-2.2.jar:lib/jsr305-2.0.1.jar:lib/aws-java-sdk-core-1.11.199.jar:lib/commons-dbcp2-2.0.1.jar:lib/extendedset-0.16.0-incubating.jar:lib/derby-10.14.2.0.jar:lib/error_prone_annotations-2.3.2.jar:lib/javax.activation-api-1.2.0.jar:lib/jersey-core-1.19.3.jar:lib/plexus-utils-3.0.15.jar:lib/guice-multibindings-4.1.0.jar:lib/wagon-provider-api-2.4.jar:lib/maven-repository-metadata-3.1.1.jar:lib/sigar-1.6.5.132.jar:lib/jetty-http-9.4.10.v20180503.jar:lib/avatica-core-1.12.0.jar:lib/jetty-client-9.4.10.v20180503.jar:lib/druid-server-0.16.0-incubating.jar:lib/jetty-io-9.4.10.v20180503.jar:lib/jackson-annotations-2.6.7.jar:lib/config-magic-0.9.jar:lib/aether-api-0.9.0.M2.jar:lib/javax.servlet-api-3.1.0.jar:lib/jetty-util-9.4.10.v20180503.jar:lib/opencsv-4.6.jar:lib/jaxb-runtime-2.3.1.jar:lib/netty-common-4.1.30.Final.jar:lib/aws-java-sdk-s3-1.11.199.jar:lib/jackson-databind-2.6.7.jar:lib/netty-codec-dns-4.1.30.Final.jar:lib/jersey-guice-1.19.3.jar:lib/jetty-security-9.4.10.v20180503.jar:lib/jersey-server-1.19.3.jar:lib/avatica-metrics-1.12.0.jar:lib/aws-java-sdk-ec2-1.11.199.jar:lib/commons-io-2.6.jar:lib/jackson-core-asl-1.9.13.jar:lib/metrics-core-4.0.0.jar:lib/audience-annotations-0.5.0.jar:lib/google-oauth-client-1.22.0.jar:lib/jackson-module-jaxb-annotations-2.6.7.jar:lib/joni-2.1.27.jar:lib/esri-geometry-api-2.0.0.jar:lib/jackson-jaxrs-smile-provider-2.6.7.jar:lib/commons-lang3-3.8.1.jar:lib/okhttp-1.0.2.jar:lib/druid-sql-0.16.0-incubating.jar:lib/checker-qual-2.5.7.jar:lib/jetty-server-9.4.10.v20180503.jar:lib/commons-logging-1.1.1.jar:lib/commons-compress-1.18.jar:lib/fastutil-8.2.3.jar:lib/jcl-over-slf4j-1.7.12.jar:lib/jvm-attach-api-1.5.jar:lib/joda-time-2.10.2.jar:lib/netty-resolver-4.1.30.Final.jar:lib/commons-beanutils-1.9.3.jar:lib/slf4j-api-1.7.25.jar:lib/caffeine-2.5.5.jar:lib/commons-compiler-2.7.6.jar:lib/classmate-1.0.0.jar:lib/jackson-module-guice-2.6.7.jar:lib/guice-4.1.0.jar:lib/javax.inject-1.jar:lib/compress-lzf-1.0.4.jar:lib/FastInfoset-1.2.15.jar:lib/maven-model-builder-3.1.1.jar:lib/curator-x-discovery-4.1.0.jar:lib/maven-artifact-3.6.0.jar:lib/netty-3.10.6.Final.jar:lib/airline-0.7.jar:lib/maven-aether-provider-3.1.1.jar:lib/netty-handler-4.1.30.Final.jar:lib/jackson-core-2.6.7.jar:lib/asm-tree-7.1.jar:lib/netty-transport-native-unix-common-4.1.30.Final.jar:lib/maven-settings-3.1.1.jar:lib/druid-aws-common-0.16.0-incubating.jar:lib/curator-client-4.1.0.jar:lib/async-http-client-netty-utils-2.5.3.jar:lib/aws-java-sdk-kms-1.11.199.jar:lib/jetty-servlet-9.4.10.v20180503.jar:lib/accessors-smart-1.2.jar:lib/druid-indexing-hadoop-0.16.0-incubating.jar:lib/asm-analysis-7.1.jar:lib/plexus-interpolation-1.19.jar:lib/aether-impl-0.9.0.M2.jar:lib/druid-services-0.16.0-incubating.jar:lib/jackson-jq-0.0.10.jar:lib/netty-buffer-4.1.30.Final.jar:lib/lz4-java-1.6.0.jar:lib/aggdesigner-algorithm-6.0.jar:lib/protobuf-java-3.1.0.jar:lib/log4j-api-2.5.jar:lib/log4j-core-2.5.jar:lib/aether-connector-file-0.9.0.M2.jar:lib/json-path-2.3.0.jar:lib/jna-4.5.1.jar:lib/curator-recipes-4.1.0.jar:lib/calcite-linq4j-1.17.0.jar:lib/druid-hll-0.16.0-incubating.jar:lib/jaxb-api-2.3.1.jar:lib/hibernate-validator-5.1.3.Final.jar:lib/guava-16.0.1.jar:lib/curator-framework-4.1.0.jar:lib/avatica-server-1.12.0.jar:lib/istack-commons-runtime-3.0.7.jar:lib/javax.el-3.0.0.jar:lib/commons-math3-3.6.1.jar:lib/netty-resolver-dns-4.1.30.Final.jar:lib/jcodings-1.0.43.jar:lib/commons-net-3.6.jar:lib/netty-transport-native-epoll-4.1.30.Final-linux-x86_64.jar:lib/netty-handler-proxy-4.1.30.Final.jar:lib/druid-console-0.16.0-incubating.jar:lib/jdbi-2.63.1.jar:lib/xz-1.8.jar:lib/zookeeper-3.4.14.jar:lib/guice-servlet-4.1.0.jar:lib/netty-transport-4.1.30.Final.jar:lib/httpcore-4.4.11.jar:lib/commons-codec-1.12.jar:lib/netty-codec-http-4.1.30.Final.jar:lib/netty-codec-socks-4.1.30.Final.jar:lib/aether-util-0.9.0.M2.jar:lib/google-api-client-1.22.0.jar:lib/maven-model-3.1.1.jar:lib/janino-2.7.6.jar:lib/icu4j-54.1.1.jar:lib/asm-7.1.jar:lib/commons-lang-2.6.jar:lib/javax.el-api-3.0.0.jar:lib/derbynet-10.14.2.0.jar:lib/jackson-jaxrs-json-provider-2.6.7.jar:lib/asm-commons-7.1.jar:lib/commons-text-1.3.jar:lib/druid-processing-0.16.0-incubating.jar:lib/tesla-aether-0.0.5.jar:lib/google-http-client-1.22.0.jar:lib/log4j-1.2-api-2.5.jar:lib/ion-java-1.0.2.jar:lib/jackson-jaxrs-base-2.6.7.jar:lib/netty-reactive-streams-2.0.0.jar:lib/log4j-jul-2.5.jar:lib/txw2-2.3.1.jar:lib/jline-0.9.94.jar:lib/reactive-streams-1.0.2.jar:lib/druid-gcp-common-0.16.0-incubating.jar:lib/derbyclient-10.14.2.0.jar:lib/validation-api-1.1.0.Final.jar:lib/jetty-servlets-9.4.10.v20180503.jar:lib/disruptor-3.3.6.jar:lib/jackson-dataformat-smile-2.6.7.jar:lib/jersey-servlet-1.19.3.jar:lib/json-smart-2.3.jar:lib/aether-spi-0.9.0.M2.jar:lib/google-http-client-jackson2-1.22.0.jar:lib/jetty-proxy-9.4.10.v20180503.jar 2020-06-10T19:38:30,779 INFO [main] org.apache.druid.cli.CliPeon - * java.class.version: 52.0 2020-06-10T19:38:30,779 INFO [main] org.apache.druid.cli.CliPeon - * java.endorsed.dirs: /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/endorsed 2020-06-10T19:38:30,779 INFO [main] org.apache.druid.cli.CliPeon - * java.ext.dirs: /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/ext:/usr/java/packages/lib/ext 2020-06-10T19:38:30,779 INFO [main] org.apache.druid.cli.CliPeon - * java.home: /usr/lib/jvm/java-8-openjdk-amd64/jre 2020-06-10T19:38:30,779 INFO [main] org.apache.druid.cli.CliPeon - * java.io.tmpdir: var/tmp 2020-06-10T19:38:30,779 INFO [main] org.apache.druid.cli.CliPeon - * java.library.path: /usr/java/packages/lib/amd64:/usr/lib/x86_64-linux-gnu/jni:/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu:/usr/lib/jni:/lib:/usr/lib 2020-06-10T19:38:30,779 INFO [main] org.apache.druid.cli.CliPeon - * java.runtime.name: OpenJDK Runtime Environment 2020-06-10T19:38:30,779 INFO [main] org.apache.druid.cli.CliPeon - * java.runtime.version: 1.8.0_162-8u162-b12-1~deb9u1-b12 2020-06-10T19:38:30,779 INFO [main] org.apache.druid.cli.CliPeon - * java.specification.name: Java Platform API Specification 2020-06-10T19:38:30,779 INFO [main] org.apache.druid.cli.CliPeon - * java.specification.vendor: Oracle Corporation 2020-06-10T19:38:30,779 INFO [main] org.apache.druid.cli.CliPeon - * java.specification.version: 1.8 2020-06-10T19:38:30,779 INFO [main] org.apache.druid.cli.CliPeon - * java.util.logging.manager: org.apache.logging.log4j.jul.LogManager 2020-06-10T19:38:30,779 INFO [main] org.apache.druid.cli.CliPeon - * java.vendor: Oracle Corporation 2020-06-10T19:38:30,779 INFO [main] org.apache.druid.cli.CliPeon - * java.vendor.url: http://java.oracle.com/ 2020-06-10T19:38:30,780 INFO [main] org.apache.druid.cli.CliPeon - * java.vendor.url.bug: http://bugreport.sun.com/bugreport/ 2020-06-10T19:38:30,780 INFO [main] org.apache.druid.cli.CliPeon - * java.version: 1.8.0_162 2020-06-10T19:38:30,780 INFO [main] org.apache.druid.cli.CliPeon - * java.vm.info: mixed mode 2020-06-10T19:38:30,780 INFO [main] org.apache.druid.cli.CliPeon - * java.vm.name: OpenJDK 64-Bit Server VM 2020-06-10T19:38:30,780 INFO [main] org.apache.druid.cli.CliPeon - * java.vm.specification.name: Java Virtual Machine Specification 2020-06-10T19:38:30,780 INFO [main] org.apache.druid.cli.CliPeon - * java.vm.specification.vendor: Oracle Corporation 2020-06-10T19:38:30,780 INFO [main] org.apache.druid.cli.CliPeon - * java.vm.specification.version: 1.8 2020-06-10T19:38:30,780 INFO [main] org.apache.druid.cli.CliPeon - * java.vm.vendor: Oracle Corporation 2020-06-10T19:38:30,780 INFO [main] org.apache.druid.cli.CliPeon - * java.vm.version: 25.162-b12 2020-06-10T19:38:30,780 INFO [main] org.apache.druid.cli.CliPeon - * line.separator: 2020-06-10T19:38:30,780 INFO [main] org.apache.druid.cli.CliPeon - * log4j.shutdownCallbackRegistry: org.apache.druid.common.config.Log4jShutdown 2020-06-10T19:38:30,780 INFO [main] org.apache.druid.cli.CliPeon - * log4j.shutdownHookEnabled: true 2020-06-10T19:38:30,780 INFO [main] org.apache.druid.cli.CliPeon - * os.arch: amd64 2020-06-10T19:38:30,785 INFO [main] org.apache.druid.cli.CliPeon - * os.name: Linux 2020-06-10T19:38:30,788 INFO [main] org.apache.druid.cli.CliPeon - * os.version: 4.4.0-116-generic 2020-06-10T19:38:30,789 INFO [main] org.apache.druid.cli.CliPeon - * path.separator: : 2020-06-10T19:38:30,789 INFO [main] org.apache.druid.cli.CliPeon - * sun.arch.data.model: 64 2020-06-10T19:38:30,789 INFO [main] org.apache.druid.cli.CliPeon - * sun.boot.class.path: /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/resources.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/rt.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/jsse.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/jce.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/charsets.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/jfr.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/classes 2020-06-10T19:38:30,789 INFO [main] org.apache.druid.cli.CliPeon - * sun.boot.library.path: /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64 2020-06-10T19:38:30,789 INFO [main] org.apache.druid.cli.CliPeon - * sun.cpu.endian: little 2020-06-10T19:38:30,789 INFO [main] org.apache.druid.cli.CliPeon - * sun.cpu.isalist: 2020-06-10T19:38:30,790 INFO [main] org.apache.druid.cli.CliPeon - * sun.io.unicode.encoding: UnicodeLittle 2020-06-10T19:38:30,790 INFO [main] org.apache.druid.cli.CliPeon - * sun.java.command: org.apache.druid.cli.Main internal peon var/druid/task/kill-datasource_name-0/task.json var/druid/task/kill-datasource_name-0/e587d813-4767-42ba-8ca5-17757d73fec7/status.json var/druid/task/kill-datasource_name-0/e587d813-4767-42ba-8ca5-17757d73fec7/report.json 2020-06-10T19:38:30,790 INFO [main] org.apache.druid.cli.CliPeon - * sun.java.launcher: SUN_STANDARD 2020-06-10T19:38:30,790 INFO [main] org.apache.druid.cli.CliPeon - * sun.jnu.encoding: UTF-8 2020-06-10T19:38:30,790 INFO [main] org.apache.druid.cli.CliPeon - * sun.management.compiler: HotSpot 64-Bit Tiered Compilers 2020-06-10T19:38:30,790 INFO [main] org.apache.druid.cli.CliPeon - * sun.os.patch.level: unknown 2020-06-10T19:38:30,791 INFO [main] org.apache.druid.cli.CliPeon - * user.dir: /opt/druid 2020-06-10T19:38:30,791 INFO [main] org.apache.druid.cli.CliPeon - * user.home: /opt/druid 2020-06-10T19:38:30,791 INFO [main] org.apache.druid.cli.CliPeon - * user.language: en 2020-06-10T19:38:30,791 INFO [main] org.apache.druid.cli.CliPeon - * user.name: __druid-master 2020-06-10T19:38:30,791 INFO [main] org.apache.druid.cli.CliPeon - * user.timezone: UTC 2020-06-10T19:38:30,804 INFO [main] org.apache.druid.guice.JsonConfigurator - Loaded class[class org.apache.druid.storage.hdfs.HdfsKerberosConfig] from props[druid.hadoop.security.kerberos.] as [org.apache.druid.storage.hdfs.HdfsKerberosConfig@0] 2020-06-10T19:38:30,851 INFO [main] org.apache.druid.guice.JsonConfigurator - Loaded class[class org.apache.druid.indexing.common.config.TaskConfig] from props[druid.indexer.task.] as [org.apache.druid.indexing.common.config.TaskConfig@392781e] 2020-06-10T19:38:30,864 INFO [main] org.apache.druid.guice.JsonConfigurator - Loaded class[class org.apache.druid.guice.http.DruidHttpClientConfig] from props[druid.global.http.] as [org.apache.druid.guice.http.DruidHttpClientConfig@69a024a0] 2020-06-10T19:38:31,102 INFO [main] org.apache.druid.guice.JsonConfigurator - Loaded class[class org.apache.druid.client.indexing.IndexingServiceSelectorConfig] from props[druid.selectors.indexing.] as [org.apache.druid.client.indexing.IndexingServiceSelectorConfig@6e243175] 2020-06-10T19:38:31,113 INFO [main] org.apache.druid.guice.JsonConfigurator - Loaded class[class org.apache.druid.server.initialization.CuratorDiscoveryConfig] from props[druid.discovery.curator.] as [org.apache.druid.server.initialization.CuratorDiscoveryConfig@7015ebef] 2020-06-10T19:38:31,283 INFO [main] org.apache.druid.guice.JsonConfigurator - Loaded class[class org.apache.druid.indexing.common.RetryPolicyConfig] from props[druid.peon.taskActionClient.retry.] as [org.apache.druid.indexing.common.RetryPolicyConfig@22a260ff] 2020-06-10T19:38:31,295 INFO [main] org.apache.druid.guice.JsonConfigurator - Loaded class[class org.apache.druid.server.DruidNode] from props[druid.task.executor.] as [DruidNode{serviceName='druid/middleManager', host='some-host', bindOnHost=false, port=-1, plaintextPort=8091, enablePlaintextPort=true, tlsPort=-1, enableTlsPort=false}] 2020-06-10T19:38:31,305 INFO [main] org.apache.druid.guice.JsonConfigurator - Loaded class[class org.apache.druid.storage.hdfs.HdfsDataSegmentPusherConfig] from props[druid.storage.] as [org.apache.druid.storage.hdfs.HdfsDataSegmentPusherConfig@6c3f1658] 2020-06-10T19:38:31,311 INFO [main] org.apache.druid.storage.hdfs.HdfsDataSegmentPusher - Configured HDFS as deep storage 2020-06-10T19:38:31,319 INFO [main] org.apache.druid.guice.JsonConfigurator - Loaded class[class org.apache.druid.segment.loading.LocalDataSegmentPusherConfig] from props[druid.storage.] as [org.apache.druid.segment.loading.LocalDataSegmentPusherConfig@372461a9] 2020-06-10T19:38:31,342 INFO [main] org.apache.druid.guice.JsonConfigurator - Loaded class[class org.apache.druid.client.DruidServerConfig] from props[druid.server.] as [org.apache.druid.client.DruidServerConfig@5aa781f2] 2020-06-10T19:38:31,355 INFO [main] org.apache.druid.guice.JsonConfigurator - Loaded class[class org.apache.druid.server.initialization.BatchDataSegmentAnnouncerConfig] from props[druid.announcer.] as [org.apache.druid.server.initialization.BatchDataSegmentAnnouncerConfig@9fe720a] 2020-06-10T19:38:31,366 INFO [main] org.apache.druid.guice.JsonConfigurator - Loaded class[interface org.apache.druid.server.coordination.DataSegmentAnnouncerProvider] from props[druid.announcer.] as [org.apache.druid.server.coordination.BatchDataSegmentAnnouncerProvider@61037caf] 2020-06-10T19:38:31,376 INFO [main] org.apache.druid.guice.JsonConfigurator - Loaded class[class org.apache.druid.client.coordinator.CoordinatorSelectorConfig] from props[druid.selectors.coordinator.] as [org.apache.druid.client.coordinator.CoordinatorSelectorConfig@6db328f8] 2020-06-10T19:38:31,379 INFO [main] org.apache.druid.guice.JsonConfigurator - Loaded class[class org.apache.druid.segment.realtime.plumber.CoordinatorBasedSegmentHandoffNotifierConfig] from props[druid.segment.handoff.] as [org.apache.druid.segment.realtime.plumber.CoordinatorBasedSegmentHandoffNotifierConfig@370ef50b] 2020-06-10T19:38:31,390 INFO [main] org.skife.config.ConfigurationObjectFactory - Using method itself for [druid.computation.buffer.poolCacheMaxCount, ${base_path}.buffer.poolCacheMaxCount] on [org.apache.druid.query.DruidProcessingConfig#poolCacheMaxCount()] 2020-06-10T19:38:31,400 INFO [main] org.skife.config.ConfigurationObjectFactory - Assigning value [1] for [druid.processing.numThreads] on [org.apache.druid.query.DruidProcessingConfig#getNumThreadsConfigured()] 2020-06-10T19:38:31,401 INFO [main] org.skife.config.ConfigurationObjectFactory - Assigning value [268435456] for [druid.processing.buffer.sizeBytes] on [org.apache.druid.query.DruidProcessingConfig#intermediateComputeSizeBytesConfigured()] 2020-06-10T19:38:31,401 INFO [main] org.skife.config.ConfigurationObjectFactory - Assigning value [2] for [druid.processing.numMergeBuffers] on [org.apache.druid.query.DruidProcessingConfig#getNumMergeBuffersConfigured()] 2020-06-10T19:38:31,401 INFO [main] org.skife.config.ConfigurationObjectFactory - Using method itself for [${base_path}.columnCache.sizeBytes] on [org.apache.druid.query.DruidProcessingConfig#columnCacheSizeBytes()] 2020-06-10T19:38:31,402 INFO [main] org.skife.config.ConfigurationObjectFactory - Using method itself for [${base_path}.fifo] on [org.apache.druid.query.DruidProcessingConfig#isFifo()] 2020-06-10T19:38:31,402 INFO [main] org.skife.config.ConfigurationObjectFactory - Using method itself for [${base_path}.tmpDir] on [org.apache.druid.query.DruidProcessingConfig#getTmpDir()] 2020-06-10T19:38:31,402 INFO [main] org.skife.config.ConfigurationObjectFactory - Assigning default value [processing-%s] for [${base_path}.formatString] on [org.apache.druid.java.util.common.concurrent.ExecutorServiceConfig#getFormatString()] 2020-06-10T19:38:31,630 INFO [main] org.apache.druid.guice.JsonConfigurator - Loaded class[interface org.apache.druid.client.cache.CacheProvider] from props[druid.cache.] as [org.apache.druid.client.cache.CaffeineCacheProvider@e62319f] 2020-06-10T19:38:32,182 INFO [main] org.apache.druid.guice.JsonConfigurator - Loaded class[class org.apache.druid.client.cache.CacheConfig] from props[druid.realtime.cache.] as [org.apache.druid.client.cache.CacheConfig@424f02b8] 2020-06-10T19:38:32,192 INFO [main] org.apache.druid.guice.JsonConfigurator - Loaded class[interface org.apache.druid.segment.writeout.SegmentWriteOutMediumFactory] from props[druid.peon.defaultSegmentWriteOutMediumFactory.] as [org.apache.druid.segment.writeout.TmpFileSegmentWriteOutMediumFactory@214b342f] 2020-06-10T19:38:32,205 INFO [main] org.apache.druid.guice.JsonConfigurator - Loaded class[class org.apache.druid.query.lookup.LookupListeningAnnouncerConfig] from props[druid.lookup.] as [ListeningAnnouncerConfig{listenersPath='/druid/listeners'}] 2020-06-10T19:38:32,291 INFO [main] org.apache.druid.guice.JsonConfigurator - Loaded class[class org.apache.druid.server.initialization.ServerConfig] from props[druid.server.http.] as [ServerConfig{numThreads=60, queueSize=2147483647, enableRequestLimit=false, maxIdleTime=PT5M, defaultQueryTimeout=300000, maxScatterGatherBytes=9223372036854775807, maxQueryTimeout=9223372036854775807, maxRequestHeaderSize=8192, gracefulShutdownTimeout=PT0S, unannouncePropagationDelay=PT0S, inflateBufferSize=4096, compressionLevel=-1}] 2020-06-10T19:38:32,316 INFO [main] org.apache.druid.guice.JsonConfigurator - Loaded class[class org.apache.druid.server.initialization.TLSServerConfig] from props[druid.server.https.] as [TLSServerConfig{keyStorePath='null', keyStoreType='null', certAlias='null', keyManagerFactoryAlgorithm='null', includeCipherSuites=null, excludeCipherSuites=null, includeProtocols=null, excludeProtocols=null, requireClientCertificate=false, requestClientCertificate=false, trustStoreType='null', trustStorePath='null', trustStoreAlgorithm='null', validateHostnames='true', crlPath='null'}] 2020-06-10T19:38:32,352 INFO [main] org.eclipse.jetty.util.log - Logging initialized @16152ms to org.eclipse.jetty.util.log.Slf4jLog 2020-06-10T19:38:32,386 INFO [main] org.apache.druid.server.initialization.jetty.JettyServerModule - Creating http connector with port [8103] 2020-06-10T19:38:32,938 INFO [main] org.apache.druid.guice.JsonConfigurator - Loaded class[class org.apache.druid.query.search.SearchQueryConfig] from props[druid.query.search.] as [org.apache.druid.query.search.SearchQueryConfig@2c8ff67] 2020-06-10T19:38:32,951 INFO [main] org.apache.druid.guice.JsonConfigurator - Loaded class[class org.apache.druid.query.metadata.SegmentMetadataQueryConfig] from props[druid.query.segmentMetadata.] as [org.apache.druid.query.metadata.SegmentMetadataQueryConfig@577bfadb] 2020-06-10T19:38:32,971 INFO [main] org.apache.druid.guice.JsonConfigurator - Loaded class[class org.apache.druid.query.groupby.GroupByQueryConfig] from props[druid.query.groupBy.] as [GroupByQueryConfig{defaultStrategy='v2', singleThreaded=false, maxIntermediateRows=50000, maxResults=500000, bufferGrouperMaxSize=2147483647, bufferGrouperMaxLoadFactor=0.0, bufferGrouperInitialBuckets=0, maxMergingDictionarySize=100000000, maxOnDiskStorage=0, forcePushDownLimit=false, forceHashAggregation=false, intermediateCombineDegree=8, numParallelCombineThreads=1, vectorize=false, forcePushDownNestedQuery=false}] 2020-06-10T19:38:33,021 INFO [main] org.apache.druid.offheap.OffheapBufferGenerator - Allocating new intermediate processing buffer[0] of size[268,435,456] 2020-06-10T19:38:33,240 INFO [main] org.apache.druid.offheap.OffheapBufferGenerator - Allocating new result merging buffer[0] of size[268,435,456] 2020-06-10T19:38:33,492 INFO [main] org.apache.druid.offheap.OffheapBufferGenerator - Allocating new result merging buffer[1] of size[268,435,456] 2020-06-10T19:38:33,682 INFO [main] org.apache.druid.guice.JsonConfigurator - Loaded class[class org.apache.druid.query.scan.ScanQueryConfig] from props[druid.query.scan.] as [ScanQueryConfig{legacy=false}] 2020-06-10T19:38:33,684 INFO [main] org.apache.druid.guice.JsonConfigurator - Loaded class[class org.apache.druid.query.topn.TopNQueryConfig] from props[druid.query.topN.] as [org.apache.druid.query.topn.TopNQueryConfig@20b54cfe] 2020-06-10T19:38:33,698 INFO [main] org.apache.druid.guice.JsonConfigurator - Loaded class[interface org.apache.druid.server.log.RequestLoggerProvider] from props[druid.request.logging.] as [org.apache.druid.server.log.NoopRequestLoggerProvider@2347b7af] 2020-06-10T19:38:33,740 INFO [main] org.apache.druid.guice.JsonConfigurator - Loaded class[class org.apache.druid.query.lookup.LookupConfig] from props[druid.lookup.] as [LookupConfig{snapshotWorkingDir='', enableLookupSyncOnStartup=false, numLookupLoadingThreads=24, coordinatorFetchRetries=3, lookupStartRetries=3, coordinatorRetryDelay=60000}] 2020-06-10T19:38:33,741 INFO [main] org.apache.druid.java.util.common.lifecycle.Lifecycle - Starting lifecycle [module] stage [INIT] 2020-06-10T19:38:33,742 INFO [main] org.apache.druid.java.util.common.lifecycle.Lifecycle$AnnotationBasedHandler - Invoking start method[public void org.apache.druid.initialization.Log4jShutterDownerModule$Log4jShutterDowner.start()] on object[org.apache.druid.initialization.Log4jShutterDownerModule$Log4jShutterDowner@7e58f697]. 2020-06-10T19:38:33,742 INFO [main] org.apache.druid.java.util.common.lifecycle.Lifecycle - Starting lifecycle [module] stage [NORMAL] 2020-06-10T19:38:33,742 INFO [main] org.apache.druid.curator.CuratorModule - Starting Curator 2020-06-10T19:38:33,742 INFO [main] org.apache.curator.framework.imps.CuratorFrameworkImpl - Starting 2020-06-10T19:38:33,766 INFO [main] org.apache.zookeeper.ZooKeeper - Client environment:zookeeper.version=3.4.14-4c25d480e66aadd371de8bd2fd8da255ac140bcf, built on 03/06/2019 16:18 GMT 2020-06-10T19:38:33,766 INFO [main] org.apache.zookeeper.ZooKeeper - Client environment:host.name=some-host 2020-06-10T19:38:33,766 INFO [main] org.apache.zookeeper.ZooKeeper - Client environment:java.version=1.8.0_162 2020-06-10T19:38:33,766 INFO [main] org.apache.zookeeper.ZooKeeper - Client environment:java.vendor=Oracle Corporation 2020-06-10T19:38:33,766 INFO [main] org.apache.zookeeper.ZooKeeper - Client environment:java.home=/usr/lib/jvm/java-8-openjdk-amd64/jre 2020-06-10T19:38:33,766 INFO [main] org.apache.zookeeper.ZooKeeper - Client environment:java.class.path=conf/druid/_common:conf/druid/middleManager:lib/jackson-datatype-guava-2.6.7.jar:lib/zstd-jni-1.3.3-1.jar:lib/log4j-slf4j-impl-2.5.jar:lib/RoaringBitmap-0.8.6.jar:lib/spymemcached-2.12.3.jar:lib/httpclient-4.5.3.jar:lib/aopalliance-1.0.jar:lib/aether-connector-okhttp-0.0.9.jar:lib/jackson-datatype-joda-2.6.7.jar:lib/commons-collections-3.2.2.jar:lib/jetty-continuation-9.4.10.v20180503.jar:lib/jsr311-api-1.1.1.jar:lib/jboss-logging-3.1.3.GA.jar:lib/netty-codec-4.1.30.Final.jar:lib/jackson-mapper-asl-1.9.13.jar:lib/shims-0.8.6.jar:lib/jackson-dataformat-cbor-2.6.7.jar:lib/javax.activation-1.2.0.jar:lib/jmespath-java-1.11.199.jar:lib/antlr4-runtime-4.5.1.jar:lib/async-http-client-2.5.3.jar:lib/rhino-1.7.11.jar:lib/stax-ex-1.8.jar:lib/druid-indexing-service-0.16.0-incubating.jar:lib/druid-core-0.16.0-incubating.jar:lib/maven-settings-builder-3.1.1.jar:lib/calcite-core-1.17.0.jar:lib/commons-collections4-4.2.jar:lib/commons-pool2-2.2.jar:lib/jsr305-2.0.1.jar:lib/aws-java-sdk-core-1.11.199.jar:lib/commons-dbcp2-2.0.1.jar:lib/extendedset-0.16.0-incubating.jar:lib/derby-10.14.2.0.jar:lib/error_prone_annotations-2.3.2.jar:lib/javax.activation-api-1.2.0.jar:lib/jersey-core-1.19.3.jar:lib/plexus-utils-3.0.15.jar:lib/guice-multibindings-4.1.0.jar:lib/wagon-provider-api-2.4.jar:lib/maven-repository-metadata-3.1.1.jar:lib/sigar-1.6.5.132.jar:lib/jetty-http-9.4.10.v20180503.jar:lib/avatica-core-1.12.0.jar:lib/jetty-client-9.4.10.v20180503.jar:lib/druid-server-0.16.0-incubating.jar:lib/jetty-io-9.4.10.v20180503.jar:lib/jackson-annotations-2.6.7.jar:lib/config-magic-0.9.jar:lib/aether-api-0.9.0.M2.jar:lib/javax.servlet-api-3.1.0.jar:lib/jetty-util-9.4.10.v20180503.jar:lib/opencsv-4.6.jar:lib/jaxb-runtime-2.3.1.jar:lib/netty-common-4.1.30.Final.jar:lib/aws-java-sdk-s3-1.11.199.jar:lib/jackson-databind-2.6.7.jar:lib/netty-codec-dns-4.1.30.Final.jar:lib/jersey-guice-1.19.3.jar:lib/jetty-security-9.4.10.v20180503.jar:lib/jersey-server-1.19.3.jar:lib/avatica-metrics-1.12.0.jar:lib/aws-java-sdk-ec2-1.11.199.jar:lib/commons-io-2.6.jar:lib/jackson-core-asl-1.9.13.jar:lib/metrics-core-4.0.0.jar:lib/audience-annotations-0.5.0.jar:lib/google-oauth-client-1.22.0.jar:lib/jackson-module-jaxb-annotations-2.6.7.jar:lib/joni-2.1.27.jar:lib/esri-geometry-api-2.0.0.jar:lib/jackson-jaxrs-smile-provider-2.6.7.jar:lib/commons-lang3-3.8.1.jar:lib/okhttp-1.0.2.jar:lib/druid-sql-0.16.0-incubating.jar:lib/checker-qual-2.5.7.jar:lib/jetty-server-9.4.10.v20180503.jar:lib/commons-logging-1.1.1.jar:lib/commons-compress-1.18.jar:lib/fastutil-8.2.3.jar:lib/jcl-over-slf4j-1.7.12.jar:lib/jvm-attach-api-1.5.jar:lib/joda-time-2.10.2.jar:lib/netty-resolver-4.1.30.Final.jar:lib/commons-beanutils-1.9.3.jar:lib/slf4j-api-1.7.25.jar:lib/caffeine-2.5.5.jar:lib/commons-compiler-2.7.6.jar:lib/classmate-1.0.0.jar:lib/jackson-module-guice-2.6.7.jar:lib/guice-4.1.0.jar:lib/javax.inject-1.jar:lib/compress-lzf-1.0.4.jar:lib/FastInfoset-1.2.15.jar:lib/maven-model-builder-3.1.1.jar:lib/curator-x-discovery-4.1.0.jar:lib/maven-artifact-3.6.0.jar:lib/netty-3.10.6.Final.jar:lib/airline-0.7.jar:lib/maven-aether-provider-3.1.1.jar:lib/netty-handler-4.1.30.Final.jar:lib/jackson-core-2.6.7.jar:lib/asm-tree-7.1.jar:lib/netty-transport-native-unix-common-4.1.30.Final.jar:lib/maven-settings-3.1.1.jar:lib/druid-aws-common-0.16.0-incubating.jar:lib/curator-client-4.1.0.jar:lib/async-http-client-netty-utils-2.5.3.jar:lib/aws-java-sdk-kms-1.11.199.jar:lib/jetty-servlet-9.4.10.v20180503.jar:lib/accessors-smart-1.2.jar:lib/druid-indexing-hadoop-0.16.0-incubating.jar:lib/asm-analysis-7.1.jar:lib/plexus-interpolation-1.19.jar:lib/aether-impl-0.9.0.M2.jar:lib/druid-services-0.16.0-incubating.jar:lib/jackson-jq-0.0.10.jar:lib/netty-buffer-4.1.30.Final.jar:lib/lz4-java-1.6.0.jar:lib/aggdesigner-algorithm-6.0.jar:lib/protobuf-java-3.1.0.jar:lib/log4j-api-2.5.jar:lib/log4j-core-2.5.jar:lib/aether-connector-file-0.9.0.M2.jar:lib/json-path-2.3.0.jar:lib/jna-4.5.1.jar:lib/curator-recipes-4.1.0.jar:lib/calcite-linq4j-1.17.0.jar:lib/druid-hll-0.16.0-incubating.jar:lib/jaxb-api-2.3.1.jar:lib/hibernate-validator-5.1.3.Final.jar:lib/guava-16.0.1.jar:lib/curator-framework-4.1.0.jar:lib/avatica-server-1.12.0.jar:lib/istack-commons-runtime-3.0.7.jar:lib/javax.el-3.0.0.jar:lib/commons-math3-3.6.1.jar:lib/netty-resolver-dns-4.1.30.Final.jar:lib/jcodings-1.0.43.jar:lib/commons-net-3.6.jar:lib/netty-transport-native-epoll-4.1.30.Final-linux-x86_64.jar:lib/netty-handler-proxy-4.1.30.Final.jar:lib/druid-console-0.16.0-incubating.jar:lib/jdbi-2.63.1.jar:lib/xz-1.8.jar:lib/zookeeper-3.4.14.jar:lib/guice-servlet-4.1.0.jar:lib/netty-transport-4.1.30.Final.jar:lib/httpcore-4.4.11.jar:lib/commons-codec-1.12.jar:lib/netty-codec-http-4.1.30.Final.jar:lib/netty-codec-socks-4.1.30.Final.jar:lib/aether-util-0.9.0.M2.jar:lib/google-api-client-1.22.0.jar:lib/maven-model-3.1.1.jar:lib/janino-2.7.6.jar:lib/icu4j-54.1.1.jar:lib/asm-7.1.jar:lib/commons-lang-2.6.jar:lib/javax.el-api-3.0.0.jar:lib/derbynet-10.14.2.0.jar:lib/jackson-jaxrs-json-provider-2.6.7.jar:lib/asm-commons-7.1.jar:lib/commons-text-1.3.jar:lib/druid-processing-0.16.0-incubating.jar:lib/tesla-aether-0.0.5.jar:lib/google-http-client-1.22.0.jar:lib/log4j-1.2-api-2.5.jar:lib/ion-java-1.0.2.jar:lib/jackson-jaxrs-base-2.6.7.jar:lib/netty-reactive-streams-2.0.0.jar:lib/log4j-jul-2.5.jar:lib/txw2-2.3.1.jar:lib/jline-0.9.94.jar:lib/reactive-streams-1.0.2.jar:lib/druid-gcp-common-0.16.0-incubating.jar:lib/derbyclient-10.14.2.0.jar:lib/validation-api-1.1.0.Final.jar:lib/jetty-servlets-9.4.10.v20180503.jar:lib/disruptor-3.3.6.jar:lib/jackson-dataformat-smile-2.6.7.jar:lib/jersey-servlet-1.19.3.jar:lib/json-smart-2.3.jar:lib/aether-spi-0.9.0.M2.jar:lib/google-http-client-jackson2-1.22.0.jar:lib/jetty-proxy-9.4.10.v20180503.jar 2020-06-10T19:38:33,766 INFO [main] org.apache.zookeeper.ZooKeeper - Client environment:java.library.path=/usr/java/packages/lib/amd64:/usr/lib/x86_64-linux-gnu/jni:/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu:/usr/lib/jni:/lib:/usr/lib 2020-06-10T19:38:33,766 INFO [main] org.apache.zookeeper.ZooKeeper - Client environment:java.io.tmpdir=var/tmp 2020-06-10T19:38:33,766 INFO [main] org.apache.zookeeper.ZooKeeper - Client environment:java.compiler= 2020-06-10T19:38:33,766 INFO [main] org.apache.zookeeper.ZooKeeper - Client environment:os.name=Linux 2020-06-10T19:38:33,766 INFO [main] org.apache.zookeeper.ZooKeeper - Client environment:os.arch=amd64 2020-06-10T19:38:33,766 INFO [main] org.apache.zookeeper.ZooKeeper - Client environment:os.version=4.4.0-116-generic 2020-06-10T19:38:33,766 INFO [main] org.apache.zookeeper.ZooKeeper - Client environment:user.name=__druid-master 2020-06-10T19:38:33,766 INFO [main] org.apache.zookeeper.ZooKeeper - Client environment:user.home=/opt/druid 2020-06-10T19:38:33,766 INFO [main] org.apache.zookeeper.ZooKeeper - Client environment:user.dir=/opt/druid 2020-06-10T19:38:33,767 INFO [main] org.apache.zookeeper.ZooKeeper - Initiating client connection, connectString=some-host:2181,some-host:2181,some-host:2181 sessionTimeout=30000 watcher=org.apache.curator.ConnectionState@32dcfeea 2020-06-10T19:38:33,840 INFO [main] org.apache.curator.framework.imps.CuratorFrameworkImpl - Default schema 2020-06-10T19:38:33,848 INFO [main] org.apache.druid.java.util.common.lifecycle.Lifecycle$AnnotationBasedHandler - Invoking start method[public void org.apache.druid.java.util.emitter.service.ServiceEmitter.start()] on object[ServiceEmitter{serviceDimensions={service=druid/middleManager, host=some-host:8103, version=0.16.0-incubating}, emitter=org.apache.druid.emitter.statsd.StatsDEmitter@1de4bee0}]. 2020-06-10T19:38:33,849 INFO [main] org.apache.druid.java.util.common.lifecycle.Lifecycle$AnnotationBasedHandler - Invoking start method[public void org.apache.druid.java.util.metrics.MonitorScheduler.start()] on object[org.apache.druid.java.util.metrics.MonitorScheduler@d16209e]. 2020-06-10T19:38:33,852 INFO [main] org.apache.druid.java.util.common.lifecycle.Lifecycle$AnnotationBasedHandler - Invoking start method[public void org.apache.druid.storage.hdfs.HdfsStorageAuthentication.authenticate()] on object[org.apache.druid.storage.hdfs.HdfsStorageAuthentication@40016ce1]. 2020-06-10T19:38:33,861 INFO [main] org.apache.druid.java.util.common.lifecycle.Lifecycle$AnnotationBasedHandler - Invoking start method[public void org.apache.druid.java.util.http.client.NettyHttpClient.start()] on object[org.apache.druid.java.util.http.client.NettyHttpClient@4b6b5352]. 2020-06-10T19:38:33,862 INFO [main] org.apache.druid.java.util.common.lifecycle.Lifecycle$AnnotationBasedHandler - Invoking start method[public void org.apache.druid.curator.discovery.CuratorDruidNodeDiscoveryProvider.start()] on object[org.apache.druid.curator.discovery.CuratorDruidNodeDiscoveryProvider@3b39e79b]. 2020-06-10T19:38:33,862 INFO [main] org.apache.druid.curator.discovery.CuratorDruidNodeDiscoveryProvider - starting 2020-06-10T19:38:33,862 INFO [main] org.apache.druid.curator.discovery.CuratorDruidNodeDiscoveryProvider - started 2020-06-10T19:38:33,862 INFO [main] org.apache.druid.java.util.common.lifecycle.Lifecycle$AnnotationBasedHandler - Invoking start method[public void org.apache.druid.curator.discovery.ServerDiscoverySelector.start() throws java.lang.Exception] on object[org.apache.druid.curator.discovery.ServerDiscoverySelector@adafe19]. 2020-06-10T19:38:34,187 INFO [main-SendThread(some-host:2181)] org.apache.zookeeper.ClientCnxn - Opening socket connection to server some-host/some-host:2181. Will not attempt to authenticate using SASL (unknown error) 2020-06-10T19:38:34,212 INFO [main-SendThread(some-host:2181)] org.apache.zookeeper.ClientCnxn - Socket connection established to some-host/some-host:2181, initiating session 2020-06-10T19:38:34,247 INFO [main-SendThread(some-host:2181)] org.apache.zookeeper.ClientCnxn - Session establishment complete on server some-host/some-host:2181, sessionid = 0x1059da43fb70778, negotiated timeout = 30000 2020-06-10T19:38:34,280 INFO [main-EventThread] org.apache.curator.framework.state.ConnectionStateManager - State change: CONNECTED 2020-06-10T19:38:34,570 INFO [main] org.apache.druid.java.util.common.lifecycle.Lifecycle$AnnotationBasedHandler - Invoking start method[public void org.apache.druid.discovery.DruidLeaderClient.start()] on object[org.apache.druid.discovery.DruidLeaderClient@18e6b72b]. 2020-06-10T19:38:34,570 INFO [main] org.apache.druid.curator.discovery.CuratorDruidNodeDiscoveryProvider - Creating NodeTypeWatcher for nodeType [OVERLORD]. 2020-06-10T19:38:34,581 INFO [main] org.apache.druid.curator.discovery.CuratorDruidNodeDiscoveryProvider - Created NodeTypeWatcher for nodeType [OVERLORD]. 2020-06-10T19:38:34,581 INFO [main] org.apache.druid.discovery.DruidLeaderClient - Started. 2020-06-10T19:38:34,581 INFO [main] org.apache.druid.java.util.common.lifecycle.Lifecycle$AnnotationBasedHandler - Invoking start method[public void org.apache.druid.curator.discovery.ServerDiscoverySelector.start() throws java.lang.Exception] on object[org.apache.druid.curator.discovery.ServerDiscoverySelector@13cc31ae]. 2020-06-10T19:38:34,595 INFO [main] org.apache.druid.java.util.common.lifecycle.Lifecycle$AnnotationBasedHandler - Invoking start method[public void org.apache.druid.discovery.DruidLeaderClient.start()] on object[org.apache.druid.discovery.DruidLeaderClient@62faf77]. 2020-06-10T19:38:34,595 INFO [main] org.apache.druid.curator.discovery.CuratorDruidNodeDiscoveryProvider - Creating NodeTypeWatcher for nodeType [COORDINATOR]. 2020-06-10T19:38:34,596 INFO [main] org.apache.druid.curator.discovery.CuratorDruidNodeDiscoveryProvider - Created NodeTypeWatcher for nodeType [COORDINATOR]. 2020-06-10T19:38:34,596 INFO [main] org.apache.druid.discovery.DruidLeaderClient - Started. 2020-06-10T19:38:34,606 INFO [main] org.apache.druid.java.util.common.lifecycle.Lifecycle$AnnotationBasedHandler - Invoking start method[public void org.apache.druid.indexing.worker.IntermediaryDataManager.start()] on object[org.apache.druid.indexing.worker.IntermediaryDataManager@77cddc0c]. 2020-06-10T19:38:34,606 INFO [main] org.apache.druid.indexing.worker.IntermediaryDataManager - Discovered partitions for [0] new supervisor tasks under location[var/tmp/intermediary-segments] 2020-06-10T19:38:34,618 INFO [main] org.apache.druid.java.util.common.lifecycle.Lifecycle$AnnotationBasedHandler - Invoking start method[public void org.apache.druid.indexing.overlord.SingleTaskBackgroundRunner.start()] on object[org.apache.druid.indexing.overlord.SingleTaskBackgroundRunner@1fb6b8fb]. 2020-06-10T19:38:34,618 INFO [main] org.apache.druid.java.util.common.lifecycle.Lifecycle$AnnotationBasedHandler - Invoking start method[public void org.apache.druid.indexing.worker.executor.ExecutorLifecycle.start() throws java.lang.InterruptedException] on object[org.apache.druid.indexing.worker.executor.ExecutorLifecycle@149d7cc6]. 2020-06-10T19:38:34,680 INFO [NodeTypeWatcher[OVERLORD]] org.apache.druid.curator.discovery.CuratorDruidNodeDiscoveryProvider$NodeTypeWatcher - Node[some-host:8090:DiscoveryDruidNode{druidNode=DruidNode{serviceName='druid/overlord', host='some-host', bindOnHost=false, port=-1, plaintextPort=8090, enablePlaintextPort=true, tlsPort=-1, enableTlsPort=false}, nodeType='OVERLORD', services={}}] appeared. 2020-06-10T19:38:34,680 INFO [NodeTypeWatcher[COORDINATOR]] org.apache.druid.curator.discovery.CuratorDruidNodeDiscoveryProvider$NodeTypeWatcher - Node[some-host:8081:DiscoveryDruidNode{druidNode=DruidNode{serviceName='druid/coordinator', host='some-host', bindOnHost=false, port=-1, plaintextPort=8081, enablePlaintextPort=true, tlsPort=-1, enableTlsPort=false}, nodeType='COORDINATOR', services={}}] appeared. 2020-06-10T19:38:34,689 INFO [NodeTypeWatcher[COORDINATOR]] org.apache.druid.curator.discovery.CuratorDruidNodeDiscoveryProvider$NodeTypeWatcher - Node[some-host:8081:DiscoveryDruidNode{druidNode=DruidNode{serviceName='druid/coordinator', host='some-host', bindOnHost=false, port=-1, plaintextPort=8081, enablePlaintextPort=true, tlsPort=-1, enableTlsPort=false}, nodeType='COORDINATOR', services={}}] appeared. 2020-06-10T19:38:34,689 INFO [NodeTypeWatcher[COORDINATOR]] org.apache.druid.curator.discovery.CuratorDruidNodeDiscoveryProvider$NodeTypeWatcher - Received INITIALIZED in node watcher. 2020-06-10T19:38:34,689 INFO [NodeTypeWatcher[OVERLORD]] org.apache.druid.curator.discovery.CuratorDruidNodeDiscoveryProvider$NodeTypeWatcher - Node[some-host:8090:DiscoveryDruidNode{druidNode=DruidNode{serviceName='druid/overlord', host='some-host', bindOnHost=false, port=-1, plaintextPort=8090, enablePlaintextPort=true, tlsPort=-1, enableTlsPort=false}, nodeType='OVERLORD', services={}}] appeared. 2020-06-10T19:38:34,689 INFO [NodeTypeWatcher[OVERLORD]] org.apache.druid.curator.discovery.CuratorDruidNodeDiscoveryProvider$NodeTypeWatcher - Received INITIALIZED in node watcher. 2020-06-10T19:38:34,739 INFO [main] org.apache.druid.indexing.worker.executor.ExecutorLifecycle - Running with task: { "type" : "kill", "id" : "kill-datasource_name-0", "dataSource" : "datasource_name", "interval" : "1000-01-01T00:00:00.000Z/3000-01-01T00:00:00.000Z", "context" : { "forceTimeChunkLock" : true }, "groupId" : "kill-datasource_name-0", "resource" : { "availabilityGroup" : "kill-datasource_name-0", "requiredCapacity" : 1 } } 2020-06-10T19:38:34,749 INFO [main] org.apache.druid.indexing.worker.executor.ExecutorLifecycle - Attempting to lock file[var/druid/task/kill-datasource_name-0/lock]. 2020-06-10T19:38:34,751 INFO [main] org.apache.druid.indexing.worker.executor.ExecutorLifecycle - Acquired lock file[var/druid/task/kill-datasource_name-0/lock] in 2ms. 2020-06-10T19:38:34,761 INFO [main] org.apache.druid.indexing.common.actions.RemoteTaskActionClient - Performing action for task[kill-datasource_name-0]: TimeChunkLockTryAcquireAction{, type=EXCLUSIVE, interval=1000-01-01T00:00:00.000Z/3000-01-01T00:00:00.000Z} 2020-06-10T19:38:34,811 INFO [main] org.apache.druid.indexing.common.actions.RemoteTaskActionClient - Submitting action for task[kill-datasource_name-0] to overlord: [TimeChunkLockTryAcquireAction{, type=EXCLUSIVE, interval=1000-01-01T00:00:00.000Z/3000-01-01T00:00:00.000Z}]. 2020-06-10T19:38:35,459 INFO [task-runner-0-priority-0] org.apache.druid.indexing.overlord.SingleTaskBackgroundRunner - Running task: kill-datasource_name-0 2020-06-10T19:38:35,471 INFO [task-runner-0-priority-0] org.apache.druid.indexing.overlord.TaskRunnerUtils - Task [kill-datasource_name-0] location changed to [TaskLocation{host='some-host', port=8103, tlsPort=-1}]. 2020-06-10T19:38:35,472 INFO [task-runner-0-priority-0] org.apache.druid.indexing.overlord.TaskRunnerUtils - Task [kill-datasource_name-0] status changed to [RUNNING]. 2020-06-10T19:38:35,481 INFO [task-runner-0-priority-0] org.apache.druid.indexing.common.actions.RemoteTaskActionClient - Performing action for task[kill-datasource_name-0]: LockListAction{} 2020-06-10T19:38:35,494 INFO [task-runner-0-priority-0] org.apache.druid.indexing.common.actions.RemoteTaskActionClient - Submitting action for task[kill-datasource_name-0] to overlord: [LockListAction{}]. 2020-06-10T19:38:35,494 INFO [main] org.apache.druid.java.util.common.lifecycle.Lifecycle$AnnotationBasedHandler - Invoking start method[public void org.apache.druid.query.lookup.LookupReferencesManager.start()] on object[org.apache.druid.query.lookup.LookupReferencesManager@17c53dfb]. 2020-06-10T19:38:35,494 INFO [main] org.apache.druid.query.lookup.LookupReferencesManager - LookupExtractorFactoryContainerProvider is starting. 2020-06-10T19:38:35,494 INFO [main] org.apache.druid.query.lookup.LookupReferencesManager - No lookups to be loaded at this point 2020-06-10T19:38:35,495 INFO [main] org.apache.druid.query.lookup.LookupReferencesManager - LookupExtractorFactoryContainerProvider is started. 2020-06-10T19:38:35,496 INFO [main] org.apache.druid.java.util.common.lifecycle.Lifecycle$AnnotationBasedHandler - Invoking start method[public void org.apache.druid.server.listener.announcer.ListenerResourceAnnouncer.start()] on object[org.apache.druid.query.lookup.LookupResourceListenerAnnouncer@efe49ab]. 2020-06-10T19:38:35,506 INFO [main] org.apache.druid.server.listener.announcer.ListenerResourceAnnouncer - Announcing start time on [/druid/listeners/lookups/__default/http:some-host:8103] 2020-06-10T19:38:35,506 INFO [main] org.apache.druid.java.util.common.lifecycle.Lifecycle - Starting lifecycle [module] stage [SERVER] 2020-06-10T19:38:35,507 INFO [main] org.apache.druid.server.initialization.jetty.JettyServerModule - Starting Jetty Server... 2020-06-10T19:38:35,541 INFO [main] org.eclipse.jetty.server.Server - jetty-9.4.10.v20180503; built: 2018-05-03T15:56:21.710Z; git: daa59876e6f384329b122929e70a80934569428c; jvm 1.8.0_162-8u162-b12-1~deb9u1-b12 2020-06-10T19:38:35,543 INFO [task-runner-0-priority-0] org.apache.druid.indexing.common.actions.RemoteTaskActionClient - Performing action for task[kill-datasource_name-0]: SegmentListUnusedAction{dataSource='datasource_name', interval=1000-01-01T00:00:00.000Z/3000-01-01T00:00:00.000Z} 2020-06-10T19:38:35,553 INFO [task-runner-0-priority-0] org.apache.druid.indexing.common.actions.RemoteTaskActionClient - Submitting action for task[kill-datasource_name-0] to overlord: [SegmentListUnusedAction{dataSource='datasource_name', interval=1000-01-01T00:00:00.000Z/3000-01-01T00:00:00.000Z}]. 2020-06-10T19:38:35,698 INFO [main] org.eclipse.jetty.server.session - DefaultSessionIdManager workerName=node0 2020-06-10T19:38:35,698 INFO [main] org.eclipse.jetty.server.session - No SessionScavenger set, using defaults 2020-06-10T19:38:35,699 INFO [main] org.eclipse.jetty.server.session - node0 Scavenging every 600000ms 2020-06-10T19:38:35,927 INFO [main] com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory - Registering org.apache.druid.server.http.SegmentListerResource as a root resource class 2020-06-10T19:38:35,938 INFO [main] com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory - Registering com.fasterxml.jackson.jaxrs.json.JacksonJsonProvider as a provider class 2020-06-10T19:38:35,938 INFO [main] com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory - Registering com.fasterxml.jackson.jaxrs.smile.JacksonSmileProvider as a provider class 2020-06-10T19:38:35,939 INFO [main] com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory - Registering org.apache.druid.server.initialization.jetty.CustomExceptionMapper as a provider class 2020-06-10T19:38:35,939 INFO [main] com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory - Registering org.apache.druid.server.initialization.jetty.ForbiddenExceptionMapper as a provider class 2020-06-10T19:38:35,940 INFO [main] com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory - Registering org.apache.druid.server.initialization.jetty.BadRequestExceptionMapper as a provider class 2020-06-10T19:38:35,940 INFO [main] com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory - Registering org.apache.druid.server.StatusResource as a root resource class 2020-06-10T19:38:35,951 INFO [main] com.sun.jersey.server.impl.application.WebApplicationImpl - Initiating Jersey application, version 'Jersey: 1.19.3 10/24/2016 03:43 PM' 2020-06-10T19:38:36,215 INFO [main] com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory - Binding org.apache.druid.server.initialization.jetty.CustomExceptionMapper to GuiceManagedComponentProvider with the scope "Singleton" 2020-06-10T19:38:36,226 INFO [main] com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory - Binding org.apache.druid.server.initialization.jetty.ForbiddenExceptionMapper to GuiceManagedComponentProvider with the scope "Singleton" 2020-06-10T19:38:36,227 INFO [main] com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory - Binding org.apache.druid.server.initialization.jetty.BadRequestExceptionMapper to GuiceManagedComponentProvider with the scope "Singleton" 2020-06-10T19:38:36,228 INFO [main] com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory - Binding com.fasterxml.jackson.jaxrs.json.JacksonJsonProvider to GuiceManagedComponentProvider with the scope "Singleton" 2020-06-10T19:38:36,262 INFO [main] com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory - Binding com.fasterxml.jackson.jaxrs.smile.JacksonSmileProvider to GuiceManagedComponentProvider with the scope "Singleton" 2020-06-10T19:38:37,294 INFO [main] com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory - Binding org.apache.druid.server.http.security.StateResourceFilter to GuiceInstantiatedComponentProvider 2020-06-10T19:38:37,355 INFO [main] com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory - Binding org.apache.druid.server.http.SegmentListerResource to GuiceManagedComponentProvider with the scope "PerRequest" 2020-06-10T19:38:37,379 INFO [main] com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory - Binding org.apache.druid.server.QueryResource to GuiceInstantiatedComponentProvider 2020-06-10T19:38:37,399 INFO [main] com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory - Binding org.apache.druid.segment.realtime.firehose.ChatHandlerResource to GuiceInstantiatedComponentProvider 2020-06-10T19:38:37,404 INFO [main] com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory - Binding org.apache.druid.server.http.security.ConfigResourceFilter to GuiceInstantiatedComponentProvider 2020-06-10T19:38:37,426 INFO [main] com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory - Binding org.apache.druid.query.lookup.LookupListeningResource to GuiceInstantiatedComponentProvider 2020-06-10T19:38:37,428 INFO [main] com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory - Binding org.apache.druid.query.lookup.LookupIntrospectionResource to GuiceInstantiatedComponentProvider 2020-06-10T19:38:37,437 INFO [main] com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory - Binding org.apache.druid.server.StatusResource to GuiceManagedComponentProvider with the scope "Undefined" 2020-06-10T19:38:37,522 INFO [main] org.eclipse.jetty.server.handler.ContextHandler - Started o.e.j.s.ServletContextHandler@6124dda2{/,null,AVAILABLE} 2020-06-10T19:38:37,547 INFO [main] org.eclipse.jetty.server.AbstractConnector - Started ServerConnector@141b011a{HTTP/1.1,[http/1.1]}{0.0.0.0:8103} 2020-06-10T19:38:37,547 INFO [main] org.eclipse.jetty.server.Server - Started @21348ms 2020-06-10T19:38:37,547 INFO [main] org.apache.druid.java.util.common.lifecycle.Lifecycle - Starting lifecycle [module] stage [ANNOUNCEMENTS] 2020-06-10T19:38:37,547 INFO [main] org.apache.druid.java.util.common.lifecycle.Lifecycle$AnnotationBasedHandler - Invoking start method[public void org.apache.druid.curator.announcement.Announcer.start()] on object[org.apache.druid.curator.announcement.Announcer@7976e536]. 2020-06-10T19:38:37,547 INFO [main] org.apache.druid.curator.announcement.Announcer - Starting announcer 2020-06-10T19:38:37,607 INFO [main] org.apache.druid.java.util.common.lifecycle.Lifecycle - Successfully started lifecycle [module] Terminating due to java.lang.OutOfMemoryError: GC overhead limit exceeded ```
AKarbas commented 4 years ago

Have you checked the available memory on your server ?

@FrankChen021: I tested the memory usage.

It is configured to use 1GB of heap and up to 1.5GB of direct memory (as you can see in the issue description).

The metrics emitted by druid show no more than about 200MB of heap of non-heap memory usage (each), but looking at server metrics not emitted by druid, the task used about 1.8 GB in total and that much was freed after it failed. Also, about 50% of the configured memory for the whole MiddleManager was free the whole time.

mounikanakkala commented 2 years ago

For anyone interested

You could use the DELETE API mentioned in https://druid.apache.org/docs/latest/operations/api-reference.html

For example Pass HTTP DELETE command as follows

<druid url>/druid/coordinator/v1/datasources/{dataSourceName}/intervals/{interval}

interval can be for example, 2020-01-01T00:00:00.000Z_2020-02-01T00:00:00.000Z

You can control how many segments you want to delete in one single run.

github-actions[bot] commented 1 year ago

This issue has been marked as stale due to 280 days of inactivity. It will be closed in 4 weeks if no further activity occurs. If this issue is still relevant, please simply write any comment. Even if closed, you can still revive the issue at any time or discuss it on the dev@druid.apache.org list. Thank you for your contributions.

github-actions[bot] commented 1 year ago

This issue has been closed due to lack of activity. If you think that is incorrect, or the issue requires additional review, you can revive the issue at any time.