赞
踩
<dependency> <groupId>org.apache.bookkeeper</groupId> <artifactId>bookkeeper-server</artifactId> <version>4.14.4</version> </dependency> <dependency> <groupId>org.apache.bookkeeper</groupId> <artifactId>bookkeeper-common</artifactId> <version>4.14.4</version> </dependency> <dependency> <groupId>com.google.protobuf</groupId> <artifactId>protobuf-java</artifactId> <version>3.19.4</version> </dependency>
package wang.datahub; import org.apache.bookkeeper.client.api.*; import org.apache.bookkeeper.conf.ClientConfiguration; import java.util.Iterator; public class BookKeeperTest { public static void main(String[] args) { try { ClientConfiguration config = new ClientConfiguration(); config.setMetadataServiceUri("zk+null://localhost:2181/ledgers"); BookKeeper bkClient = BookKeeper.newBuilder(config).build();// new BookKeeper(config); System.out.println("BookKeeper client init success."); WriteHandle writeHandle = bkClient.newCreateLedgerOp() .withDigestType(org.apache.bookkeeper.client.api.DigestType.MAC) .withPassword("dafei1288".getBytes()) .execute() .get(); for(int i = 0; i < 2; i++) { byte[] data = new String("message-" + i).getBytes(); writeHandle.append(data); System.out.println("write to ==> "+new String(data)); } writeHandle.close(); long ledgerId = writeHandle.getLedgerMetadata().getLedgerId(); ReadHandle cfr = bkClient.newOpenLedgerOp() .withLedgerId(ledgerId) .withDigestType(org.apache.bookkeeper.client.api.DigestType.MAC) .withPassword("dafei1288".getBytes()) .execute() .get(); System.out.println("ledgerId = "+ledgerId); Iterator<LedgerEntry> iterable = cfr.read(0, writeHandle.getLastAddConfirmed()).iterator(); while(iterable.hasNext()){ LedgerEntry entry = iterable.next(); System.out.println("read => "+new String(entry.getEntryBytes())); } cfr.close(); } catch (Exception e) { e.printStackTrace(); } } }
bin/bookkeeper localbookie 5
✘ ⚡ root@DESKTOP-2J030JA /mnt/e/devlop/envs/bookkeeper-server-4.14.0 bin/bookkeeper localbookie 5 2022-03-03 16:36:59,169 - INFO - [main:LocalBookKeeper@458] - Using configuration file /mnt/e/devlop/envs/bookkeeper-server-4.14.0/conf/bk_server.conf 2022-03-03 16:36:59,194 - INFO - [main:LocalBookKeeper@90] - Running 5 bookie(s) on zk ensemble = '127.0.0.1:2181'. 2022-03-03 16:36:59,197 - INFO - [main:LocalBookKeeper@120] - Starting ZK server 2022-03-03 16:36:59,248 - INFO - [main:ZookeeperBanner@42] - 2022-03-03 16:36:59,248 - INFO - [main:ZookeeperBanner@42] - ______ _ 2022-03-03 16:36:59,248 - INFO - [main:ZookeeperBanner@42] - |___ / | | 2022-03-03 16:36:59,248 - INFO - [main:ZookeeperBanner@42] - / / ___ ___ | | __ ___ ___ _ __ ___ _ __ 2022-03-03 16:36:59,249 - INFO - [main:ZookeeperBanner@42] - / / / _ \ / _ \ | |/ / / _ \ / _ \ | '_ \ / _ \ | '__| 2022-03-03 16:36:59,249 - INFO - [main:ZookeeperBanner@42] - / /__ | (_) | | (_) | | < | __/ | __/ | |_) | | __/ | | 2022-03-03 16:36:59,249 - INFO - [main:ZookeeperBanner@42] - /_____| \___/ \___/ |_|\_\ \___| \___| | .__/ \___| |_| 2022-03-03 16:36:59,249 - INFO - [main:ZookeeperBanner@42] - | | 2022-03-03 16:36:59,251 - INFO - [main:ZookeeperBanner@42] - |_| 2022-03-03 16:36:59,252 - INFO - [main:ZookeeperBanner@42] - 2022-03-03 16:36:59,261 - INFO - [main:Environment@98] - Server environment:zookeeper.version=3.6.2--803c7f1a12f85978cb049af5e4ef23bd8b688715, built on 09/04/2020 12:44 GMT 2022-03-03 16:36:59,261 - INFO - [main:Environment@98] - Server environment:host.name=DESKTOP-2J030JA.localdomain 2022-03-03 16:36:59,261 - INFO - [main:Environment@98] - Server environment:java.version=1.8.0_292 2022-03-03 16:36:59,262 - INFO - [main:Environment@98] - Server environment:java.vendor=AdoptOpenJDK 2022-03-03 16:36:59,262 - INFO - [main:Environment@98] - Server environment:java.home=/root/.sdkman/candidates/java/8.0.292.hs-adpt/jre 2022-03-03 16:36:59,262 - INFO - [main:Environment@98] - Server environment:java.class.path=/mnt/e/devlop/envs/bookkeeper-server-4.14.0/conf:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.bookkeeper-bookkeeper-server-4.14.0.jar::/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/com.beust-jcommander-1.78.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/com.fasterxml.jackson.core-jackson-annotations-2.11.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/com.fasterxml.jackson.core-jackson-core-2.11.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/com.fasterxml.jackson.core-jackson-databind-2.11.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/com.google.android-annotations-4.1.1.4.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/com.google.api.grpc-proto-google-common-protos-1.17.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/com.google.auth-google-auth-library-credentials-0.20.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/com.google.auth-google-auth-library-oauth2-http-0.20.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/com.google.auto.value-auto-value-annotations-1.7.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/com.google.code.gson-gson-2.8.6.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/com.google.errorprone-error_prone_annotations-2.4.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/com.google.guava-failureaccess-1.0.1.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/com.google.guava-guava-30.0-jre.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/com.google.http-client-google-http-client-1.34.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/com.google.http-client-google-http-client-jackson2-1.34.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/com.google.j2objc-j2objc-annotations-1.3.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/com.google.protobuf-protobuf-java-3.14.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/com.google.protobuf-protobuf-java-util-3.12.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/com.google.re2j-re2j-1.2.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/com.squareup.okhttp-okhttp-2.7.4.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/com.squareup.okio-okio-1.13.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/com.yahoo.datasketches-memory-0.8.3.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/com.yahoo.datasketches-sketches-core-0.8.3.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/commons-cli-commons-cli-1.2.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/commons-codec-commons-codec-1.6.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/commons-configuration-commons-configuration-1.10.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/commons-io-commons-io-2.4.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/commons-lang-commons-lang-2.6.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/commons-logging-commons-logging-1.1.1.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.dropwizard.metrics-metrics-core-3.2.5.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.grpc-grpc-all-1.33.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.grpc-grpc-alts-1.33.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.grpc-grpc-api-1.33.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.grpc-grpc-auth-1.33.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.grpc-grpc-context-1.33.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.grpc-grpc-core-1.33.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.grpc-grpc-grpclb-1.33.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.grpc-grpc-netty-1.33.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.grpc-grpc-okhttp-1.33.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.grpc-grpc-protobuf-1.33.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.grpc-grpc-protobuf-lite-1.33.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.grpc-grpc-services-1.33.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.grpc-grpc-stub-1.33.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.grpc-grpc-testing-1.33.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.grpc-grpc-xds-1.33.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.netty-netty-buffer-4.1.63.Final.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.netty-netty-codec-4.1.63.Final.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.netty-netty-codec-dns-4.1.63.Final.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.netty-netty-codec-http-4.1.63.Final.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.netty-netty-codec-http2-4.1.63.Final.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.netty-netty-codec-socks-4.1.63.Final.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.netty-netty-common-4.1.63.Final.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.netty-netty-handler-4.1.63.Final.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.netty-netty-handler-proxy-4.1.63.Final.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.netty-netty-resolver-4.1.63.Final.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.netty-netty-resolver-dns-4.1.63.Final.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.netty-netty-tcnative-boringssl-static-2.0.38.Final.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.netty-netty-transport-4.1.63.Final.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.netty-netty-transport-native-epoll-4.1.63.Final-linux-x86_64.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.netty-netty-transport-native-epoll-4.1.63.Final.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.netty-netty-transport-native-unix-common-4.1.63.Final.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.opencensus-opencensus-api-0.24.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.opencensus-opencensus-contrib-http-util-0.24.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.opencensus-opencensus-proto-0.2.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.perfmark-perfmark-api-0.19.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.prometheus-simpleclient-0.8.1.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.prometheus-simpleclient_common-0.8.1.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.prometheus-simpleclient_hotspot-0.8.1.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.prometheus-simpleclient_servlet-0.8.1.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.vertx-vertx-auth-common-3.5.3.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.vertx-vertx-bridge-common-3.5.3.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.vertx-vertx-core-3.5.3.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.vertx-vertx-web-3.5.3.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/javax.servlet-javax.servlet-api-4.0.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/log4j-log4j-1.2.17.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/net.java.dev.jna-jna-3.2.7.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/net.jpountz.lz4-lz4-1.3.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.bookkeeper-bookkeeper-common-4.14.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.bookkeeper-bookkeeper-common-allocator-4.14.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.bookkeeper-bookkeeper-proto-4.14.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.bookkeeper-bookkeeper-server-4.14.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.bookkeeper-bookkeeper-tools-4.14.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.bookkeeper-bookkeeper-tools-framework-4.14.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.bookkeeper-bookkeeper-tools-ledger-4.14.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.bookkeeper-circe-checksum-4.14.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.bookkeeper-cpu-affinity-4.14.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.bookkeeper-statelib-4.14.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.bookkeeper-stream-storage-cli-4.14.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.bookkeeper-stream-storage-java-client-4.14.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.bookkeeper-stream-storage-server-4.14.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.bookkeeper-stream-storage-service-api-4.14.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.bookkeeper-stream-storage-service-impl-4.14.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.bookkeeper.http-http-server-4.14.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.bookkeeper.http-vertx-http-server-4.14.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.bookkeeper.stats-bookkeeper-stats-api-4.14.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.bookkeeper.stats-prometheus-metrics-provider-4.14.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.bookkeeper.tests-stream-storage-tests-common-4.14.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.commons-commons-collections4-4.1.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.commons-commons-lang3-3.6.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.curator-curator-client-5.1.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.curator-curator-framework-5.1.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.curator-curator-recipes-5.1.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.distributedlog-distributedlog-common-4.14.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.distributedlog-distributedlog-core-4.14.0-tests.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.distributedlog-distributedlog-core-4.14.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.distributedlog-distributedlog-protocol-4.14.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.httpcomponents-httpclient-4.5.5.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.httpcomponents-httpcore-4.4.9.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.thrift-libthrift-0.12.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.yetus-audience-annotations-0.5.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.zookeeper-zookeeper-3.6.2-tests.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.zookeeper-zookeeper-3.6.2.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.zookeeper-zookeeper-jute-3.6.2.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.bouncycastle-bc-fips-1.0.2.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.checkerframework-checker-qual-3.5.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.conscrypt-conscrypt-openjdk-uber-2.5.1.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.eclipse.jetty-jetty-http-9.4.33.v20201020.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.eclipse.jetty-jetty-io-9.4.33.v20201020.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.eclipse.jetty-jetty-security-9.4.33.v20201020.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.eclipse.jetty-jetty-server-9.4.33.v20201020.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.eclipse.jetty-jetty-servlet-9.4.33.v20201020.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.eclipse.jetty-jetty-util-9.4.33.v20201020.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.inferred-freebuilder-1.14.9.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.jctools-jctools-core-2.1.2.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.rocksdb-rocksdbjni-6.16.4.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.slf4j-slf4j-api-1.7.25.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.slf4j-slf4j-log4j12-1.7.25.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.xerial.snappy-snappy-java-1.1.7.jar: 2022-03-03 16:36:59,263 - INFO - [main:Environment@98] - Server environment:java.library.path=/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib 2022-03-03 16:36:59,263 - INFO - [main:Environment@98] - Server environment:java.io.tmpdir=/tmp 2022-03-03 16:36:59,263 - INFO - [main:Environment@98] - Server environment:java.compiler=<NA> 2022-03-03 16:36:59,263 - INFO - [main:Environment@98] - Server environment:os.name=Linux 2022-03-03 16:36:59,263 - INFO - [main:Environment@98] - Server environment:os.arch=amd64 2022-03-03 16:36:59,263 - INFO - [main:Environment@98] - Server environment:os.version=4.19.128-microsoft-standard 2022-03-03 16:36:59,263 - INFO - [main:Environment@98] - Server environment:user.name=root 2022-03-03 16:36:59,263 - INFO - [main:Environment@98] - Server environment:user.home=/root 2022-03-03 16:36:59,263 - INFO - [main:Environment@98] - Server environment:user.dir=/mnt/e/devlop/envs/bookkeeper-server-4.14.0 2022-03-03 16:36:59,263 - INFO - [main:Environment@98] - Server environment:os.memory.free=1001MB 2022-03-03 16:36:59,263 - INFO - [main:Environment@98] - Server environment:os.memory.max=1024MB 2022-03-03 16:36:59,264 - INFO - [main:Environment@98] - Server environment:os.memory.total=1024MB 2022-03-03 16:36:59,264 - INFO - [main:ZooKeeperServer@129] - zookeeper.enableEagerACLCheck = false 2022-03-03 16:36:59,264 - INFO - [main:ZooKeeperServer@137] - zookeeper.digest.enabled = true 2022-03-03 16:36:59,264 - INFO - [main:ZooKeeperServer@141] - zookeeper.closeSessionTxn.enabled = true 2022-03-03 16:36:59,264 - INFO - [main:ZooKeeperServer@1444] - zookeeper.flushDelay=0 2022-03-03 16:36:59,264 - INFO - [main:ZooKeeperServer@1453] - zookeeper.maxWriteQueuePollTime=0 2022-03-03 16:36:59,264 - INFO - [main:ZooKeeperServer@1462] - zookeeper.maxBatchSize=1000 2022-03-03 16:36:59,264 - INFO - [main:ZooKeeperServer@243] - zookeeper.intBufferStartingSizeBytes = 1024 2022-03-03 16:36:59,278 - INFO - [main:FileTxnSnapLog@124] - zookeeper.snapshot.trust.empty : false 2022-03-03 16:36:59,331 - INFO - [main:WatchManagerFactory@42] - Using org.apache.zookeeper.server.watch.WatchManager as watch manager 2022-03-03 16:36:59,331 - INFO - [main:WatchManagerFactory@42] - Using org.apache.zookeeper.server.watch.WatchManager as watch manager 2022-03-03 16:36:59,331 - INFO - [main:ZKDatabase@132] - zookeeper.snapshotSizeFactor = 0.33 2022-03-03 16:36:59,331 - INFO - [main:ZKDatabase@152] - zookeeper.commitLogCount=500 2022-03-03 16:36:59,344 - INFO - [main:BlueThrottle@141] - Weighed connection throttling is disabled 2022-03-03 16:36:59,354 - INFO - [main:ZooKeeperServer@1256] - minSessionTimeout set to 6000 2022-03-03 16:36:59,354 - INFO - [main:ZooKeeperServer@1265] - maxSessionTimeout set to 60000 2022-03-03 16:36:59,359 - INFO - [main:ResponseCache@45] - Response cache size is initialized with value 400. 2022-03-03 16:36:59,359 - INFO - [main:ResponseCache@45] - Response cache size is initialized with value 400. 2022-03-03 16:36:59,361 - INFO - [main:RequestPathMetricsCollector@111] - zookeeper.pathStats.slotCapacity = 60 2022-03-03 16:36:59,361 - INFO - [main:RequestPathMetricsCollector@112] - zookeeper.pathStats.slotDuration = 15 2022-03-03 16:36:59,361 - INFO - [main:RequestPathMetricsCollector@113] - zookeeper.pathStats.maxDepth = 6 2022-03-03 16:36:59,361 - INFO - [main:RequestPathMetricsCollector@114] - zookeeper.pathStats.initialDelay = 5 2022-03-03 16:36:59,361 - INFO - [main:RequestPathMetricsCollector@115] - zookeeper.pathStats.delay = 5 2022-03-03 16:36:59,362 - INFO - [main:RequestPathMetricsCollector@116] - zookeeper.pathStats.enabled = false 2022-03-03 16:36:59,366 - INFO - [main:ZooKeeperServer@1481] - The max bytes for all large requests are set to 104857600 2022-03-03 16:36:59,366 - INFO - [main:ZooKeeperServer@1495] - The large request threshold is set to -1 2022-03-03 16:36:59,366 - INFO - [main:ZooKeeperServer@339] - Created server with tickTime 3000 minSessionTimeout 6000 maxSessionTimeout 60000 clientPortListenBacklog -1 datadir /tmp/zookeeper3757686855703902079test/version-2 snapdir /tmp/zookeeper3757686855703902079test/version-2 2022-03-03 16:36:59,388 - WARN - [main:ServerCnxnFactory@309] - maxCnxns is not configured, using default value 0. 2022-03-03 16:36:59,397 - INFO - [main:NIOServerCnxnFactory@666] - Configuring NIO connection handler with 10s sessionless connection timeout, 1 selector thread(s), 12 worker threads, and 64 kB direct buffers. 2022-03-03 16:36:59,410 - INFO - [main:NIOServerCnxnFactory@674] - binding to port 0.0.0.0/0.0.0.0:2181 2022-03-03 16:36:59,497 - INFO - [main:SnapStream@61] - zookeeper.snapshot.compression.method = CHECKED 2022-03-03 16:36:59,497 - INFO - [main:FileTxnSnapLog@470] - Snapshotting: 0x0 to /tmp/zookeeper3757686855703902079test/version-2/snapshot.0 2022-03-03 16:36:59,506 - INFO - [main:ZKDatabase@289] - Snapshot loaded in 86 ms, highest zxid is 0x0, digest is 1371985504 2022-03-03 16:36:59,507 - INFO - [main:FileTxnSnapLog@470] - Snapshotting: 0x0 to /tmp/zookeeper3757686855703902079test/version-2/snapshot.0 2022-03-03 16:36:59,507 - INFO - [main:ZooKeeperServer@529] - Snapshot taken in 0 ms 2022-03-03 16:36:59,551 - INFO - [main:RequestThrottler@74] - zookeeper.request_throttler.shutdownTimeout = 10000 2022-03-03 16:36:59,553 - INFO - [ProcessThread(sid:0 cport:2181)::PrepRequestProcessor@136] - PrepRequestProcessor (sid:0) started, reconfigEnabled=false 2022-03-03 16:36:59,602 - INFO - [NIOWorkerThread-1:FourLetterCommands@223] - The list of known four letter word commands is : [{1936881266=srvr, 1937006964=stat, 2003003491=wchc, 1685417328=dump, 1668445044=crst, 1936880500=srst, 1701738089=envi, 1668247142=conf, -720899=telnet close, 1751217000=hash, 2003003507=wchs, 2003003504=wchp, 1684632179=dirs, 1668247155=cons, 1835955314=mntr, 1769173615=isro, 1920298859=ruok, 1735683435=gtmk, 1937010027=stmk}] 2022-03-03 16:36:59,602 - INFO - [NIOWorkerThread-1:FourLetterCommands@224] - The list of enabled four letter word commands is : [[wchs, stat, wchp, dirs, stmk, conf, ruok, mntr, srvr, wchc, envi, srst, isro, dump, gtmk, telnet close, crst, hash, cons]] 2022-03-03 16:36:59,602 - INFO - [NIOWorkerThread-1:NIOServerCnxn@507] - Processing stat command from /127.0.0.1:59054 2022-03-03 16:36:59,632 - INFO - [NIOWorkerThread-1:StatCommand@52] - Stat command output 2022-03-03 16:36:59,632 - INFO - [main:LocalBookKeeper@513] - Server UP 2022-03-03 16:36:59,632 - INFO - [main:LocalBookKeeper@134] - Instantiate ZK Client 2022-03-03 16:36:59,649 - INFO - [main:Environment@98] - Client environment:zookeeper.version=3.6.2--803c7f1a12f85978cb049af5e4ef23bd8b688715, built on 09/04/2020 12:44 GMT 2022-03-03 16:36:59,650 - INFO - [main:Environment@98] - Client environment:host.name=DESKTOP-2J030JA.localdomain 2022-03-03 16:36:59,650 - INFO - [main:Environment@98] - Client environment:java.version=1.8.0_292 2022-03-03 16:36:59,650 - INFO - [main:Environment@98] - Client environment:java.vendor=AdoptOpenJDK 2022-03-03 16:36:59,650 - INFO - [main:Environment@98] - Client environment:java.home=/root/.sdkman/candidates/java/8.0.292.hs-adpt/jre 2022-03-03 16:36:59,650 - INFO - [main:Environment@98] - Client environment:java.class.path=/mnt/e/devlop/envs/bookkeeper-server-4.14.0/conf:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.bookkeeper-bookkeeper-server-4.14.0.jar::/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/com.beust-jcommander-1.78.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/com.fasterxml.jackson.core-jackson-annotations-2.11.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/com.fasterxml.jackson.core-jackson-core-2.11.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/com.fasterxml.jackson.core-jackson-databind-2.11.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/com.google.android-annotations-4.1.1.4.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/com.google.api.grpc-proto-google-common-protos-1.17.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/com.google.auth-google-auth-library-credentials-0.20.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/com.google.auth-google-auth-library-oauth2-http-0.20.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/com.google.auto.value-auto-value-annotations-1.7.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/com.google.code.gson-gson-2.8.6.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/com.google.errorprone-error_prone_annotations-2.4.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/com.google.guava-failureaccess-1.0.1.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/com.google.guava-guava-30.0-jre.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/com.google.http-client-google-http-client-1.34.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/com.google.http-client-google-http-client-jackson2-1.34.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/com.google.j2objc-j2objc-annotations-1.3.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/com.google.protobuf-protobuf-java-3.14.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/com.google.protobuf-protobuf-java-util-3.12.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/com.google.re2j-re2j-1.2.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/com.squareup.okhttp-okhttp-2.7.4.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/com.squareup.okio-okio-1.13.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/com.yahoo.datasketches-memory-0.8.3.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/com.yahoo.datasketches-sketches-core-0.8.3.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/commons-cli-commons-cli-1.2.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/commons-codec-commons-codec-1.6.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/commons-configuration-commons-configuration-1.10.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/commons-io-commons-io-2.4.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/commons-lang-commons-lang-2.6.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/commons-logging-commons-logging-1.1.1.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.dropwizard.metrics-metrics-core-3.2.5.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.grpc-grpc-all-1.33.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.grpc-grpc-alts-1.33.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.grpc-grpc-api-1.33.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.grpc-grpc-auth-1.33.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.grpc-grpc-context-1.33.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.grpc-grpc-core-1.33.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.grpc-grpc-grpclb-1.33.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.grpc-grpc-netty-1.33.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.grpc-grpc-okhttp-1.33.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.grpc-grpc-protobuf-1.33.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.grpc-grpc-protobuf-lite-1.33.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.grpc-grpc-services-1.33.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.grpc-grpc-stub-1.33.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.grpc-grpc-testing-1.33.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.grpc-grpc-xds-1.33.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.netty-netty-buffer-4.1.63.Final.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.netty-netty-codec-4.1.63.Final.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.netty-netty-codec-dns-4.1.63.Final.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.netty-netty-codec-http-4.1.63.Final.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.netty-netty-codec-http2-4.1.63.Final.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.netty-netty-codec-socks-4.1.63.Final.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.netty-netty-common-4.1.63.Final.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.netty-netty-handler-4.1.63.Final.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.netty-netty-handler-proxy-4.1.63.Final.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.netty-netty-resolver-4.1.63.Final.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.netty-netty-resolver-dns-4.1.63.Final.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.netty-netty-tcnative-boringssl-static-2.0.38.Final.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.netty-netty-transport-4.1.63.Final.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.netty-netty-transport-native-epoll-4.1.63.Final-linux-x86_64.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.netty-netty-transport-native-epoll-4.1.63.Final.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.netty-netty-transport-native-unix-common-4.1.63.Final.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.opencensus-opencensus-api-0.24.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.opencensus-opencensus-contrib-http-util-0.24.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.opencensus-opencensus-proto-0.2.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.perfmark-perfmark-api-0.19.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.prometheus-simpleclient-0.8.1.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.prometheus-simpleclient_common-0.8.1.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.prometheus-simpleclient_hotspot-0.8.1.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.prometheus-simpleclient_servlet-0.8.1.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.vertx-vertx-auth-common-3.5.3.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.vertx-vertx-bridge-common-3.5.3.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.vertx-vertx-core-3.5.3.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.vertx-vertx-web-3.5.3.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/javax.servlet-javax.servlet-api-4.0.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/log4j-log4j-1.2.17.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/net.java.dev.jna-jna-3.2.7.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/net.jpountz.lz4-lz4-1.3.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.bookkeeper-bookkeeper-common-4.14.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.bookkeeper-bookkeeper-common-allocator-4.14.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.bookkeeper-bookkeeper-proto-4.14.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.bookkeeper-bookkeeper-server-4.14.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.bookkeeper-bookkeeper-tools-4.14.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.bookkeeper-bookkeeper-tools-framework-4.14.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.bookkeeper-bookkeeper-tools-ledger-4.14.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.bookkeeper-circe-checksum-4.14.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.bookkeeper-cpu-affinity-4.14.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.bookkeeper-statelib-4.14.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.bookkeeper-stream-storage-cli-4.14.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.bookkeeper-stream-storage-java-client-4.14.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.bookkeeper-stream-storage-server-4.14.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.bookkeeper-stream-storage-service-api-4.14.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.bookkeeper-stream-storage-service-impl-4.14.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.bookkeeper.http-http-server-4.14.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.bookkeeper.http-vertx-http-server-4.14.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.bookkeeper.stats-bookkeeper-stats-api-4.14.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.bookkeeper.stats-prometheus-metrics-provider-4.14.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.bookkeeper.tests-stream-storage-tests-common-4.14.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.commons-commons-collections4-4.1.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.commons-commons-lang3-3.6.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.curator-curator-client-5.1.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.curator-curator-framework-5.1.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.curator-curator-recipes-5.1.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.distributedlog-distributedlog-common-4.14.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.distributedlog-distributedlog-core-4.14.0-tests.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.distributedlog-distributedlog-core-4.14.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.distributedlog-distributedlog-protocol-4.14.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.httpcomponents-httpclient-4.5.5.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.httpcomponents-httpcore-4.4.9.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.thrift-libthrift-0.12.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.yetus-audience-annotations-0.5.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.zookeeper-zookeeper-3.6.2-tests.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.zookeeper-zookeeper-3.6.2.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.zookeeper-zookeeper-jute-3.6.2.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.bouncycastle-bc-fips-1.0.2.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.checkerframework-checker-qual-3.5.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.conscrypt-conscrypt-openjdk-uber-2.5.1.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.eclipse.jetty-jetty-http-9.4.33.v20201020.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.eclipse.jetty-jetty-io-9.4.33.v20201020.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.eclipse.jetty-jetty-security-9.4.33.v20201020.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.eclipse.jetty-jetty-server-9.4.33.v20201020.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.eclipse.jetty-jetty-servlet-9.4.33.v20201020.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.eclipse.jetty-jetty-util-9.4.33.v20201020.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.inferred-freebuilder-1.14.9.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.jctools-jctools-core-2.1.2.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.rocksdb-rocksdbjni-6.16.4.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.slf4j-slf4j-api-1.7.25.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.slf4j-slf4j-log4j12-1.7.25.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.xerial.snappy-snappy-java-1.1.7.jar: 2022-03-03 16:36:59,652 - INFO - [main:Environment@98] - Client environment:java.library.path=/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib 2022-03-03 16:36:59,653 - INFO - [main:Environment@98] - Client environment:java.io.tmpdir=/tmp 2022-03-03 16:36:59,653 - INFO - [main:Environment@98] - Client environment:java.compiler=<NA> 2022-03-03 16:36:59,653 - INFO - [main:Environment@98] - Client environment:os.name=Linux 2022-03-03 16:36:59,653 - INFO - [main:Environment@98] - Client environment:os.arch=amd64 2022-03-03 16:36:59,653 - INFO - [main:Environment@98] - Client environment:os.version=4.19.128-microsoft-standard 2022-03-03 16:36:59,653 - INFO - [main:Environment@98] - Client environment:user.name=root 2022-03-03 16:36:59,653 - INFO - [main:Environment@98] - Client environment:user.home=/root 2022-03-03 16:36:59,653 - INFO - [main:Environment@98] - Client environment:user.dir=/mnt/e/devlop/envs/bookkeeper-server-4.14.0 2022-03-03 16:36:59,653 - INFO - [main:Environment@98] - Client environment:os.memory.free=984MB 2022-03-03 16:36:59,653 - INFO - [main:Environment@98] - Client environment:os.memory.max=1024MB 2022-03-03 16:36:59,653 - INFO - [main:Environment@98] - Client environment:os.memory.total=1024MB 2022-03-03 16:36:59,681 - INFO - [main:ZooKeeper@1006] - Initiating client connection, connectString=127.0.0.1:2181 sessionTimeout=5000 watcher=org.apache.bookkeeper.zookeeper.ZooKeeperWatcherBase@2f8f5f62 2022-03-03 16:36:59,696 - INFO - [main:X509Util@77] - Setting -D jdk.tls.rejectClientInitiatedRenegotiation=true to disable client-initiated TLS renegotiation 2022-03-03 16:36:59,703 - INFO - [main:ClientCnxnSocket@239] - jute.maxbuffer value is 1048575 Bytes 2022-03-03 16:36:59,717 - INFO - [main:ClientCnxn@1716] - zookeeper.request.timeout value is 0. feature enabled=false 2022-03-03 16:36:59,735 - INFO - [main-SendThread(127.0.0.1:2181):ClientCnxn$SendThread@1167] - Opening socket connection to server localhost/127.0.0.1:2181. 2022-03-03 16:36:59,736 - INFO - [main-SendThread(127.0.0.1:2181):ClientCnxn$SendThread@1169] - SASL config status: Will not attempt to authenticate using SASL (unknown error) 2022-03-03 16:36:59,736 - INFO - [main-SendThread(127.0.0.1:2181):ClientCnxn$SendThread@999] - Socket connection established, initiating session, client: /127.0.0.1:59056, server: localhost/127.0.0.1:2181 2022-03-03 16:36:59,750 - INFO - [SyncThread:0:FileTxnLog@284] - Creating new log file: log.1 2022-03-03 16:36:59,779 - INFO - [SyncThread:0:ZKAuditProvider@42] - ZooKeeper audit is disabled. 2022-03-03 16:36:59,785 - INFO - [main-SendThread(127.0.0.1:2181):ClientCnxn$SendThread@1433] - Session establishment complete on server localhost/127.0.0.1:2181, session id = 0x100042f66d70000, negotiated timeout = 6000 2022-03-03 16:36:59,796 - INFO - [main-EventThread:ZooKeeperWatcherBase@130] - ZooKeeper client is connected now. 2022-03-03 16:37:00,014 - INFO - [main:ZooKeeper@1619] - Session: 0x100042f66d70000 closed 2022-03-03 16:37:00,014 - INFO - [main:LocalBookKeeper@184] - Starting Bookie(s) 2022-03-03 16:37:00,014 - INFO - [main-EventThread:ClientCnxn$EventThread@577] - EventThread shut down for session: 0x100042f66d70000 2022-03-03 16:37:00,779 - INFO - [main:BookieServer@111] - { "storage.cluster.controller.schedule.interval.ms" : "30000", "zkEnableSecurity" : "false", "dlog.bkcAckQuorumSize" : "2", "zkServers" : "localhost:2181", "storage.range.store.dirs" : "data/bookkeeper/ranges", "httpServerPort" : "8080", "dlog.bkcWriteQuorumSize" : "2", "storage.serve.readonly.tables" : "false", "bookiePort" : "5000", "zkTimeout" : "10000", "ledgerDirectories" : "/tmp/bk-data/bookie0", "httpServerClass" : "org.apache.bookkeeper.http.vertx.VertxHttpServer", "httpServerEnabled" : "false", "metadataServiceUri" : "zk+null://127.0.0.1:2181/ledgers", "dlog.bkcEnsembleSize" : "3", "journalDirectories" : "/tmp/localbookkeeper06154260669027485105test", "allowLoopback" : "true", "storageserver.grpc.port" : "4181", "extraServerComponents" : "" } 2022-03-03 16:37:01,339 - INFO - [main:BookieNettyServer@357] - Binding bookie-rpc endpoint to 0.0.0.0/0.0.0.0:5000 2022-03-03 16:37:01,519 - INFO - [main:MetadataDrivers@105] - BookKeeper metadata driver manager initialized 2022-03-03 16:37:01,521 - INFO - [main:ZKMetadataDriverBase@197] - Initialize zookeeper metadata driver at metadata service uri zk+null://127.0.0.1:2181/ledgers : zkServers = 127.0.0.1:2181, ledgersRootPath = /ledgers. 2022-03-03 16:37:01,522 - INFO - [main:ZooKeeper@1006] - Initiating client connection, connectString=127.0.0.1:2181 sessionTimeout=10000 watcher=org.apache.bookkeeper.zookeeper.ZooKeeperWatcherBase@1a4927d6 2022-03-03 16:37:01,522 - INFO - [main:ClientCnxnSocket@239] - jute.maxbuffer value is 1048575 Bytes 2022-03-03 16:37:01,522 - INFO - [main:ClientCnxn@1716] - zookeeper.request.timeout value is 0. feature enabled=false 2022-03-03 16:37:01,523 - INFO - [main-SendThread(127.0.0.1:2181):ClientCnxn$SendThread@1167] - Opening socket connection to server localhost/127.0.0.1:2181. 2022-03-03 16:37:01,524 - INFO - [main-SendThread(127.0.0.1:2181):ClientCnxn$SendThread@1169] - SASL config status: Will not attempt to authenticate using SASL (unknown error) 2022-03-03 16:37:01,524 - INFO - [main-SendThread(127.0.0.1:2181):ClientCnxn$SendThread@999] - Socket connection established, initiating session, client: /127.0.0.1:59058, server: localhost/127.0.0.1:2181 2022-03-03 16:37:01,537 - INFO - [main-SendThread(127.0.0.1:2181):ClientCnxn$SendThread@1433] - Session establishment complete on server localhost/127.0.0.1:2181, session id = 0x100042f66d70001, negotiated timeout = 10000 2022-03-03 16:37:01,537 - INFO - [main-EventThread:ZooKeeperWatcherBase@130] - ZooKeeper client is connected now. 2022-03-03 16:37:01,571 - INFO - [main:ZKRegistrationManager@426] - INSTANCEID not exists in zookeeper. Not considering it for data verification 2022-03-03 16:37:01,622 - INFO - [main:Bookie@413] - Stamping new cookies on all dirs [/tmp/localbookkeeper06154260669027485105test/current] [/tmp/bk-data/bookie0/current] 2022-03-03 16:37:02,402 - INFO - [main:Bookie@736] - instantiate ledger manager org.apache.bookkeeper.meta.HierarchicalLedgerManagerFactory 2022-03-03 16:37:02,456 - ERROR - [main:Journal$LastLogMark@252] - Problems reading from /tmp/bk-data/bookie0/current/lastMark (this is okay if it is the first time starting this bookie 2022-03-03 16:37:02,459 - INFO - [main:Bookie@654] - Using ledger storage: org.apache.bookkeeper.bookie.SortedLedgerStorage 2022-03-03 16:37:02,543 - INFO - [main:IndexPersistenceMgr@99] - openFileLimit = 20000 2022-03-03 16:37:02,644 - INFO - [main:IndexInMemPageMgr@361] - maxDirectMemory = 2147483648, pageSize = 8192, pageLimit = 87381 2022-03-03 16:37:02,661 - INFO - [main:ScanAndCompareGarbageCollector@105] - Over Replicated Ledger Deletion : enabled=true, interval=86400000 2022-03-03 16:37:02,689 - INFO - [main:GarbageCollectorThread@245] - Minor Compaction : enabled=true, threshold=0.20000000298023224, interval=3600000 2022-03-03 16:37:02,689 - INFO - [main:GarbageCollectorThread@247] - Major Compaction : enabled=true, threshold=0.800000011920929, interval=86400000 2022-03-03 16:37:02,776 - INFO - [main:Bookie@964] - Finished replaying journal in 3 ms. 2022-03-03 16:37:02,780 - INFO - [SyncThread-7-1:SyncThread@135] - Flush ledger storage at checkpoint CheckpointList{checkpoints=[LogMark: logFileId - 0 , logFileOffset - 0]}. 2022-03-03 16:37:02,791 - INFO - [main:Bookie@1054] - Finished reading journal, starting bookie 2022-03-03 16:37:02,792 - INFO - [BookieJournal-5000:Journal@919] - Starting journal on /tmp/localbookkeeper06154260669027485105test/current 2022-03-03 16:37:02,798 - INFO - [ForceWriteThread:Journal$ForceWriteThread@478] - ForceWrite Thread started 2022-03-03 16:37:02,805 - INFO - [BookieJournal-5000:JournalChannel@157] - Opening journal /tmp/localbookkeeper06154260669027485105test/current/17f4eece6cf.txn 2022-03-03 16:37:03,228 - INFO - [main:BookieServer@111] - { "storage.cluster.controller.schedule.interval.ms" : "30000", "zkEnableSecurity" : "false", "dlog.bkcAckQuorumSize" : "2", "zkServers" : "localhost:2181", "storage.range.store.dirs" : "data/bookkeeper/ranges", "httpServerPort" : "8080", "dlog.bkcWriteQuorumSize" : "2", "storage.serve.readonly.tables" : "false", "bookiePort" : "5001", "zkTimeout" : "10000", "ledgerDirectories" : "/tmp/bk-data/bookie1", "httpServerClass" : "org.apache.bookkeeper.http.vertx.VertxHttpServer", "httpServerEnabled" : "false", "metadataServiceUri" : "zk+null://127.0.0.1:2181/ledgers", "dlog.bkcEnsembleSize" : "3", "journalDirectories" : "/tmp/localbookkeeper12701307185044156660test", "allowLoopback" : "true", "storageserver.grpc.port" : "4181", "extraServerComponents" : "" } 2022-03-03 16:37:03,229 - INFO - [main:BookieNettyServer@357] - Binding bookie-rpc endpoint to 0.0.0.0/0.0.0.0:5001 2022-03-03 16:37:03,231 - INFO - [main:ZKMetadataDriverBase@197] - Initialize zookeeper metadata driver at metadata service uri zk+null://127.0.0.1:2181/ledgers : zkServers = 127.0.0.1:2181, ledgersRootPath = /ledgers. 2022-03-03 16:37:03,231 - INFO - [main:ZooKeeper@1006] - Initiating client connection, connectString=127.0.0.1:2181 sessionTimeout=10000 watcher=org.apache.bookkeeper.zookeeper.ZooKeeperWatcherBase@63787180 2022-03-03 16:37:03,231 - INFO - [main:ClientCnxnSocket@239] - jute.maxbuffer value is 1048575 Bytes 2022-03-03 16:37:03,231 - INFO - [main:ClientCnxn@1716] - zookeeper.request.timeout value is 0. feature enabled=false 2022-03-03 16:37:03,232 - INFO - [main-SendThread(127.0.0.1:2181):ClientCnxn$SendThread@1167] - Opening socket connection to server localhost/127.0.0.1:2181. 2022-03-03 16:37:03,233 - INFO - [main-SendThread(127.0.0.1:2181):ClientCnxn$SendThread@1169] - SASL config status: Will not attempt to authenticate using SASL (unknown error) 2022-03-03 16:37:03,233 - INFO - [main-SendThread(127.0.0.1:2181):ClientCnxn$SendThread@999] - Socket connection established, initiating session, client: /127.0.0.1:59060, server: localhost/127.0.0.1:2181 2022-03-03 16:37:03,238 - INFO - [main-SendThread(127.0.0.1:2181):ClientCnxn$SendThread@1433] - Session establishment complete on server localhost/127.0.0.1:2181, session id = 0x100042f66d70002, negotiated timeout = 10000 2022-03-03 16:37:03,238 - INFO - [main-EventThread:ZooKeeperWatcherBase@130] - ZooKeeper client is connected now. 2022-03-03 16:37:03,243 - INFO - [main:ZKRegistrationManager@426] - INSTANCEID not exists in zookeeper. Not considering it for data verification 2022-03-03 16:37:03,249 - INFO - [main:Bookie@413] - Stamping new cookies on all dirs [/tmp/localbookkeeper12701307185044156660test/current] [/tmp/bk-data/bookie1/current] 2022-03-03 16:37:03,262 - INFO - [main:Bookie@736] - instantiate ledger manager org.apache.bookkeeper.meta.HierarchicalLedgerManagerFactory 2022-03-03 16:37:03,262 - ERROR - [main:Journal$LastLogMark@252] - Problems reading from /tmp/bk-data/bookie1/current/lastMark (this is okay if it is the first time starting this bookie 2022-03-03 16:37:03,262 - INFO - [main:Bookie@654] - Using ledger storage: org.apache.bookkeeper.bookie.SortedLedgerStorage 2022-03-03 16:37:03,263 - INFO - [main:IndexPersistenceMgr@99] - openFileLimit = 20000 2022-03-03 16:37:03,263 - INFO - [main:IndexInMemPageMgr@361] - maxDirectMemory = 2147483648, pageSize = 8192, pageLimit = 87381 2022-03-03 16:37:03,263 - INFO - [main:ScanAndCompareGarbageCollector@105] - Over Replicated Ledger Deletion : enabled=true, interval=86400000 2022-03-03 16:37:03,263 - INFO - [main:GarbageCollectorThread@245] - Minor Compaction : enabled=true, threshold=0.20000000298023224, interval=3600000 2022-03-03 16:37:03,263 - INFO - [main:GarbageCollectorThread@247] - Major Compaction : enabled=true, threshold=0.800000011920929, interval=86400000 2022-03-03 16:37:03,278 - INFO - [main:Bookie@964] - Finished replaying journal in 0 ms. 2022-03-03 16:37:03,279 - INFO - [SyncThread-17-1:SyncThread@135] - Flush ledger storage at checkpoint CheckpointList{checkpoints=[LogMark: logFileId - 0 , logFileOffset - 0]}. 2022-03-03 16:37:03,289 - INFO - [main:Bookie@1054] - Finished reading journal, starting bookie 2022-03-03 16:37:03,291 - INFO - [BookieJournal-5001:Journal@919] - Starting journal on /tmp/localbookkeeper12701307185044156660test/current 2022-03-03 16:37:03,291 - INFO - [ForceWriteThread:Journal$ForceWriteThread@478] - ForceWrite Thread started 2022-03-03 16:37:03,291 - INFO - [BookieJournal-5001:JournalChannel@157] - Opening journal /tmp/localbookkeeper12701307185044156660test/current/17f4eece8bc.txn 2022-03-03 16:37:03,654 - INFO - [main:BookieServer@111] - { "storage.cluster.controller.schedule.interval.ms" : "30000", "zkEnableSecurity" : "false", "dlog.bkcAckQuorumSize" : "2", "zkServers" : "localhost:2181", "storage.range.store.dirs" : "data/bookkeeper/ranges", "httpServerPort" : "8080", "dlog.bkcWriteQuorumSize" : "2", "storage.serve.readonly.tables" : "false", "bookiePort" : "5002", "zkTimeout" : "10000", "ledgerDirectories" : "/tmp/bk-data/bookie2", "httpServerClass" : "org.apache.bookkeeper.http.vertx.VertxHttpServer", "httpServerEnabled" : "false", "metadataServiceUri" : "zk+null://127.0.0.1:2181/ledgers", "dlog.bkcEnsembleSize" : "3", "journalDirectories" : "/tmp/localbookkeeper22721518434577776082test", "allowLoopback" : "true", "storageserver.grpc.port" : "4181", "extraServerComponents" : "" } 2022-03-03 16:37:03,656 - INFO - [main:BookieNettyServer@357] - Binding bookie-rpc endpoint to 0.0.0.0/0.0.0.0:5002 2022-03-03 16:37:03,658 - INFO - [main:ZKMetadataDriverBase@197] - Initialize zookeeper metadata driver at metadata service uri zk+null://127.0.0.1:2181/ledgers : zkServers = 127.0.0.1:2181, ledgersRootPath = /ledgers. 2022-03-03 16:37:03,658 - INFO - [main:ZooKeeper@1006] - Initiating client connection, connectString=127.0.0.1:2181 sessionTimeout=10000 watcher=org.apache.bookkeeper.zookeeper.ZooKeeperWatcherBase@6138e79a 2022-03-03 16:37:03,658 - INFO - [main:ClientCnxnSocket@239] - jute.maxbuffer value is 1048575 Bytes 2022-03-03 16:37:03,658 - INFO - [main:ClientCnxn@1716] - zookeeper.request.timeout value is 0. feature enabled=false 2022-03-03 16:37:03,660 - INFO - [main-SendThread(127.0.0.1:2181):ClientCnxn$SendThread@1167] - Opening socket connection to server localhost/127.0.0.1:2181. 2022-03-03 16:37:03,660 - INFO - [main-SendThread(127.0.0.1:2181):ClientCnxn$SendThread@1169] - SASL config status: Will not attempt to authenticate using SASL (unknown error) 2022-03-03 16:37:03,661 - INFO - [main-SendThread(127.0.0.1:2181):ClientCnxn$SendThread@999] - Socket connection established, initiating session, client: /127.0.0.1:59062, server: localhost/127.0.0.1:2181 2022-03-03 16:37:03,667 - INFO - [main-SendThread(127.0.0.1:2181):ClientCnxn$SendThread@1433] - Session establishment complete on server localhost/127.0.0.1:2181, session id = 0x100042f66d70003, negotiated timeout = 10000 2022-03-03 16:37:03,667 - INFO - [main-EventThread:ZooKeeperWatcherBase@130] - ZooKeeper client is connected now. 2022-03-03 16:37:03,672 - INFO - [main:ZKRegistrationManager@426] - INSTANCEID not exists in zookeeper. Not considering it for data verification 2022-03-03 16:37:03,676 - INFO - [main:Bookie@413] - Stamping new cookies on all dirs [/tmp/localbookkeeper22721518434577776082test/current] [/tmp/bk-data/bookie2/current] 2022-03-03 16:37:03,686 - INFO - [main:Bookie@736] - instantiate ledger manager org.apache.bookkeeper.meta.HierarchicalLedgerManagerFactory 2022-03-03 16:37:03,686 - ERROR - [main:Journal$LastLogMark@252] - Problems reading from /tmp/bk-data/bookie2/current/lastMark (this is okay if it is the first time starting this bookie 2022-03-03 16:37:03,686 - INFO - [main:Bookie@654] - Using ledger storage: org.apache.bookkeeper.bookie.SortedLedgerStorage 2022-03-03 16:37:03,687 - INFO - [main:IndexPersistenceMgr@99] - openFileLimit = 20000 2022-03-03 16:37:03,687 - INFO - [main:IndexInMemPageMgr@361] - maxDirectMemory = 2147483648, pageSize = 8192, pageLimit = 87381 2022-03-03 16:37:03,687 - INFO - [main:ScanAndCompareGarbageCollector@105] - Over Replicated Ledger Deletion : enabled=true, interval=86400000 2022-03-03 16:37:03,687 - INFO - [main:GarbageCollectorThread@245] - Minor Compaction : enabled=true, threshold=0.20000000298023224, interval=3600000 2022-03-03 16:37:03,688 - INFO - [main:GarbageCollectorThread@247] - Major Compaction : enabled=true, threshold=0.800000011920929, interval=86400000 2022-03-03 16:37:03,698 - INFO - [main:Bookie@964] - Finished replaying journal in 0 ms. 2022-03-03 16:37:03,698 - INFO - [SyncThread-27-1:SyncThread@135] - Flush ledger storage at checkpoint CheckpointList{checkpoints=[LogMark: logFileId - 0 , logFileOffset - 0]}. 2022-03-03 16:37:03,710 - INFO - [main:Bookie@1054] - Finished reading journal, starting bookie 2022-03-03 16:37:03,711 - INFO - [BookieJournal-5002:Journal@919] - Starting journal on /tmp/localbookkeeper22721518434577776082test/current 2022-03-03 16:37:03,711 - INFO - [ForceWriteThread:Journal$ForceWriteThread@478] - ForceWrite Thread started 2022-03-03 16:37:03,711 - INFO - [BookieJournal-5002:JournalChannel@157] - Opening journal /tmp/localbookkeeper22721518434577776082test/current/17f4eecea60.txn 2022-03-03 16:37:04,073 - INFO - [main:BookieServer@111] - { "storage.cluster.controller.schedule.interval.ms" : "30000", "zkEnableSecurity" : "false", "dlog.bkcAckQuorumSize" : "2", "zkServers" : "localhost:2181", "storage.range.store.dirs" : "data/bookkeeper/ranges", "httpServerPort" : "8080", "dlog.bkcWriteQuorumSize" : "2", "storage.serve.readonly.tables" : "false", "bookiePort" : "5003", "zkTimeout" : "10000", "ledgerDirectories" : "/tmp/bk-data/bookie3", "httpServerClass" : "org.apache.bookkeeper.http.vertx.VertxHttpServer", "httpServerEnabled" : "false", "metadataServiceUri" : "zk+null://127.0.0.1:2181/ledgers", "dlog.bkcEnsembleSize" : "3", "journalDirectories" : "/tmp/localbookkeeper37049904852450543963test", "allowLoopback" : "true", "storageserver.grpc.port" : "4181", "extraServerComponents" : "" } 2022-03-03 16:37:04,074 - INFO - [main:BookieNettyServer@357] - Binding bookie-rpc endpoint to 0.0.0.0/0.0.0.0:5003 2022-03-03 16:37:04,077 - INFO - [main:ZKMetadataDriverBase@197] - Initialize zookeeper metadata driver at metadata service uri zk+null://127.0.0.1:2181/ledgers : zkServers = 127.0.0.1:2181, ledgersRootPath = /ledgers. 2022-03-03 16:37:04,077 - INFO - [main:ZooKeeper@1006] - Initiating client connection, connectString=127.0.0.1:2181 sessionTimeout=10000 watcher=org.apache.bookkeeper.zookeeper.ZooKeeperWatcherBase@3568f9d2 2022-03-03 16:37:04,078 - INFO - [main:ClientCnxnSocket@239] - jute.maxbuffer value is 1048575 Bytes 2022-03-03 16:37:04,078 - INFO - [main:ClientCnxn@1716] - zookeeper.request.timeout value is 0. feature enabled=false 2022-03-03 16:37:04,081 - INFO - [main-SendThread(127.0.0.1:2181):ClientCnxn$SendThread@1167] - Opening socket connection to server localhost/127.0.0.1:2181. 2022-03-03 16:37:04,082 - INFO - [main-SendThread(127.0.0.1:2181):ClientCnxn$SendThread@1169] - SASL config status: Will not attempt to authenticate using SASL (unknown error) 2022-03-03 16:37:04,082 - INFO - [main-SendThread(127.0.0.1:2181):ClientCnxn$SendThread@999] - Socket connection established, initiating session, client: /127.0.0.1:59066, server: localhost/127.0.0.1:2181 2022-03-03 16:37:04,089 - INFO - [main-SendThread(127.0.0.1:2181):ClientCnxn$SendThread@1433] - Session establishment complete on server localhost/127.0.0.1:2181, session id = 0x100042f66d70004, negotiated timeout = 10000 2022-03-03 16:37:04,090 - INFO - [main-EventThread:ZooKeeperWatcherBase@130] - ZooKeeper client is connected now. 2022-03-03 16:37:04,095 - INFO - [main:ZKRegistrationManager@426] - INSTANCEID not exists in zookeeper. Not considering it for data verification 2022-03-03 16:37:04,101 - INFO - [main:Bookie@413] - Stamping new cookies on all dirs [/tmp/localbookkeeper37049904852450543963test/current] [/tmp/bk-data/bookie3/current] 2022-03-03 16:37:04,110 - INFO - [main:Bookie@736] - instantiate ledger manager org.apache.bookkeeper.meta.HierarchicalLedgerManagerFactory 2022-03-03 16:37:04,111 - ERROR - [main:Journal$LastLogMark@252] - Problems reading from /tmp/bk-data/bookie3/current/lastMark (this is okay if it is the first time starting this bookie 2022-03-03 16:37:04,111 - INFO - [main:Bookie@654] - Using ledger storage: org.apache.bookkeeper.bookie.SortedLedgerStorage 2022-03-03 16:37:04,111 - INFO - [main:IndexPersistenceMgr@99] - openFileLimit = 20000 2022-03-03 16:37:04,112 - INFO - [main:IndexInMemPageMgr@361] - maxDirectMemory = 2147483648, pageSize = 8192, pageLimit = 87381 2022-03-03 16:37:04,112 - INFO - [main:ScanAndCompareGarbageCollector@105] - Over Replicated Ledger Deletion : enabled=true, interval=86400000 2022-03-03 16:37:04,112 - INFO - [main:GarbageCollectorThread@245] - Minor Compaction : enabled=true, threshold=0.20000000298023224, interval=3600000 2022-03-03 16:37:04,112 - INFO - [main:GarbageCollectorThread@247] - Major Compaction : enabled=true, threshold=0.800000011920929, interval=86400000 2022-03-03 16:37:04,124 - INFO - [main:Bookie@964] - Finished replaying journal in 0 ms. 2022-03-03 16:37:04,125 - INFO - [SyncThread-37-1:SyncThread@135] - Flush ledger storage at checkpoint CheckpointList{checkpoints=[LogMark: logFileId - 0 , logFileOffset - 0]}. 2022-03-03 16:37:04,136 - INFO - [main:Bookie@1054] - Finished reading journal, starting bookie 2022-03-03 16:37:04,137 - INFO - [BookieJournal-5003:Journal@919] - Starting journal on /tmp/localbookkeeper37049904852450543963test/current 2022-03-03 16:37:04,138 - INFO - [ForceWriteThread:Journal$ForceWriteThread@478] - ForceWrite Thread started 2022-03-03 16:37:04,138 - INFO - [BookieJournal-5003:JournalChannel@157] - Opening journal /tmp/localbookkeeper37049904852450543963test/current/17f4eecec0b.txn 2022-03-03 16:37:04,499 - INFO - [main:BookieServer@111] - { "storage.cluster.controller.schedule.interval.ms" : "30000", "zkEnableSecurity" : "false", "dlog.bkcAckQuorumSize" : "2", "zkServers" : "localhost:2181", "storage.range.store.dirs" : "data/bookkeeper/ranges", "httpServerPort" : "8080", "dlog.bkcWriteQuorumSize" : "2", "storage.serve.readonly.tables" : "false", "bookiePort" : "5004", "zkTimeout" : "10000", "ledgerDirectories" : "/tmp/bk-data/bookie4", "httpServerClass" : "org.apache.bookkeeper.http.vertx.VertxHttpServer", "httpServerEnabled" : "false", "metadataServiceUri" : "zk+null://127.0.0.1:2181/ledgers", "dlog.bkcEnsembleSize" : "3", "journalDirectories" : "/tmp/localbookkeeper45052469659263162690test", "allowLoopback" : "true", "storageserver.grpc.port" : "4181", "extraServerComponents" : "" } 2022-03-03 16:37:04,500 - INFO - [main:BookieNettyServer@357] - Binding bookie-rpc endpoint to 0.0.0.0/0.0.0.0:5004 2022-03-03 16:37:04,502 - INFO - [main:ZKMetadataDriverBase@197] - Initialize zookeeper metadata driver at metadata service uri zk+null://127.0.0.1:2181/ledgers : zkServers = 127.0.0.1:2181, ledgersRootPath = /ledgers. 2022-03-03 16:37:04,502 - INFO - [main:ZooKeeper@1006] - Initiating client connection, connectString=127.0.0.1:2181 sessionTimeout=10000 watcher=org.apache.bookkeeper.zookeeper.ZooKeeperWatcherBase@31bcf236 2022-03-03 16:37:04,502 - INFO - [main:ClientCnxnSocket@239] - jute.maxbuffer value is 1048575 Bytes 2022-03-03 16:37:04,503 - INFO - [main:ClientCnxn@1716] - zookeeper.request.timeout value is 0. feature enabled=false 2022-03-03 16:37:04,504 - INFO - [main-SendThread(127.0.0.1:2181):ClientCnxn$SendThread@1167] - Opening socket connection to server localhost/127.0.0.1:2181. 2022-03-03 16:37:04,504 - INFO - [main-SendThread(127.0.0.1:2181):ClientCnxn$SendThread@1169] - SASL config status: Will not attempt to authenticate using SASL (unknown error) 2022-03-03 16:37:04,504 - INFO - [main-SendThread(127.0.0.1:2181):ClientCnxn$SendThread@999] - Socket connection established, initiating session, client: /127.0.0.1:59068, server: localhost/127.0.0.1:2181 2022-03-03 16:37:04,510 - INFO - [main-SendThread(127.0.0.1:2181):ClientCnxn$SendThread@1433] - Session establishment complete on server localhost/127.0.0.1:2181, session id = 0x100042f66d70005, negotiated timeout = 10000 2022-03-03 16:37:04,510 - INFO - [main-EventThread:ZooKeeperWatcherBase@130] - ZooKeeper client is connected now. 2022-03-03 16:37:04,514 - INFO - [main:ZKRegistrationManager@426] - INSTANCEID not exists in zookeeper. Not considering it for data verification 2022-03-03 16:37:04,519 - INFO - [main:Bookie@413] - Stamping new cookies on all dirs [/tmp/localbookkeeper45052469659263162690test/current] [/tmp/bk-data/bookie4/current] 2022-03-03 16:37:04,528 - INFO - [main:Bookie@736] - instantiate ledger manager org.apache.bookkeeper.meta.HierarchicalLedgerManagerFactory 2022-03-03 16:37:04,529 - ERROR - [main:Journal$LastLogMark@252] - Problems reading from /tmp/bk-data/bookie4/current/lastMark (this is okay if it is the first time starting this bookie 2022-03-03 16:37:04,529 - INFO - [main:Bookie@654] - Using ledger storage: org.apache.bookkeeper.bookie.SortedLedgerStorage 2022-03-03 16:37:04,529 - INFO - [main:IndexPersistenceMgr@99] - openFileLimit = 20000 2022-03-03 16:37:04,529 - INFO - [main:IndexInMemPageMgr@361] - maxDirectMemory = 2147483648, pageSize = 8192, pageLimit = 87381 2022-03-03 16:37:04,529 - INFO - [main:ScanAndCompareGarbageCollector@105] - Over Replicated Ledger Deletion : enabled=true, interval=86400000 2022-03-03 16:37:04,529 - INFO - [main:GarbageCollectorThread@245] - Minor Compaction : enabled=true, threshold=0.20000000298023224, interval=3600000 2022-03-03 16:37:04,530 - INFO - [main:GarbageCollectorThread@247] - Major Compaction : enabled=true, threshold=0.800000011920929, interval=86400000 2022-03-03 16:37:04,536 - INFO - [main:Bookie@964] - Finished replaying journal in 0 ms. 2022-03-03 16:37:04,537 - INFO - [SyncThread-47-1:SyncThread@135] - Flush ledger storage at checkpoint CheckpointList{checkpoints=[LogMark: logFileId - 0 , logFileOffset - 0]}. 2022-03-03 16:37:04,545 - INFO - [main:Bookie@1054] - Finished reading journal, starting bookie 2022-03-03 16:37:04,546 - INFO - [BookieJournal-5004:Journal@919] - Starting journal on /tmp/localbookkeeper45052469659263162690test/current 2022-03-03 16:37:04,548 - INFO - [ForceWriteThread:Journal$ForceWriteThread@478] - ForceWrite Thread started 2022-03-03 16:37:04,548 - INFO - [BookieJournal-5004:JournalChannel@157] - Opening journal /tmp/localbookkeeper45052469659263162690test/current/17f4eeceda5.txn 2022-03-03 16:37:24,682 - INFO - [bookie-io-42-2:AuthHandler$ServerSideHandler$AuthHandshakeCompleteCallback@223] - Authentication success on server side 2022-03-03 16:37:24,682 - INFO - [bookie-io-12-2:AuthHandler$ServerSideHandler$AuthHandshakeCompleteCallback@223] - Authentication success on server side 2022-03-03 16:37:24,691 - INFO - [bookie-io-42-2:BookieRequestHandler@50] - Channel connected [id: 0xc7fafe16, L:/127.0.1.1:5004 - R:/127.0.0.1:59898] 2022-03-03 16:37:24,691 - INFO - [bookie-io-12-2:BookieRequestHandler@50] - Channel connected [id: 0xc09e7f91, L:/127.0.1.1:5001 - R:/127.0.0.1:40174] 2022-03-03 16:37:24,897 - INFO - [bookie-io-22-2:AuthHandler$ServerSideHandler$AuthHandshakeCompleteCallback@223] - Authentication success on server side 2022-03-03 16:37:24,897 - INFO - [bookie-io-22-2:BookieRequestHandler@50] - Channel connected [id: 0x302a302a, L:/127.0.1.1:5002 - R:/127.0.0.1:41204]
✘ ⚡ root@DESKTOP-2J030JA /mnt/e/working/GBase/writting/calcite_multi_database_select/calcite_multi_database/target java -jar calcite_multi_database-1.0-SNAPSHOT.jar 2022-03-03 16:37:23,573 - INFO - [main:MetadataDrivers@105] - BookKeeper metadata driver manager initialized 2022-03-03 16:37:23,588 - INFO - [main:ZKMetadataDriverBase@197] - Initialize zookeeper metadata driver at metadata service uri zk+null://localhost:2181/ledgers : zkServers = localhost:2181, ledgersRootPath = /ledgers. 2022-03-03 16:37:23,603 - INFO - [main:Environment@98] - Client environment:zookeeper.version=3.6.2--803c7f1a12f85978cb049af5e4ef23bd8b688715, built on 09/04/2020 12:44 GMT 2022-03-03 16:37:23,604 - INFO - [main:Environment@98] - Client environment:host.name=DESKTOP-2J030JA.localdomain 2022-03-03 16:37:23,604 - INFO - [main:Environment@98] - Client environment:java.version=1.8.0_292 2022-03-03 16:37:23,604 - INFO - [main:Environment@98] - Client environment:java.vendor=AdoptOpenJDK 2022-03-03 16:37:23,605 - INFO - [main:Environment@98] - Client environment:java.home=/root/.sdkman/candidates/java/8.0.292.hs-adpt/jre 2022-03-03 16:37:23,605 - INFO - [main:Environment@98] - Client environment:java.class.path=calcite_multi_database-1.0-SNAPSHOT.jar 2022-03-03 16:37:23,605 - INFO - [main:Environment@98] - Client environment:java.library.path=/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib 2022-03-03 16:37:23,605 - INFO - [main:Environment@98] - Client environment:java.io.tmpdir=/tmp 2022-03-03 16:37:23,606 - INFO - [main:Environment@98] - Client environment:java.compiler=<NA> 2022-03-03 16:37:23,606 - INFO - [main:Environment@98] - Client environment:os.name=Linux 2022-03-03 16:37:23,606 - INFO - [main:Environment@98] - Client environment:os.arch=amd64 2022-03-03 16:37:23,606 - INFO - [main:Environment@98] - Client environment:os.version=4.19.128-microsoft-standard 2022-03-03 16:37:23,606 - INFO - [main:Environment@98] - Client environment:user.name=root 2022-03-03 16:37:23,606 - INFO - [main:Environment@98] - Client environment:user.home=/root 2022-03-03 16:37:23,608 - INFO - [main:Environment@98] - Client environment:user.dir=/mnt/e/working/GBase/writting/calcite_multi_database_select/calcite_multi_database/target 2022-03-03 16:37:23,608 - INFO - [main:Environment@98] - Client environment:os.memory.free=138MB 2022-03-03 16:37:23,608 - INFO - [main:Environment@98] - Client environment:os.memory.max=2215MB 2022-03-03 16:37:23,608 - INFO - [main:Environment@98] - Client environment:os.memory.total=149MB 2022-03-03 16:37:23,617 - INFO - [main:ZooKeeper@1006] - Initiating client connection, connectString=localhost:2181 sessionTimeout=10000 watcher=org.apache.bookkeeper.zookeeper.ZooKeeperWatcherBase@1e643faf 2022-03-03 16:37:23,626 - INFO - [main:X509Util@77] - Setting -D jdk.tls.rejectClientInitiatedRenegotiation=true to disable client-initiated TLS renegotiation 2022-03-03 16:37:23,634 - INFO - [main:ClientCnxnSocket@239] - jute.maxbuffer value is 1048575 Bytes 2022-03-03 16:37:23,643 - INFO - [main:ClientCnxn@1716] - zookeeper.request.timeout value is 0. feature enabled=false 2022-03-03 16:37:23,654 - INFO - [main-SendThread(localhost:2181):ClientCnxn$SendThread@1167] - Opening socket connection to server localhost/127.0.0.1:2181. 2022-03-03 16:37:23,654 - INFO - [main-SendThread(localhost:2181):ClientCnxn$SendThread@1169] - SASL config status: Will not attempt to authenticate using SASL (unknown error) 2022-03-03 16:37:23,658 - INFO - [main-SendThread(localhost:2181):ClientCnxn$SendThread@999] - Socket connection established, initiating session, client: /127.0.0.1:59070, server: localhost/127.0.0.1:2181 2022-03-03 16:37:23,671 - INFO - [main-SendThread(localhost:2181):ClientCnxn$SendThread@1433] - Session establishment complete on server localhost/127.0.0.1:2181, session id = 0x100042f66d70006, negotiated timeout = 10000 2022-03-03 16:37:23,679 - INFO - [main-EventThread:ZooKeeperWatcherBase@130] - ZooKeeper client is connected now. 2022-03-03 16:37:23,925 - ERROR - [main:RackawareEnsemblePlacementPolicyImpl@273] - Failed to initialize DNS Resolver org.apache.bookkeeper.net.ScriptBasedMapping, used default subnet resolver java.lang.RuntimeException: No network topology script is found when using script based DNS resolver. at org.apache.bookkeeper.net.ScriptBasedMapping$RawScriptBasedMapping.validateConf(ScriptBasedMapping.java:163) at org.apache.bookkeeper.net.AbstractDNSToSwitchMapping.setConf(AbstractDNSToSwitchMapping.java:81) at org.apache.bookkeeper.net.ScriptBasedMapping.setConf(ScriptBasedMapping.java:123) at org.apache.bookkeeper.client.RackawareEnsemblePlacementPolicyImpl.initialize(RackawareEnsemblePlacementPolicyImpl.java:265) at org.apache.bookkeeper.client.RackawareEnsemblePlacementPolicyImpl.initialize(RackawareEnsemblePlacementPolicyImpl.java:80) at org.apache.bookkeeper.client.BookKeeper.initializeEnsemblePlacementPolicy(BookKeeper.java:581) at org.apache.bookkeeper.client.BookKeeper.<init>(BookKeeper.java:505) at org.apache.bookkeeper.client.BookKeeper$Builder.build(BookKeeper.java:306) at org.apache.bookkeeper.client.impl.BookKeeperBuilderImpl.build(BookKeeperBuilderImpl.java:86) at wang.datahub.BookKeeperTest.main(BookKeeperTest.java:15) 2022-03-03 16:37:23,983 - INFO - [main:RackawareEnsemblePlacementPolicyImpl@217] - Initialize rackaware ensemble placement policy @ <Bookie:127.0.1.1:0> @ /default-rack : org.apache.bookkeeper.client.TopologyAwareEnsemblePlacementPolicy$DefaultResolver. 2022-03-03 16:37:23,984 - INFO - [main:RackawareEnsemblePlacementPolicyImpl@227] - Not weighted 2022-03-03 16:37:24,002 - INFO - [main:BookKeeper@525] - Weighted ledger placement is not enabled 2022-03-03 16:37:24,179 - INFO - [main-EventThread:ZKRegistrationClient@270] - Update BookieInfoCache (writable bookie) 127.0.1.1:5003 -> BookieServiceInfo{properties={}, endpoints=[EndpointInfo{id=bookie, port=5003, host=127.0.1.1, protocol=bookie-rpc, auth=[], extensions=[]}]} 2022-03-03 16:37:24,179 - INFO - [main-EventThread:ZKRegistrationClient@270] - Update BookieInfoCache (writable bookie) 127.0.1.1:5004 -> BookieServiceInfo{properties={}, endpoints=[EndpointInfo{id=bookie, port=5004, host=127.0.1.1, protocol=bookie-rpc, auth=[], extensions=[]}]} 2022-03-03 16:37:24,180 - INFO - [main-EventThread:ZKRegistrationClient@270] - Update BookieInfoCache (writable bookie) 127.0.1.1:5001 -> BookieServiceInfo{properties={}, endpoints=[EndpointInfo{id=bookie, port=5001, host=127.0.1.1, protocol=bookie-rpc, auth=[], extensions=[]}]} 2022-03-03 16:37:24,180 - INFO - [main-EventThread:ZKRegistrationClient@270] - Update BookieInfoCache (writable bookie) 127.0.1.1:5002 -> BookieServiceInfo{properties={}, endpoints=[EndpointInfo{id=bookie, port=5002, host=127.0.1.1, protocol=bookie-rpc, auth=[], extensions=[]}]} 2022-03-03 16:37:24,180 - INFO - [main-EventThread:ZKRegistrationClient@270] - Update BookieInfoCache (writable bookie) 127.0.1.1:5000 -> BookieServiceInfo{properties={}, endpoints=[EndpointInfo{id=bookie, port=5000, host=127.0.1.1, protocol=bookie-rpc, auth=[], extensions=[]}]} 2022-03-03 16:37:24,187 - INFO - [BookKeeperClientScheduler-OrderedScheduler-0-0:NetworkTopologyImpl@426] - Adding a new node: /default-rack/127.0.1.1:5003 2022-03-03 16:37:24,187 - INFO - [BookKeeperClientScheduler-OrderedScheduler-0-0:NetworkTopologyImpl@426] - Adding a new node: /default-rack/127.0.1.1:5004 2022-03-03 16:37:24,187 - INFO - [BookKeeperClientScheduler-OrderedScheduler-0-0:NetworkTopologyImpl@426] - Adding a new node: /default-rack/127.0.1.1:5001 2022-03-03 16:37:24,187 - INFO - [BookKeeperClientScheduler-OrderedScheduler-0-0:NetworkTopologyImpl@426] - Adding a new node: /default-rack/127.0.1.1:5002 2022-03-03 16:37:24,187 - INFO - [BookKeeperClientScheduler-OrderedScheduler-0-0:NetworkTopologyImpl@426] - Adding a new node: /default-rack/127.0.1.1:5000 BookKeeper client init success. 2022-03-03 16:37:24,244 - WARN - [main:BookieWatcherImpl@277] - New ensemble: [127.0.1.1:5004, 127.0.1.1:5001, 127.0.1.1:5002] is not adhering to Placement Policy. quarantinedBookies: [] 2022-03-03 16:37:24,387 - INFO - [main-EventThread:LedgerCreateOp@254] - Ensemble: [127.0.1.1:5004, 127.0.1.1:5001, 127.0.1.1:5002] for ledger: 0 2022-03-03 16:37:24,580 - INFO - [bookkeeper-io-3-2:PerChannelBookieClient$ConnectionFutureListener@2454] - Successfully connected to bookie: 127.0.1.1:5001 [id: 0x9eba8620, L:/127.0.0.1:40174 - R:127.0.1.1/127.0.1.1:5001] 2022-03-03 16:37:24,581 - INFO - [bookkeeper-io-3-1:PerChannelBookieClient$ConnectionFutureListener@2454] - Successfully connected to bookie: 127.0.1.1:5004 [id: 0xab300700, L:/127.0.0.1:59898 - R:127.0.1.1/127.0.1.1:5004] 2022-03-03 16:37:24,613 - INFO - [bookkeeper-io-3-1:PerChannelBookieClient$1@486] - connection [id: 0xab300700, L:/127.0.0.1:59898 - R:127.0.1.1/127.0.1.1:5004] authenticated as BookKeeperPrincipal{ANONYMOUS} 2022-03-03 16:37:24,613 - INFO - [bookkeeper-io-3-2:PerChannelBookieClient$1@486] - connection [id: 0x9eba8620, L:/127.0.0.1:40174 - R:127.0.1.1/127.0.1.1:5001] authenticated as BookKeeperPrincipal{ANONYMOUS} write to ==> message-0 2022-03-03 16:37:24,895 - INFO - [bookkeeper-io-3-3:PerChannelBookieClient$ConnectionFutureListener@2454] - Successfully connected to bookie: 127.0.1.1:5002 [id: 0xf3bb0fd1, L:/127.0.0.1:41204 - R:127.0.1.1/127.0.1.1:5002] 2022-03-03 16:37:24,895 - INFO - [bookkeeper-io-3-3:PerChannelBookieClient$1@486] - connection [id: 0xf3bb0fd1, L:/127.0.0.1:41204 - R:127.0.1.1/127.0.1.1:5002] authenticated as BookKeeperPrincipal{ANONYMOUS} write to ==> message-1 ledgerId = 0 read => message-0 read => message-1
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。