Closed mstein11 closed 10 months ago
Full Peon Log:
2022-01-05T11:50:15,791 INFO [main] org.hibernate.validator.internal.util.Version - HV000001: Hibernate Validator 5.2.5.Final
2022-01-05T11:50:16,272 INFO [main] org.apache.druid.initialization.Initialization - Loading extension [druid-histogram], jars: druid-histogram-0.22.1.jar
2022-01-05T11:50:16,273 INFO [main] org.apache.druid.initialization.Initialization - Loading extension [druid-datasketches], jars: commons-math3-3.6.1.jar, druid-datasketches-0.22.1.jar
2022-01-05T11:50:16,275 INFO [main] org.apache.druid.initialization.Initialization - Loading extension [druid-lookups-cached-global], jars: druid-lookups-cached-global-0.22.1.jar, mapdb-1.0.8.jar
2022-01-05T11:50:16,276 INFO [main] org.apache.druid.initialization.Initialization - Loading extension [postgresql-metadata-storage], jars: postgresql-42.2.14.jar, postgresql-metadata-storage-0.22.1.jar
2022-01-05T11:50:16,276 INFO [main] org.apache.druid.initialization.Initialization - Loading extension [druid-kafka-indexing-service], jars: druid-kafka-indexing-service-0.22.1.jar, kafka-clients-2.8.0.jar, lz4-java-1.7.1.jar, snappy-java-1.1.8.1.jar, zstd-jni-1.3.3-1.jar
2022-01-05T11:50:16,278 INFO [main] org.apache.druid.initialization.Initialization - Loading extension [druid-basic-security], jars: druid-basic-security-0.22.1.jar
2022-01-05T11:50:16,435 INFO [main] org.apache.druid.initialization.Initialization - Loading extension [druid-histogram], jars: druid-histogram-0.22.1.jar
2022-01-05T11:50:16,437 INFO [main] org.apache.druid.initialization.Initialization - Loading extension [druid-datasketches], jars: commons-math3-3.6.1.jar, druid-datasketches-0.22.1.jar
2022-01-05T11:50:16,443 INFO [main] org.apache.druid.initialization.Initialization - Loading extension [druid-lookups-cached-global], jars: druid-lookups-cached-global-0.22.1.jar, mapdb-1.0.8.jar
2022-01-05T11:50:16,445 INFO [main] org.apache.druid.initialization.Initialization - Loading extension [postgresql-metadata-storage], jars: postgresql-42.2.14.jar, postgresql-metadata-storage-0.22.1.jar
2022-01-05T11:50:16,446 INFO [main] org.apache.druid.initialization.Initialization - Loading extension [druid-kafka-indexing-service], jars: druid-kafka-indexing-service-0.22.1.jar, kafka-clients-2.8.0.jar, lz4-java-1.7.1.jar, snappy-java-1.1.8.1.jar, zstd-jni-1.3.3-1.jar
2022-01-05T11:50:16,448 INFO [main] org.apache.druid.initialization.Initialization - Loading extension [druid-basic-security], jars: druid-basic-security-0.22.1.jar
2022-01-05T11:50:17,594 INFO [main] org.apache.druid.guice.JsonConfigurator - Skipping druid.emitter.http.recipientBaseUrl property: one of it's prefixes is also used as a property key. Prefix: druid
2022-01-05T11:50:17,642 INFO [main] org.apache.druid.server.emitter.EmitterModule - Using emitter [HttpPostEmitter{config=HttpEmitterConfig{flushMillis=60000, flushCount=500, flushTimeOut=9223372036854775807, basicAuthentication='null', batchingStrategy=ARRAY, maxBatchSize=5242880, contentEncoding=null, batchQueueSizeLimit=6, httpTimeoutAllowanceFactor=2.0, minHttpTimeoutMillis=0, recipientBaseUrl='http://int-global-prometheus-druid-exporter:8080/druid'}}] for metrics and alerts, with dimensions [{version=0.22.1}].
2022-01-05T11:50:18,129 INFO [main] org.apache.druid.server.metrics.MetricsModule - Loaded 3 monitors: org.apache.druid.java.util.metrics.JvmMonitor, org.apache.druid.query.ExecutorServiceMonitor, org.apache.druid.server.initialization.jetty.JettyServerModule$JettyMonitor
2022-01-05T11:50:18,133 INFO [main] org.apache.druid.cli.CliPeon - Starting up with processors[2], memory[219,152,384], maxMemory[358,088,704], directMemory[201,326,592]. Properties follow.
2022-01-05T11:50:18,133 INFO [main] org.apache.druid.cli.CliPeon - awt.toolkit: sun.awt.X11.XToolkit
2022-01-05T11:50:18,133 INFO [main] org.apache.druid.cli.CliPeon - druid.auth.authenticator.MetadataAuthenticator.authorizerName: MetadataAuthorizer
2022-01-05T11:50:18,133 INFO [main] org.apache.druid.cli.CliPeon - druid.auth.authenticator.MetadataAuthenticator.credentialsValidator.type: metadata
2022-01-05T11:50:18,133 INFO [main] org.apache.druid.cli.CliPeon - druid.auth.authenticator.MetadataAuthenticator.initialAdminPassword:
2022-01-05T11:50:18,138 INFO [main] org.apache.druid.cli.CliPeon - log4j.shutdownCallbackRegistry: org.apache.druid.common.config.Log4jShutdown
2022-01-05T11:50:18,138 INFO [main] org.apache.druid.cli.CliPeon - log4j.shutdownHookEnabled: true
2022-01-05T11:50:18,138 INFO [main] org.apache.druid.cli.CliPeon - log4j2.is.webapp: false
2022-01-05T11:50:18,138 INFO [main] org.apache.druid.cli.CliPeon - os.arch: amd64
2022-01-05T11:50:18,138 INFO [main] org.apache.druid.cli.CliPeon - os.name: Linux
2022-01-05T11:50:18,138 INFO [main] org.apache.druid.cli.CliPeon - os.version: 4.18.0-305.28.1.el8_4.x86_64
2022-01-05T11:50:18,139 INFO [main] org.apache.druid.cli.CliPeon - path.separator: :
2022-01-05T11:50:18,139 INFO [main] org.apache.druid.cli.CliPeon - sun.arch.data.model: 64
2022-01-05T11:50:18,139 INFO [main] org.apache.druid.cli.CliPeon - sun.boot.class.path: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.275.b01-1.el8_3.x86_64/jre/lib/resources.jar:/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.275.b01-1.el8_3.x86_64/jre/lib/rt.jar:/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.275.b01-1.el8_3.x86_64/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.275.b01-1.el8_3.x86_64/jre/lib/jsse.jar:/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.275.b01-1.el8_3.x86_64/jre/lib/jce.jar:/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.275.b01-1.el8_3.x86_64/jre/lib/charsets.jar:/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.275.b01-1.el8_3.x86_64/jre/lib/jfr.jar:/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.275.b01-1.el8_3.x86_64/jre/classes
2022-01-05T11:50:18,139 INFO [main] org.apache.druid.cli.CliPeon - sun.boot.library.path: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.275.b01-1.el8_3.x86_64/jre/lib/amd64
2022-01-05T11:50:18,139 INFO [main] org.apache.druid.cli.CliPeon - sun.cpu.endian: little
2022-01-05T11:50:18,139 INFO [main] org.apache.druid.cli.CliPeon - sun.cpu.isalist:
2022-01-05T11:50:18,139 INFO [main] org.apache.druid.cli.CliPeon - sun.io.unicode.encoding: UnicodeLittle
2022-01-05T11:50:18,139 INFO [main] org.apache.druid.cli.CliPeon - sun.java.command: org.apache.druid.cli.Main internal peon var/druid/task/index_kafka_DATASOURCE_NAME_11fc40b96a318a6_pagmfbao/task.json var/druid/task/index_kafka_DATASOURCE_NAME_11fc40b96a318a6_pagmfbao/d3bb8b64-f303-4e1b-8490-31c18561577a/status.json var/druid/task/index_kafka_DATASOURCE_NAME_11fc40b96a318a6_pagmfbao/d3bb8b64-f303-4e1b-8490-31c18561577a/report.json --loadBroadcastSegments true
2022-01-05T11:50:18,139 INFO [main] org.apache.druid.cli.CliPeon - sun.java.launcher: SUN_STANDARD
2022-01-05T11:50:18,139 INFO [main] org.apache.druid.cli.CliPeon - sun.jnu.encoding: ANSI_X3.4-1968
2022-01-05T11:50:18,139 INFO [main] org.apache.druid.cli.CliPeon - sun.management.compiler: HotSpot 64-Bit Tiered Compilers
2022-01-05T11:50:18,139 INFO [main] org.apache.druid.cli.CliPeon - sun.os.patch.level: unknown
2022-01-05T11:50:18,139 INFO [main] org.apache.druid.cli.CliPeon - user.country: US
2022-01-05T11:50:18,139 INFO [main] org.apache.druid.cli.CliPeon - user.dir: /opt/druid
2022-01-05T11:50:18,139 INFO [main] org.apache.druid.cli.CliPeon - user.home: ?
2022-01-05T11:50:18,139 INFO [main] org.apache.druid.cli.CliPeon - user.language: en
2022-01-05T11:50:18,139 INFO [main] org.apache.druid.cli.CliPeon - user.name: ?
2022-01-05T11:50:18,139 INFO [main] org.apache.druid.cli.CliPeon - user.timezone: UTC
2022-01-05T11:50:18,511 INFO [main] org.apache.zookeeper.ZooKeeper - Client environment:zookeeper.version=3.5.9-83df9301aa5c2a5d284a9940177808c01bc35cef, built on 01/06/2021 20:03 GMT
2022-01-05T11:50:18,511 INFO [main] org.apache.zookeeper.ZooKeeper - Client environment:host.name=druid-int-middle-manager-2.druid-int-middle-manager.some_proj_name-global-int.svc.cluster.local
2022-01-05T11:50:18,511 INFO [main] org.apache.zookeeper.ZooKeeper - Client environment:java.version=1.8.0_275
2022-01-05T11:50:18,511 INFO [main] org.apache.zookeeper.ZooKeeper - Client environment:java.vendor=Red Hat, Inc.
2022-01-05T11:50:18,511 INFO [main] org.apache.zookeeper.ZooKeeper - Client environment:java.home=/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.275.b01-1.el8_3.x86_64/jre
2022-01-05T11:50:18,511 INFO [main] org.apache.zookeeper.ZooKeeper - Client environment:java.class.path=/tmp/conf/druid/cluster/_common:/tmp/conf/druid/cluster/data/middleManager:lib/FastInfoset-1.2.15.jar:lib/RoaringBitmap-0.9.0.jar:lib/accessors-smart-1.2.jar:lib/aether-api-0.9.0.M2.jar:lib/aether-connector-file-0.9.0.M2.jar:lib/aether-connector-okhttp-0.0.9.jar:lib/aether-impl-0.9.0.M2.jar:lib/aether-spi-0.9.0.M2.jar:lib/aether-util-0.9.0.M2.jar:lib/aggdesigner-algorithm-6.0.jar:lib/airline-0.7.jar:lib/antlr4-runtime-4.5.1.jar:lib/aopalliance-1.0.jar:lib/asm-7.1.jar:lib/asm-analysis-7.1.jar:lib/asm-commons-7.1.jar:lib/asm-tree-7.1.jar:lib/async-http-client-2.5.3.jar:lib/async-http-client-netty-utils-2.5.3.jar:lib/audience-annotations-0.5.0.jar:lib/avatica-core-1.17.0.jar:lib/avatica-metrics-1.17.0.jar:lib/avatica-server-1.17.0.jar:lib/aws-java-sdk-core-1.12.37.jar:lib/aws-java-sdk-ec2-1.12.37.jar:lib/aws-java-sdk-kms-1.12.37.jar:lib/aws-java-sdk-s3-1.12.37.jar:lib/caffeine-2.8.0.jar:lib/calcite-core-1.21.0.jar:lib/calcite-linq4j-1.21.0.jar:lib/checker-qual-2.5.7.jar:lib/classmate-1.1.0.jar:lib/commons-beanutils-1.9.4.jar:lib/commons-codec-1.13.jar:lib/commons-collections-3.2.2.jar:lib/commons-collections4-4.2.jar:lib/commons-compiler-3.0.11.jar:lib/commons-compress-1.21.jar:lib/commons-dbcp2-2.0.1.jar:lib/commons-io-2.11.0.jar:lib/commons-lang-2.6.jar:lib/commons-lang3-3.8.1.jar:lib/commons-logging-1.1.1.jar:lib/commons-math3-3.6.1.jar:lib/commons-net-3.6.jar:lib/commons-pool2-2.2.jar:lib/commons-text-1.3.jar:lib/compress-lzf-1.0.4.jar:lib/config-magic-0.9.jar:lib/cron-scheduler-0.1.jar:lib/curator-client-4.3.0.jar:lib/curator-framework-4.3.0.jar:lib/curator-recipes-4.3.0.jar:lib/curator-x-discovery-4.3.0.jar:lib/datasketches-java-2.0.0.jar:lib/datasketches-memory-1.3.0.jar:lib/derby-10.14.2.0.jar:lib/derbyclient-10.14.2.0.jar:lib/derbynet-10.14.2.0.jar:lib/disruptor-3.3.6.jar:lib/druid-aws-common-0.22.1.jar:lib/druid-console-0.22.1.jar:lib/druid-core-0.22.1.jar:lib/druid-gcp-common-0.22.1.jar:lib/druid-hll-0.22.1.jar:lib/druid-indexing-hadoop-0.22.1.jar:lib/druid-indexing-service-0.22.1.jar:lib/druid-processing-0.22.1.jar:lib/druid-server-0.22.1.jar:lib/druid-services-0.22.1.jar:lib/druid-sql-0.22.1.jar:lib/error_prone_annotations-2.8.0.jar:lib/esri-geometry-api-2.2.0.jar:lib/extendedset-0.22.1.jar:lib/fastutil-8.5.4.jar:lib/fastutil-core-8.5.4.jar:lib/fastutil-extra-8.5.4.jar:lib/google-api-client-1.26.0.jar:lib/google-http-client-1.26.0.jar:lib/google-http-client-jackson2-1.26.0.jar:lib/google-oauth-client-1.26.0.jar:lib/guava-16.0.1.jar:lib/guice-4.1.0.jar:lib/guice-assistedinject-4.1.0.jar:lib/guice-multibindings-4.1.0.jar:lib/guice-servlet-4.1.0.jar:lib/hibernate-validator-5.2.5.Final.jar:lib/httpclient-4.5.10.jar:lib/httpcore-4.4.11.jar:lib/icu4j-55.1.jar:lib/ion-java-1.0.2.jar:lib/istack-commons-runtime-3.0.7.jar:lib/j2objc-annotations-1.1.jar:lib/jackson-annotations-2.10.5.jar:lib/jackson-core-2.10.5.jar:lib/jackson-databind-2.10.5.1.jar:lib/jackson-dataformat-cbor-2.10.5.jar:lib/jackson-dataformat-smile-2.10.5.jar:lib/jackson-datatype-guava-2.10.5.jar:lib/jackson-datatype-joda-2.10.5.jar:lib/jackson-jaxrs-base-2.10.5.jar:lib/jackson-jaxrs-json-provider-2.10.5.jar:lib/jackson-jaxrs-smile-provider-2.10.5.jar:lib/jackson-jq-0.0.10.jar:lib/jackson-module-guice-2.10.5.jar:lib/jackson-module-jaxb-annotations-2.10.5.jar:lib/jakarta.activation-api-1.2.1.jar:lib/jakarta.xml.bind-api-2.3.2.jar:lib/janino-3.0.11.jar:lib/javax.activation-1.2.0.jar:lib/javax.activation-api-1.2.0.jar:lib/javax.el-3.0.0.jar:lib/javax.el-api-3.0.0.jar:lib/javax.inject-1.jar:lib/javax.servlet-api-3.1.0.jar:lib/jaxb-api-2.3.1.jar:lib/jaxb-runtime-2.3.1.jar:lib/jboss-logging-3.2.1.Final.jar:lib/jcl-over-slf4j-1.7.12.jar:lib/jcodings-1.0.43.jar:lib/jdbi-2.63.1.jar:lib/jersey-core-1.19.3.jar:lib/jersey-guice-1.19.3.jar:lib/jersey-server-1.19.3.jar:lib/jersey-servlet-1.19.3.jar:lib/jetty-client-9.4.40.v20210413.jar:lib/jetty-continuation-9.4.40.v20210413.jar:lib/jetty-http-9.4.40.v20210413.jar:lib/jetty-io-9.4.40.v20210413.jar:lib/jetty-proxy-9.4.40.v20210413.jar:lib/jetty-rewrite-9.4.40.v20210413.jar:lib/jetty-security-9.4.40.v20210413.jar:lib/jetty-server-9.4.40.v20210413.jar:lib/jetty-servlet-9.4.40.v20210413.jar:lib/jetty-servlets-9.4.40.v20210413.jar:lib/jetty-util-9.4.40.v20210413.jar:lib/jetty-util-ajax-9.4.40.v20210413.jar:lib/jmespath-java-1.12.37.jar:lib/jna-4.5.1.jar:lib/joda-time-2.10.5.jar:lib/joni-2.1.27.jar:lib/json-path-2.3.0.jar:lib/json-smart-2.3.jar:lib/jsr305-2.0.1.jar:lib/jsr311-api-1.1.1.jar:lib/jvm-attach-api-1.5.jar:lib/log4j-1.2-api-2.15.0.jar:lib/log4j-api-2.15.0.jar:lib/log4j-core-2.15.0.jar:lib/log4j-jul-2.15.0.jar:lib/log4j-slf4j-impl-2.15.0.jar:lib/lz4-java-1.7.1.jar:lib/maven-aether-provider-3.1.1.jar:lib/maven-artifact-3.6.0.jar:lib/maven-model-3.1.1.jar:lib/maven-model-builder-3.1.1.jar:lib/maven-repository-metadata-3.1.1.jar:lib/maven-settings-3.1.1.jar:lib/maven-settings-builder-3.1.1.jar:lib/metrics-core-4.0.0.jar:lib/netty-3.10.6.Final.jar:lib/netty-buffer-4.1.68.Final.jar:lib/netty-codec-4.1.68.Final.jar:lib/netty-codec-dns-4.1.68.Final.jar:lib/netty-codec-http-4.1.68.Final.jar:lib/netty-codec-socks-4.1.68.Final.jar:lib/netty-common-4.1.68.Final.jar:lib/netty-handler-4.1.68.Final.jar:lib/netty-handler-proxy-4.1.68.Final.jar:lib/netty-reactive-streams-2.0.0.jar:lib/netty-resolver-4.1.68.Final.jar:lib/netty-resolver-dns-4.1.68.Final.jar:lib/netty-transport-4.1.68.Final.jar:lib/netty-transport-native-epoll-4.1.68.Final-linux-x86_64.jar:lib/netty-transport-native-unix-common-4.1.68.Final.jar:lib/okhttp-1.0.2.jar:lib/opencsv-4.6.jar:lib/plexus-interpolation-1.19.jar:lib/plexus-utils-3.0.24.jar:lib/protobuf-java-3.11.0.jar:lib/reactive-streams-1.0.2.jar:lib/resilience4j-bulkhead-1.3.1.jar:lib/resilience4j-core-1.3.1.jar:lib/rhino-1.7.11.jar:lib/shims-0.9.0.jar:lib/sigar-1.6.5.132.jar:lib/slf4j-api-1.7.25.jar:lib/spymemcached-2.12.3.jar:lib/stax-ex-1.8.jar:lib/tesla-aether-0.0.5.jar:lib/txw2-2.3.1.jar:lib/validation-api-1.1.0.Final.jar:lib/vavr-0.10.2.jar:lib/vavr-match-0.10.2.jar:lib/xz-1.8.jar:lib/wagon-provider-api-2.4.jar:lib/zookeeper-3.5.9.jar:lib/zookeeper-jute-3.5.9.jar:lib/zstd-jni-1.3.3-1.jar:
2022-01-05T11:50:18,511 INFO [main] org.apache.zookeeper.ZooKeeper - Client environment:java.library.path=/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
2022-01-05T11:50:18,511 INFO [main] org.apache.zookeeper.ZooKeeper - Client environment:java.io.tmpdir=var/tmp
2022-01-05T11:50:18,511 INFO [main] org.apache.zookeeper.ZooKeeper - Client environment:java.compiler=
2022-01-05T11:50:20,128 INFO [main] com.sun.jersey.server.impl.application.WebApplicationImpl - Initiating Jersey application, version 'Jersey: 1.19.3 10/24/2016 03:43 PM' 2022-01-05T11:50:20,820 INFO [task-runner-0-priority-0] org.apache.kafka.common.utils.AppInfoParser - Kafka version: 2.8.0 2022-01-05T11:50:20,820 INFO [task-runner-0-priority-0] org.apache.kafka.common.utils.AppInfoParser - Kafka commitId: ebb1d6e21cc92130 2022-01-05T11:50:20,820 INFO [task-runner-0-priority-0] org.apache.kafka.common.utils.AppInfoParser - Kafka startTimeMs: 1641383420818 2022-01-05T11:50:20,830 INFO [task-runner-0-priority-0] org.apache.druid.curator.discovery.CuratorDruidNodeAnnouncer - Announced self [{"druidNode":{"service":"druid/middleManager","host":"10.85.6.250","bindOnHost":false,"plaintextPort":8102,"port":-1,"tlsPort":-1,"enablePlaintextPort":true,"enableTlsPort":false},"nodeType":"peon","services":{"dataNodeService":{"type":"dataNodeService","tier":"_default_tier","maxSize":0,"type":"indexer-executor","priority":0},"lookupNodeService":{"type":"lookupNodeService","lookupTier":"__default"}}}]. 2022-01-05T11:50:20,930 INFO [task-runner-0-priority-0] org.apache.druid.indexing.seekablestream.SeekableStreamIndexTaskRunner - Initialized sequences: SequenceMetadata{sequenceId=0, sequenceName='index_kafka_DATASOURCE_NAME_11fc40b96a318a6_0', assignments=[0], startOffsets={0=39476}, exclusiveStartPartitions=[], endOffsets={0=9223372036854775807}, sentinel=false, checkpointed=false} 2022-01-05T11:50:20,931 INFO [task-runner-0-priority-0] org.apache.druid.indexing.seekablestream.SeekableStreamIndexTaskRunner - Adding partition[0], start[39476] -> end[9223372036854775807] to assignment. 2022-01-05T11:50:20,933 INFO [task-runner-0-priority-0] org.apache.kafka.clients.consumer.KafkaConsumer - [Consumer clientId=consumer-kafka-supervisor-knonnadg-1, groupId=kafka-supervisor-knonnadg] Subscribed to partition(s): DATASOURCE_NAME-0 2022-01-05T11:50:20,937 INFO [task-runner-0-priority-0] org.apache.druid.indexing.seekablestream.SeekableStreamIndexTaskRunner - Seeking partition[0] to[39476]. 2022-01-05T11:50:20,937 INFO [task-runner-0-priority-0] org.apache.kafka.clients.consumer.KafkaConsumer - [Consumer clientId=consumer-kafka-supervisor-knonnadg-1, groupId=kafka-supervisor-knonnadg] Seeking to offset 39476 for partition DATASOURCE_NAME-0 2022-01-05T11:50:21,411 INFO [main] org.eclipse.jetty.server.handler.ContextHandler - Started o.e.j.s.ServletContextHandler@38826984{/,null,AVAILABLE} 2022-01-05T11:50:21,421 INFO [main] org.eclipse.jetty.server.AbstractConnector - Started ServerConnector@3f1d6a13{HTTP/1.1, (http/1.1)}{0.0.0.0:8102} 2022-01-05T11:50:21,421 INFO [main] org.eclipse.jetty.server.Server - Started @6397ms 2022-01-05T11:50:21,422 INFO [main] org.apache.druid.java.util.common.lifecycle.Lifecycle - Starting lifecycle [module] stage [ANNOUNCEMENTS] 2022-01-05T11:50:21,445 INFO [main] org.apache.druid.java.util.common.lifecycle.Lifecycle - Successfully started lifecycle [module] 2022-01-05T11:50:22,245 INFO [task-runner-0-priority-0] org.apache.kafka.clients.Metadata - [Consumer clientId=consumer-kafka-supervisor-knonnadg-1, groupId=kafka-supervisor-knonnadg] Cluster ID: LCOjcmu5S4Cfusr5J4ji5A 2022-01-05T11:50:22,403 INFO [task-runner-0-priority-0] org.apache.kafka.clients.consumer.internals.Fetcher - [Consumer clientId=consumer-kafka-supervisor-knonnadg-1, groupId=kafka-supervisor-knonnadg] Fetch position FetchPosition{offset=39476, offsetEpoch=Optional.empty, currentLeader=LeaderAndEpoch{leader=Optional[kafka-int-kafka-2.kafka-int-kafka-brokers.some_proj_name-global-int.svc:9093 (id: 2 rack: null)], epoch=8}} is out of range for partition DATASOURCE_NAME-0, raising error to the application since no reset policy is configured 2022-01-05T11:50:22,404 WARN [task-runner-0-priority-0] org.apache.druid.indexing.kafka.IncrementalPublishingKafkaIndexTaskRunner - OffsetOutOfRangeException with message [Fetch position FetchPosition{offset=39476, offsetEpoch=Optional.empty, currentLeader=LeaderAndEpoch{leader=Optional[kafka-int-kafka-2.kafka-int-kafka-brokers.some_proj_name-global-int.svc:9093 (id: 2 rack: null)], epoch=8}} is out of range for partition DATASOURCE_NAME-0] 2022-01-05T11:50:22,404 WARN [task-runner-0-priority-0] org.apache.druid.indexing.kafka.IncrementalPublishingKafkaIndexTaskRunner - Retrying in 30000ms 2022-01-05T11:50:52,407 INFO [task-runner-0-priority-0] org.apache.kafka.clients.consumer.internals.Fetcher - [Consumer clientId=consumer-kafka-supervisor-knonnadg-1, groupId=kafka-supervisor-knonnadg] Fetch position FetchPosition{offset=39476, offsetEpoch=Optional.empty, currentLeader=LeaderAndEpoch{leader=Optional[kafka-int-kafka-2.kafka-int-kafka-brokers.some_proj_name-global-int.svc:9093 (id: 2 rack: null)], epoch=8}} is out of range for partition DATASOURCE_NAME-0, raising error to the application since no reset policy is configured 2022-01-05T11:50:52,407 WARN [task-runner-0-priority-0] org.apache.druid.indexing.kafka.IncrementalPublishingKafkaIndexTaskRunner - OffsetOutOfRangeException with message [Fetch position FetchPosition{offset=39476, offsetEpoch=Optional.empty, currentLeader=LeaderAndEpoch{leader=Optional[kafka-int-kafka-2.kafka-int-kafka-brokers.some_proj_name-global-int.svc:9093 (id: 2 rack: null)], epoch=8}} is out of range for partition DATASOURCE_NAME-0] 2022-01-05T11:50:52,408 WARN [task-runner-0-priority-0] org.apache.druid.indexing.kafka.IncrementalPublishingKafkaIndexTaskRunner - Retrying in 30000ms 2022-01-05T11:51:22,411 INFO [task-runner-0-priority-0] org.apache.kafka.clients.consumer.internals.Fetcher - [Consumer clientId=consumer-kafka-supervisor-knonnadg-1, groupId=kafka-supervisor-knonnadg] Fetch position FetchPosition{offset=39476, offsetEpoch=Optional.empty, currentLeader=LeaderAndEpoch{leader=Optional[kafka-int-kafka-2.kafka-int-kafka-brokers.some_proj_name-global-int.svc:9093 (id: 2 rack: null)], epoch=8}} is out of range for partition DATASOURCE_NAME-0, raising error to the application since no reset policy is configured 2022-01-05T11:51:22,411 WARN [task-runner-0-priority-0] org.apache.druid.indexing.kafka.IncrementalPublishingKafkaIndexTaskRunner - OffsetOutOfRangeException with message [Fetch position FetchPosition{offset=39476, offsetEpoch=Optional.empty, currentLeader=LeaderAndEpoch{leader=Optional[kafka-int-kafka-2.kafka-int-kafka-brokers.some_proj_name-global-int.svc:9093 (id: 2 rack: null)], epoch=8}} is out of range for partition DATASOURCE_NAME-0] 2022-01-05T11:51:22,411 WARN [task-runner-0-priority-0] org.apache.druid.indexing.kafka.IncrementalPublishingKafkaIndexTaskRunner - Retrying in 30000ms 2022-01-05T11:51:52,414 INFO [task-runner-0-priority-0] org.apache.kafka.clients.consumer.internals.Fetcher - [Consumer clientId=consumer-kafka-supervisor-knonnadg-1, groupId=kafka-supervisor-knonnadg] Fetch position FetchPosition{offset=39476, offsetEpoch=Optional.empty, currentLeader=LeaderAndEpoch{leader=Optional[kafka-int-kafka-2.kafka-int-kafka-brokers.some_proj_name-global-int.svc:9093 (id: 2 rack: null)], epoch=8}} is out of range for partition DATASOURCE_NAME-0, raising error to the application since no reset policy is configured 2022-01-05T11:51:52,414 WARN [task-runner-0-priority-0] org.apache.druid.indexing.kafka.IncrementalPublishingKafkaIndexTaskRunner - OffsetOutOfRangeException with message [Fetch position FetchPosition{offset=39476, offsetEpoch=Optional.empty, currentLeader=LeaderAndEpoch{leader=Optional[kafka-int-kafka-2.kafka-int-kafka-brokers.some_proj_name-global-int.svc:9093 (id: 2 rack: null)], epoch=8}} is out of range for partition DATASOURCE_NAME-0] 2022-01-05T11:51:52,414 WARN [task-runner-0-priority-0] org.apache.druid.indexing.kafka.IncrementalPublishingKafkaIndexTaskRunner - Retrying in 30000ms 2022-01-05T11:52:22,418 INFO [task-runner-0-priority-0] org.apache.kafka.clients.consumer.internals.Fetcher - [Consumer clientId=consumer-kafka-supervisor-knonnadg-1, groupId=kafka-supervisor-knonnadg] Fetch position FetchPosition{offset=39476, offsetEpoch=Optional.empty, currentLeader=LeaderAndEpoch{leader=Optional[kafka-int-kafka-2.kafka-int-kafka-brokers.some_proj_name-global-int.svc:9093 (id: 2 rack: null)], epoch=8}} is out of range for partition DATASOURCE_NAME-0, raising error to the application since no reset policy is configured 2022-01-05T11:52:22,418 WARN [task-runner-0-priority-0] org.apache.druid.indexing.kafka.IncrementalPublishingKafkaIndexTaskRunner - OffsetOutOfRangeException with message [Fetch position FetchPosition{offset=39476, offsetEpoch=Optional.empty, currentLeader=LeaderAndEpoch{leader=Optional[kafka-int-kafka-2.kafka-int-kafka-brokers.some_proj_name-global-int.svc:9093 (id: 2 rack: null)], epoch=8}} is out of range for partition DATASOURCE_NAME-0] 2022-01-05T11:52:22,418 WARN [task-runner-0-priority-0] org.apache.druid.indexing.kafka.IncrementalPublishingKafkaIndexTaskRunner - Retrying in 30000ms 2022-01-05T11:52:52,421 INFO [task-runner-0-priority-0] org.apache.kafka.clients.consumer.internals.Fetcher - [Consumer clientId=consumer-kafka-supervisor-knonnadg-1, groupId=kafka-supervisor-knonnadg] Fetch position FetchPosition{offset=39476, offsetEpoch=Optional.empty, currentLeader=LeaderAndEpoch{leader=Optional[kafka-int-kafka-2.kafka-int-kafka-brokers.some_proj_name-global-int.svc:9093 (id: 2 rack: null)], epoch=8}} is out of range for partition DATASOURCE_NAME-0, raising error to the application since no reset policy is configured 2022-01-05T11:52:52,421 WARN [task-runner-0-priority-0] org.apache.druid.indexing.kafka.IncrementalPublishingKafkaIndexTaskRunner - OffsetOutOfRangeException with message [Fetch position FetchPosition{offset=39476, offsetEpoch=Optional.empty, currentLeader=LeaderAndEpoch{leader=Optional[kafka-int-kafka-2.kafka-int-kafka-brokers.some_proj_name-global-int.svc:9093 (id: 2 rack: null)], epoch=8}} is out of range for partition DATASOURCE_NAME-0] 2022-01-05T11:52:52,421 WARN [task-runner-0-priority-0] org.apache.druid.indexing.kafka.IncrementalPublishingKafkaIndexTaskRunner - Retrying in 30000ms 2022-01-05T11:53:20,937 INFO [qtp1010040056-126] org.apache.druid.indexing.seekablestream.SeekableStreamIndexTaskRunner - Sequence[index_kafka_DATASOURCE_NAME_11fc40b96a318a6_0] end offsets updated from [{0=9223372036854775807}] to [{0=39476}]. 2022-01-05T11:53:20,944 INFO [qtp1010040056-126] org.apache.druid.indexing.seekablestream.SeekableStreamIndexTaskRunner - Saved sequence metadata to disk: [SequenceMetadata{sequenceId=0, sequenceName='index_kafka_DATASOURCE_NAME_11fc40b96a318a6_0', assignments=[0], startOffsets={0=39476}, exclusiveStartPartitions=[], endOffsets={0=39476}, sentinel=false, checkpointed=true}] 2022-01-05T11:53:20,944 INFO [task-runner-0-priority-0] org.apache.druid.indexing.seekablestream.SeekableStreamIndexTaskRunner - Finished reading partition[0], up to[39476]. 2022-01-05T11:53:20,944 INFO [task-runner-0-priority-0] org.apache.kafka.clients.consumer.KafkaConsumer - [Consumer clientId=consumer-kafka-supervisor-knonnadg-1, groupId=kafka-supervisor-knonnadg] Unsubscribed all topics or patterns and assigned partitions 2022-01-05T11:53:20,949 INFO [task-runner-0-priority-0] org.apache.druid.segment.realtime.appenderator.StreamAppenderator - Persisted rows[0] and (estimated) bytes[0] 2022-01-05T11:53:20,955 INFO [[index_kafka_DATASOURCE_NAME_11fc40b96a318a6_pagmfbao]-appenderator-persist] org.apache.druid.segment.realtime.appenderator.StreamAppenderator - Flushed in-memory data with commit metadata [AppenderatorDriverMetadata{segments={}, lastSegmentIds={}, callerMetadata={nextPartitions=SeekableStreamEndSequenceNumbers{stream='DATASOURCE_NAME', partitionSequenceNumberMap={0=39476}}}}] for segments: 2022-01-05T11:53:20,955 INFO [[index_kafka_DATASOURCE_NAME_11fc40b96a318a6_pagmfbao]-appenderator-persist] org.apache.druid.segment.realtime.appenderator.StreamAppenderator - Persisted stats: processed rows: [0], persisted rows[0], sinks: [0], total fireHydrants (across sinks): [0], persisted fireHydrants (across sinks): [0] 2022-01-05T11:53:20,958 INFO [task-runner-0-priority-0] org.apache.druid.segment.realtime.appenderator.BaseAppenderatorDriver - Pushing [0] segments in background 2022-01-05T11:53:20,960 INFO [task-runner-0-priority-0] org.apache.druid.segment.realtime.appenderator.StreamAppenderator - Persisted rows[0] and (estimated) bytes[0] 2022-01-05T11:53:20,967 INFO [[index_kafka_DATASOURCE_NAME_11fc40b96a318a6_pagmfbao]-appenderator-persist] org.apache.druid.segment.realtime.appenderator.StreamAppenderator - Flushed in-memory data with commit metadata [AppenderatorDriverMetadata{segments={}, lastSegmentIds={}, callerMetadata={nextPartitions=SeekableStreamStartSequenceNumbers{stream='DATASOURCE_NAME', partitionSequenceNumberMap={0=39476}, exclusivePartitions=[]}, publishPartitions=SeekableStreamEndSequenceNumbers{stream='DATASOURCE_NAME', partitionSequenceNumberMap={0=39476}}}}] for segments: 2022-01-05T11:53:20,968 INFO [[index_kafka_DATASOURCE_NAME_11fc40b96a318a6_pagmfbao]-appenderator-persist] org.apache.druid.segment.realtime.appenderator.StreamAppenderator - Persisted stats: processed rows: [0], persisted rows[0], sinks: [0], total fireHydrants (across sinks): [0], persisted fireHydrants (across sinks): [0] 2022-01-05T11:53:20,968 INFO [[index_kafka_DATASOURCE_NAME_11fc40b96a318a6_pagmfbao]-appenderator-merge] org.apache.druid.segment.realtime.appenderator.StreamAppenderator - Preparing to push (stats): processed rows: [0], sinks: [0], fireHydrants (across sinks): [0] 2022-01-05T11:53:20,969 INFO [[index_kafka_DATASOURCE_NAME_11fc40b96a318a6_pagmfbao]-appenderator-merge] org.apache.druid.segment.realtime.appenderator.StreamAppenderator - Push complete... 2022-01-05T11:53:20,975 INFO [[index_kafka_DATASOURCE_NAME_11fc40b96a318a6_pagmfbao]-publish] org.apache.druid.indexing.seekablestream.SequenceMetadata - With empty segment set, start offsets [SeekableStreamStartSequenceNumbers{stream='DATASOURCE_NAME', partitionSequenceNumberMap={0=39476}, exclusivePartitions=[]}] and end offsets [SeekableStreamEndSequenceNumbers{stream='DATASOURCE_NAME', partitionSequenceNumberMap={0=39476}}] are the same, skipping metadata commit. 2022-01-05T11:53:20,976 INFO [[index_kafka_DATASOURCE_NAME_11fc40b96a318a6_pagmfbao]-publish] org.apache.druid.segment.realtime.appenderator.BaseAppenderatorDriver - Published [0] segments with commit metadata [{nextPartitions=SeekableStreamStartSequenceNumbers{stream='DATASOURCE_NAME', partitionSequenceNumberMap={0=39476}, exclusivePartitions=[]}, publishPartitions=SeekableStreamEndSequenceNumbers{stream='DATASOURCE_NAME', partitionSequenceNumberMap={0=39476}}}] 2022-01-05T11:53:20,977 INFO [[index_kafka_DATASOURCE_NAME_11fc40b96a318a6_pagmfbao]-publish] org.apache.druid.indexing.seekablestream.SeekableStreamIndexTaskRunner - Published 0 segments for sequence [index_kafka_DATASOURCE_NAME_11fc40b96a318a6_0] with metadata [AppenderatorDriverMetadata{segments={}, lastSegmentIds={}, callerMetadata={nextPartitions=SeekableStreamStartSequenceNumbers{stream='DATASOURCE_NAME', partitionSequenceNumberMap={0=39476}, exclusivePartitions=[]}, publishPartitions=SeekableStreamEndSequenceNumbers{stream='DATASOURCE_NAME', partitionSequenceNumberMap={0=39476}}}}]. 2022-01-05T11:53:20,980 INFO [[index_kafka_DATASOURCE_NAME_11fc40b96a318a6_pagmfbao]-publish] org.apache.druid.indexing.seekablestream.SeekableStreamIndexTaskRunner - Saved sequence metadata to disk: [] 2022-01-05T11:53:20,982 INFO [task-runner-0-priority-0] org.apache.druid.indexing.seekablestream.SeekableStreamIndexTaskRunner - Handoff complete for segments: 2022-01-05T11:53:20,984 INFO [task-runner-0-priority-0] org.apache.kafka.common.metrics.Metrics - Metrics scheduler closed 2022-01-05T11:53:20,984 INFO [task-runner-0-priority-0] org.apache.kafka.common.metrics.Metrics - Closing reporter org.apache.kafka.common.metrics.JmxReporter 2022-01-05T11:53:20,984 INFO [task-runner-0-priority-0] org.apache.kafka.common.metrics.Metrics - Metrics reporters closed 2022-01-05T11:53:20,988 INFO [task-runner-0-priority-0] org.apache.kafka.common.utils.AppInfoParser - App info kafka.consumer for consumer-kafka-supervisor-knonnadg-1 unregistered 2022-01-05T11:53:20,989 INFO [task-runner-0-priority-0] org.apache.druid.curator.announcement.Announcer - Unannouncing [/druid/internal-discovery/PEON/10.85.6.250:8102] 2022-01-05T11:53:21,002 INFO [task-runner-0-priority-0] org.apache.druid.curator.discovery.CuratorDruidNodeAnnouncer - Unannounced self [{"druidNode":{"service":"druid/middleManager","host":"10.85.6.250","bindOnHost":false,"plaintextPort":8102,"port":-1,"tlsPort":-1,"enablePlaintextPort":true,"enableTlsPort":false},"nodeType":"peon","services":{"dataNodeService":{"type":"dataNodeService","tier":"_default_tier","maxSize":0,"type":"indexer-executor","priority":0},"lookupNodeService":{"type":"lookupNodeService","lookupTier":"__default"}}}]. 2022-01-05T11:53:21,002 INFO [task-runner-0-priority-0] org.apache.druid.curator.announcement.Announcer - Unannouncing [/druid/announcements/10.85.6.250:8102] 2022-01-05T11:53:21,014 INFO [task-runner-0-priority-0] org.apache.druid.indexing.worker.executor.ExecutorLifecycle - Task completed with status: { "id" : "index_kafka_DATASOURCE_NAME_11fc40b96a318a6_pagmfbao", "status" : "SUCCESS", "duration" : 181183, "errorMsg" : null, "location" : { "host" : null, "port" : -1, "tlsPort" : -1 } } 2022-01-05T11:53:21,021 INFO [main] org.apache.druid.java.util.common.lifecycle.Lifecycle - Stopping lifecycle [module] stage [ANNOUNCEMENTS] 2022-01-05T11:53:21,026 INFO [main] org.apache.druid.java.util.common.lifecycle.Lifecycle - Stopping lifecycle [module] stage [SERVER] 2022-01-05T11:53:21,031 INFO [main] org.eclipse.jetty.server.AbstractConnector - Stopped ServerConnector@3f1d6a13{HTTP/1.1, (http/1.1)}{0.0.0.0:8102} 2022-01-05T11:53:21,031 INFO [main] org.eclipse.jetty.server.session - node0 Stopped scavenging 2022-01-05T11:53:21,032 INFO [main] org.eclipse.jetty.server.handler.ContextHandler - Stopped o.e.j.s.ServletContextHandler@38826984{/,null,STOPPED} 2022-01-05T11:53:21,036 INFO [main] org.apache.druid.java.util.common.lifecycle.Lifecycle - Stopping lifecycle [module] stage [NORMAL] 2022-01-05T11:53:21,036 INFO [main] org.apache.druid.server.coordination.ZkCoordinator - Stopping ZkCoordinator for [DruidServerMetadata{name='10.85.6.250:8102', hostAndPort='10.85.6.250:8102', hostAndTlsPort='null', maxSize=0, tier='_default_tier', type=indexer-executor, priority=0}] 2022-01-05T11:53:21,036 INFO [main] org.apache.druid.server.coordination.SegmentLoadDropHandler - Stopping... 2022-01-05T11:53:21,036 INFO [main] org.apache.druid.server.coordination.SegmentLoadDropHandler - Stopped. 2022-01-05T11:53:21,039 INFO [main] org.apache.druid.indexing.overlord.SingleTaskBackgroundRunner - Starting graceful shutdown of task[index_kafka_DATASOURCE_NAME_11fc40b96a318a6_pagmfbao]. 2022-01-05T11:53:21,039 INFO [main] org.apache.druid.indexing.seekablestream.SeekableStreamIndexTaskRunner - Stopping forcefully (status: [PUBLISHING]) 2022-01-05T11:53:21,053 INFO [LookupExtractorFactoryContainerProvider-MainThread] org.apache.druid.query.lookup.LookupReferencesManager - Lookup Management loop exited. Lookup notices are not handled anymore. 2022-01-05T11:53:21,054 INFO [main] org.apache.druid.query.lookup.LookupReferencesManager - Closed lookup [definitionkey_to_fachverfahren]. 2022-01-05T11:53:21,054 INFO [main] org.apache.druid.query.lookup.LookupReferencesManager - Closed lookup [batchstate_to_detailstate]. 2022-01-05T11:53:21,054 INFO [main] org.apache.druid.query.lookup.LookupReferencesManager - Closed lookup [batchstate_to_description]. 2022-01-05T11:53:21,054 INFO [main] org.apache.druid.query.lookup.LookupReferencesManager - Closed lookup [batchstate_to_overviewstate]. 2022-01-05T11:53:21,054 INFO [main] org.apache.druid.query.lookup.LookupReferencesManager - Closed lookup [definitionkey_to_programmname]. 2022-01-05T11:53:21,054 INFO [main] org.apache.druid.security.basic.authorization.db.cache.CoordinatorPollingBasicAuthorizerCacheManager - CoordinatorPollingBasicAuthorizerCacheManager is stopping. 2022-01-05T11:53:21,054 INFO [main] org.apache.druid.security.basic.authorization.db.cache.CoordinatorPollingBasicAuthorizerCacheManager - CoordinatorPollingBasicAuthorizerCacheManager is stopped. 2022-01-05T11:53:21,054 INFO [main] org.apache.druid.security.basic.authentication.db.cache.CoordinatorPollingBasicAuthenticatorCacheManager - CoordinatorPollingBasicAuthenticatorCacheManager is stopping. 2022-01-05T11:53:21,054 INFO [main] org.apache.druid.security.basic.authentication.db.cache.CoordinatorPollingBasicAuthenticatorCacheManager - CoordinatorPollingBasicAuthenticatorCacheManager is stopped. 2022-01-05T11:53:21,065 INFO [Curator-Framework-0] org.apache.curator.framework.imps.CuratorFrameworkImpl - backgroundOperationsLoop exiting 2022-01-05T11:53:21,173 INFO [main] org.apache.zookeeper.ZooKeeper - Session: 0x20006c33aae8561 closed 2022-01-05T11:53:21,173 INFO [main-EventThread] org.apache.zookeeper.ClientCnxn - EventThread shut down for session: 0x20006c33aae8561 2022-01-05T11:53:21,202 INFO [main] org.apache.druid.java.util.common.lifecycle.Lifecycle$CloseableHandler - Closing object[org.asynchttpclient.DefaultAsyncHttpClient@49cceb19] 2022-01-05T11:53:21,203 INFO [main] org.apache.druid.java.util.common.lifecycle.Lifecycle - Stopping lifecycle [module] stage [INIT] Finished peon task
I think current behavior is reasonable. Because the mssages, whose offset are before n, are accessible and can be consumed.
After this task stops and a new task will start, but it won't be successfully started because the offset n + 1
it wants to read is out of range.
I'm facing the exact same issue! Resetting the offset using the supervisor API fixes the issue for about 10 mins and the offsets are out of range yet again.
Is there a possibility that the offset in the RDS is corrupted?
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.
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.
Affected Version
0.22.1
Description
Steps to reproduce:
resetOffsetAutomatically=false
) and let it read data from kafka until offset n (n > 0)The expected behavior would be that the index tasks fails. Also the documentation indicates that the task should fail.