{"action":"opened","issue":{"url":"https://api.github.com/repos/apache/bookkeeper/issues/2084","repository_url":"https://api.github.com/repos/apache/bookkeeper","labels_url":"https://api.github.com/repos/apache/bookkeeper/issues/2084/labels{/name}","comments_url":"https://api.github.com/repos/apache/bookkeeper/issues/2084/comments","events_url":"https://api.github.com/repos/apache/bookkeeper/issues/2084/events","html_url":"https://github.com/apache/bookkeeper/issues/2084","id":440490636,"node_id":"MDU6SXNzdWU0NDA0OTA2MzY=","number":2084,"title":"Failed to fetch cluster metadata from zookeeper @/stream/metadata","user":{"login":"rolish","id":36740458,"node_id":"MDQ6VXNlcjM2NzQwNDU4","avatar_url":"https://avatars3.githubusercontent.com/u/36740458?v=4","gravatar_id":"","url":"https://api.github.com/users/rolish","html_url":"https://github.com/rolish","followers_url":"https://api.github.com/users/rolish/followers","following_url":"https://api.github.com/users/rolish/following{/other_user}","gists_url":"https://api.github.com/users/rolish/gists{/gist_id}","starred_url":"https://api.github.com/users/rolish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rolish/subscriptions","organizations_url":"https://api.github.com/users/rolish/orgs","repos_url":"https://api.github.com/users/rolish/repos","events_url":"https://api.github.com/users/rolish/events{/privacy}","received_events_url":"https://api.github.com/users/rolish/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2019-05-05T21:09:04Z","updated_at":"2019-05-05T21:09:04Z","closed_at":null,"author_association":"NONE","body":"**QUESTION**\r\nI'm trying to use streams with bookkeeper gprc.\r\nConfigmap:\r\n```\r\n## Credits to Franck Cuny : https://github.com/fcuny/distributedlog-on-k8s/blob/master/bookkeeper.statefulset.yaml\r\napiVersion: v1\r\nkind: ConfigMap\r\nmetadata:\r\n    name: bookie-config\r\ndata:\r\n    BK_BOOKIE_EXTRA_OPTS: \"\\\"-Xms1g -Xmx1g -XX:MaxDirectMemorySize=1g -XX:+UseG1GC  -XX:MaxGCPauseMillis=10 -XX:+ParallelRefProcEnabled -XX:+UnlockExperimentalVMOptions -XX:+AggressiveOpts -XX:+DoEscapeAnalysis -XX:ParallelGCThreads=32 -XX:ConcGCThreads=32 -XX:G1NewSizePercent=50 -XX:+DisableExplicitGC -XX:-ResizePLAB\\\"\"\r\n    BK_bookiePort: \"3181\"\r\n    BK_journalDirectory: \"/bookkeeper/data/journal\"\r\n    BK_ledgerDirectories: \"/bookkeeper/data/ledgers\"\r\n    BK_indexDirectories: \"/bookkeeper/data/ledgers\"\r\n#    BK_zkServers: \"zookeeper-1.cgiallpayments.com\"\r\n    BK_metadataServiceUri: \"zk://zookeeper-1.x.com;zookeeper-2.x.com;zookeeper-3.x.com;zookeeper-4.x.com;zookeeper-5.x.com;zookeeper-6.x.com/ledgers\"\r\n    BK_httpServerEnabled: \"true\"\r\n    BK_httpServerPort: \"8080\"\r\n    # TODO: Issue 458: https://github.com/apache/bookkeeper/issues/458\r\n    #BK_statsProviderClass: org.apache.bookkeeper.stats.prometheus.PrometheusMetricsProvider\r\n    # use hostname as bookie id as bookie statefulset runs with hostnetwork: true\r\n    BK_useHostNameAsBookieID: \"false\"\r\n    BOOKIE_GRPC_PORT: \"4181\"\r\n    BK_extraServerComponents: org.apache.bookkeeper.stream.server.StreamStorageLifecycleComponent\r\n```\r\nversion:\r\n```\r\nimage: apache/bookkeeper:4.9.1\r\n```\r\nGetting startup exception:\r\n```\r\nException in thread \"main\" org.apache.bookkeeper.stream.storage.exceptions.StorageRuntimeException: Failed to fetch cluster metadata from zookeeper @/stream/metadata\r\n```\r\nAttaching full log of bookie-0:\r\n\r\n[logs-from-bookie-in-bookie-0 (18).txt](https://github.com/apache/bookkeeper/files/3146021/logs-from-bookie-in-bookie-0.18.txt)\r\n\r\n\r\n"}}
{"actor":{"display_login":"rolish"}}