Fork me on GitHub
#onyx
<
2018-04-02
>
dbernal17:04:59

I'm trying to have my job run while pointing to a production zookeeper but I keep getting this exception org.apache.zookeeper.KeeperException$NoNodeException: KeeperErrorCode = NoNode for /onyx/testcluster/log-parameters/log-parameters. I'm guessing that particular path does not exist yet so it throws the error. Do peers create the necessary paths themselves or do I need to manually create the node in Zookeeper?

dbernal17:04:22

It appears that the path does exist so I'm not quite sure why it's throwing that error. I'm seeing a path for /onyx/testcluster/log-parameters but not one for /onyx/testcluster/log-parameters/log-parameters. I noticed on the user guide that the KeeperErrorCode = NodeExists could be ignored so maybe that's what I'm seeing now? I'm just slightly confused at this point as it looks like the job is not able to start

lucasbradstreet18:04:12

It’s probably unrelated. Zookeeper can be pretty chatty when a node doesn’t exist - it’s likely the code is just checking the znode path, and if it isn’t there it creates it.

dbernal19:04:50

@lucasbradstreet Would there be a reason that the job is not writing log-parameters? As of now it looks to be stuck trying to read the log parameters. Just trying to figure out if there's something I've misconfigured

lucasbradstreet19:04:48

Did you start a peer group and some peers?

dbernal20:04:38

@lucasbradstreet ok I think that's what I was missing. Is there an example project out there that I could reference? Or would I reference the api.clj namespace?

lucasbradstreet20:04:54

They’re not really meant for dev use, as they aren’t repl reloaded friendly, but they’ll show you what order things need to be started up in

👍 4
dbernal20:04:39

excellent. Thank you!