Skip to content

Commit

Permalink
Run table service as a bookkeeper lifecycle component in bookie server
Browse files Browse the repository at this point in the history
  • Loading branch information
XuQianJin-Stars committed Jul 22, 2023
1 parent ee59f57 commit 6f17630
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions conf/bk_server.conf
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ bookiePort=3181
# Configure a specific hostname or IP address that the bookie should use to advertise itself to
# clients. If not set, bookie will advertised its own IP address or hostname, depending on the
# listeningInterface and useHostNameAsBookieID settings.
advertisedAddress=30.82.240.11
# advertisedAddress=

# Whether the bookie allowed to use a loopback interface as its primary
# interface(i.e. the interface it uses to establish its identity)?
Expand Down Expand Up @@ -100,7 +100,7 @@ advertisedAddress=30.82.240.11
# NOTE: if bookie fails to load any of extra components configured below, bookie will continue
# function by ignoring the components configured below.
# extraServerComponents=org.apache.bookkeeper.stream.server.StreamStorageLifecycleComponent
extraServerComponents=org.apache.bookkeeper.stream.server.StreamStorageLifecycleComponent
extraServerComponents=

# Whether the bookie should ignore startup failures on loading server components specified
# by `extraServerComponents`. The default value is `false`.
Expand Down Expand Up @@ -313,7 +313,7 @@ httpServerTrustStorePassword=
# journalDirectories=/tmp/bk-journal1,/tmp/bk-journal2
# If journalDirectories is set, bookies will skip journalDirectory and use
# this setting directory.
journalDirectories=/data/bk-txn
journalDirectories=/tmp/bk-txn

# Directory Bookkeeper outputs its write ahead log
# @deprecated since 4.5.0. journalDirectories is preferred over journalDirectory.
Expand Down Expand Up @@ -429,7 +429,7 @@ journalDirectories=/data/bk-txn
# Ideally ledger dirs and journal dir are each in a differet device,
# which reduce the contention between random i/o and sequential write.
# It is possible to run with a single disk, but performance will be significantly lower.
ledgerDirectories=/data/bk-data
ledgerDirectories=/tmp/bk-data
# Directories to store index files. If not specified, will use ledgerDirectories to store.
# indexDirectories=/tmp/bk-data

Expand Down Expand Up @@ -813,7 +813,7 @@ gcEntryLogMetadataCacheEnabled=false
# metadata service uri that bookkeeper is used for loading corresponding metadata driver and resolving its metadata service location
# The server list can be semicolon separated values, for example:
# metadataServiceUri=zk+hierarchical://zk1:2181;zk2:2181;zk3:2181/ledgers
metadataServiceUri=zk+hierarchical://30.82.240.11:2181;30.82.240.35:2181;30.82.244.99:2181/ledgers
metadataServiceUri=zk+hierarchical://localhost:2181/ledgers

# @Deprecated - `ledgerManagerFactoryClass` is deprecated in favor of using `metadataServiceUri`
# Ledger Manager Class
Expand Down Expand Up @@ -846,7 +846,7 @@ metadataServiceUri=zk+hierarchical://30.82.240.11:2181;30.82.240.35:2181;30.82.2
# A list of one of more servers on which Zookeeper is running.
# The server list can be comma separated values, for example:
# zkServers=zk1:2181,zk2:2181,zk3:2181
zkServers=30.82.240.11:2181,30.82.240.35:2181,30.82.244.99:2181
zkServers=localhost:2181

# ZooKeeper client session timeout in milliseconds
# Bookie server will exit if it received SESSION_EXPIRED because it
Expand Down Expand Up @@ -1071,7 +1071,7 @@ zkEnableSecurity=false
storageserver.grpc.port=4181

# whether to use hostname instead of IP address for the stream storage server. default is false.
storageserver.grpc.useHostname=true
storageserver.grpc.useHostname=false

### Dlog Settings for table service ###

Expand Down

0 comments on commit 6f17630

Please sign in to comment.