You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm facing a problem and I am kind of sure that it is a problem related with my configuration. However, I'm not able to figure out what is going wrong.
Version: 2.11.0
Running Pulsar in standalone mode
What I want to do is: Just using Pulsar Functions and using state storage.
When I run telnet localhost 4181. I was not able to listen to this port.
After I was looking in different page I found Enable stateful function which seemed to be my problem. However, I got in the same situation.
After just trying to understand different kind of configuration (and there are a lot of different configurations) I am at the point that I'm not really sure if there is something that I need configure.
I just started running individually each component:
pulsar zookeer
telnet localhost 2181 everything is fine
pulsar bookie and here I got this:
org.apache.bookkeeper.meta.exceptions.MetadataException: Failed to initialized ledger manager factory
at org.apache.bookkeeper.meta.zk.ZKMetadataDriverBase.getLedgerManagerFactory(ZKMetadataDriverBase.java:263) ~[org.apache.bookkeeper-bookkeeper-server-4.15.3.jar:4.15.3]
at org.apache.bookkeeper.server.Main.buildBookieServer(Main.java:357) ~[org.apache.bookkeeper-bookkeeper-server-4.15.3.jar:4.15.3]
at org.apache.bookkeeper.server.Main.doMain(Main.java:272) ~[org.apache.bookkeeper-bookkeeper-server-4.15.3.jar:4.15.3]
at org.apache.bookkeeper.server.Main.main(Main.java:255) ~[org.apache.bookkeeper-bookkeeper-server-4.15.3.jar:4.15.3]
Caused by: java.io.IOException: org.apache.zookeeper.KeeperException$NoNodeException: KeeperErrorCode = NoNode for /ledgers/LAYOUT
at org.apache.bookkeeper.meta.ZkLayoutManager.storeLedgerLayout(ZkLayoutManager.java:86) ~[org.apache.bookkeeper-bookkeeper-server-4.15.3.jar:4.15.3]
at org.apache.bookkeeper.meta.AbstractZkLedgerManagerFactory.createNewLMFactory(AbstractZkLedgerManagerFactory.java:336) ~[org.apache.bookkeeper-bookkeeper-server-4.15.3.jar:4.15.3]
at org.apache.bookkeeper.meta.AbstractZkLedgerManagerFactory.newLedgerManagerFactory(AbstractZkLedgerManagerFactory.java:179) ~[org.apache.bookkeeper-bookkeeper-server-4.15.3.jar:4.15.3]
at org.apache.bookkeeper.meta.zk.ZKMetadataDriverBase.getLedgerManagerFactory(ZKMetadataDriverBase.java:259) ~[org.apache.bookkeeper-bookkeeper-server-4.15.3.jar:4.15.3]
... 3 more
Caused by: org.apache.zookeeper.KeeperException$NoNodeException: KeeperErrorCode = NoNode for /ledgers/LAYOUT
at org.apache.zookeeper.KeeperException.create(KeeperException.java:118) ~[org.apache.zookeeper-zookeeper-3.8.0.jar:3.8.0]
at org.apache.zookeeper.KeeperException.create(KeeperException.java:54) ~[org.apache.zookeeper-zookeeper-3.8.0.jar:3.8.0]
at org.apache.zookeeper.ZooKeeper.create(ZooKeeper.java:1347) ~[org.apache.zookeeper-zookeeper-3.8.0.jar:3.8.0]
at org.apache.bookkeeper.zookeeper.ZooKeeperClient.access$1901(ZooKeeperClient.java:70) ~[org.apache.bookkeeper-bookkeeper-server-4.15.3.jar:4.15.3]
at org.apache.bookkeeper.zookeeper.ZooKeeperClient$9.call(ZooKeeperClient.java:714) ~[org.apache.bookkeeper-bookkeeper-server-4.15.3.jar:4.15.3]
at org.apache.bookkeeper.zookeeper.ZooKeeperClient$9.call(ZooKeeperClient.java:708) ~[org.apache.bookkeeper-bookkeeper-server-4.15.3.jar:4.15.3]
at org.apache.bookkeeper.zookeeper.ZooWorker.syncCallWithRetries(ZooWorker.java:140) ~[org.apache.bookkeeper-bookkeeper-server-4.15.3.jar:4.15.3]
at org.apache.bookkeeper.zookeeper.ZooKeeperClient.create(ZooKeeperClient.java:708) ~[org.apache.bookkeeper-bookkeeper-server-4.15.3.jar:4.15.3]
at org.apache.bookkeeper.meta.ZkLayoutManager.storeLedgerLayout(ZkLayoutManager.java:81) ~[org.apache.bookkeeper-bookkeeper-server-4.15.3.jar:4.15.3]
at org.apache.bookkeeper.meta.AbstractZkLedgerManagerFactory.createNewLMFactory(AbstractZkLedgerManagerFactory.java:336) ~[org.apache.bookkeeper-bookkeeper-server-4.15.3.jar:4.15.3]
at org.apache.bookkeeper.meta.AbstractZkLedgerManagerFactory.newLedgerManagerFactory(AbstractZkLedgerManagerFactory.java:179) ~[org.apache.bookkeeper-bookkeeper-server-4.15.3.jar:4.15.3]
at org.apache.bookkeeper.meta.zk.ZKMetadataDriverBase.getLedgerManagerFactory(ZKMetadataDriverBase.java:259) ~[org.apache.bookkeeper-bookkeeper-server-4.15.3.jar:4.15.3]
Maybe I am missing something. However, maybe due to my expertise in this area. I am not able to see what it is going on. Could you please help me or at least to point out the direction in which I should go? From my point of view, I think that I should be able to follow the guide and use what they show without any problems.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone,
I'm facing a problem and I am kind of sure that it is a problem related with my configuration. However, I'm not able to figure out what is going wrong.
Version: 2.11.0
Running Pulsar in standalone mode
What I want to do is: Just using Pulsar Functions and using state storage.
I started following Getting started with Pulsar Functions
When I run
telnet localhost 4181
. I was not able to listen to this port.After I was looking in different page I found Enable stateful function which seemed to be my problem. However, I got in the same situation.
After just trying to understand different kind of configuration (and there are a lot of different configurations) I am at the point that I'm not really sure if there is something that I need configure.
I just started running individually each component:
pulsar zookeer
telnet localhost 2181
everything is finepulsar bookie
and here I got this:Maybe I am missing something. However, maybe due to my expertise in this area. I am not able to see what it is going on. Could you please help me or at least to point out the direction in which I should go? From my point of view, I think that I should be able to follow the guide and use what they show without any problems.
Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions