2019-06-10 14:43:42 UTC - Ryan Samo: Hey guys,
I am slowly upgrading my Pulsar 2.2.0 cluster to 2.3.1 and ran across this 
error when try to run pulsar-client to produce a test message. Have any of you 
encountered this before? My certs are in the proper location and environment 
variables. Thanks!

10:30:52.425 [main] INFO  org.apache.pulsar.client.cli.PulsarClientTool - 0 
messages successfully produced

Exception in thread "main" java.lang.NoClassDefFoundError: 
io/netty/internal/tcnative/SSLPrivateKeyMethod

        at 
io.netty.handler.ssl.SslContext.newClientContextInternal(SslContext.java:777)

        at 
io.netty.handler.ssl.SslContextBuilder.build(SslContextBuilder.java:452)

        at 
org.apache.pulsar.common.util.SecurityUtility.createNettySslContextForClient(SecurityUtility.java:99)

        at 
org.apache.pulsar.client.impl.PulsarChannelInitializer.<init>(PulsarChannelInitializer.java:50)

        at 
org.apache.pulsar.client.impl.ConnectionPool.<init>(ConnectionPool.java:80)

        at 
org.apache.pulsar.client.impl.ConnectionPool.<init>(ConnectionPool.java:62)

        at 
org.apache.pulsar.client.impl.PulsarClientImpl.<init>(PulsarClientImpl.java:105)

        at 
org.apache.pulsar.client.impl.PulsarClientImpl.<init>(PulsarClientImpl.java:101)

        at 
org.apache.pulsar.client.impl.ClientBuilderImpl.build(ClientBuilderImpl.java:61)

        at org.apache.pulsar.client.cli.CmdProduce.run(CmdProduce.java:136)

        at 
org.apache.pulsar.client.cli.PulsarClientTool.run(PulsarClientTool.java:128)

        at 
org.apache.pulsar.client.cli.PulsarClientTool.main(PulsarClientTool.java:162)

Caused by: java.lang.ClassNotFoundException: 
io.netty.internal.tcnative.SSLPrivateKeyMethod

        at java.net.URLClassLoader.findClass(URLClassLoader.java:382)

        at java.lang.ClassLoader.loadClass(ClassLoader.java:424)

        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)

        at java.lang.ClassLoader.loadClass(ClassLoader.java:357)

        ... 12 more
----
2019-06-10 16:32:31 UTC - David Kjerrumgaard: @Ryan Samo What version of netty 
are you using?
----
2019-06-10 17:56:10 UTC - Alexey Pikin: how big should be zk cluster for such 
number of topics
----
2019-06-10 17:56:11 UTC - Alexey Pikin: ?
----
2019-06-10 19:40:05 UTC - Matteo Merli: Important part is to have separate 
disks on ZK. One for snapshot and for the txn log.
----
2019-06-10 19:40:53 UTC - Matteo Merli: That will ensure that write operations 
will be carried with consistent latency
----
2019-06-10 19:41:11 UTC - Matteo Merli: (Also, SSD for ZK journal)
----
2019-06-10 21:12:05 UTC - Ambud Sharma: Hi, we are trying to figure out a way 
to get beginning and end offsets without needing to poll the records; is there 
a way to accomplish this? Trying to see if we can PoC a Kafka use case
----
2019-06-10 21:14:04 UTC - Matteo Merli: If you just want to get positioned in 
either message, you could use `MessageId.earliest` or `MessageId.latest`.

To check the real underlying ids, you could use the stats internal 
(`pulsar-admin topics-stats internal my-topic` or through REST/Java)
----
2019-06-10 21:15:14 UTC - Ping-Min Lin: @Ping-Min Lin has joined the channel
----
2019-06-10 21:15:29 UTC - Ambud Sharma: thanks @Matteo Merli
----
2019-06-10 21:49:12 UTC - Ambud Sharma: is the ledger id info returned always 
guaranteed to be sorted in ascending order?
```"ledgers" : [ {
    "ledgerId" : 19517914,
    "entries" : 11,
    "size" : 1419
  }, {
    "ledgerId" : 19535188,
    "entries" : 7,
    "size" : 903
  },```
----
2019-06-10 21:49:23 UTC - Matteo Merli: Yes
----
2019-06-10 21:50:14 UTC - Ambud Sharma: awesome! thanks
----
2019-06-11 00:09:29 UTC - Devin G. Bost: We have another use case involving 
combining the Pulsar Functions API with the Admin API (though we could use the 
consumer model instead)... Regardless, we need a way to be able to expose admin 
information (for read access), such as available tenants, namespaces, etc.
I remember some talk about plans to refactor the Admin API. Is there a 
timeframe on that yet?
----
2019-06-11 00:18:33 UTC - Ryan Samo: @David Kjerrumgaard I think we figured it 
out, someone changed the netty version to 4.1.36.Final and that broke Pulsar. I 
downgraded it to 4.1.34.Final and it works once more.

Thanks!
----
2019-06-11 00:51:55 UTC - David Kjerrumgaard: Awesome.....glad you were able to 
resolve the issue
----
2019-06-11 01:05:20 UTC - Ryan Samo: Yup thanks! 
----
2019-06-11 03:35:27 UTC - naga: Can someone guide to understand the difference 
between the activemq and pulsar. Both support almost same use cases as per my 
understanding
----
2019-06-11 03:43:07 UTC - Ali Ahmed: activemq is a subset of pulsar in terms of 
capability they are not directly comparable since pulsar fulfills a lot more 
use cases.
----

Reply via email to