You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2020/07/10 15:15:43 UTC

[GitHub] [pulsar] xuesong172500 opened a new issue #7505: start/stop function fail

xuesong172500 opened a new issue #7505:
URL: https://github.com/apache/pulsar/issues/7505


   **Describe the bug**
   After creating functions, the function runs normally. Stop function starts function again. The following error is reported in the function log. Update function is invalid. You must delete function and then create function to run normally.
   
   
   00:00:00.539 [public/default/streamPulsarBcn-80-SendThread(10.32.211.206:31180)] INFO  org.apache.zookeeper.ClientCnxn - Socket connection established, initiating session, client: /xxx.xxx.xxx.xxx:53231, server: xxx.xxx.xxx.xxx/xxx.xxx.xxx:31180
   00:00:06.321 [public/default/streamPulsarBcn-80-SendThread(xxx.xxx.xxx.xxx:31180)] WARN  org.apache.zookeeper.ClientCnxn - Session 0x2730982e3a7024c for server xxx.xxx.xxx.xxx/xxx.xxx.xxx.xxx:31180, unexpected error, closing socket connection and attempting reconnect
   java.lang.NoClassDefFoundError: org/apache/zookeeper/proto/SetWatches
   	at org.apache.zookeeper.ClientCnxn$SendThread.primeConnection(ClientCnxn.java:906) ~[streamPulsarBcn-1.0-SNAPSHOT.jar:?]
   	at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:352) ~[streamPulsarBcn-1.0-SNAPSHOT.jar:?]
   	at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1118) [streamPulsarBcn-1.0-SNAPSHOT.jar:?]
   
   
   org.apache.dubbo.remoting.RemotingException: Failed connect to server /xxx.xxx.xxx.xxx:18005 from NettyClient xxx.xxx.xxx.xxx using dubbo version 1.0-SNAPSHOT, cause: io/netty/channel/AbstractChannelHandlerContext$13
   	at org.apache.dubbo.remoting.transport.AbstractClient.connect(AbstractClient.java:211) ~[streamPulsarBcn-1.0-SNAPSHOT.jar:?]
   	at org.apache.dubbo.remoting.transport.AbstractClient.reconnect(AbstractClient.java:246) ~[streamPulsarBcn-1.0-SNAPSHOT.jar:?]
   	at org.apache.dubbo.remoting.exchange.support.header.HeaderExchangeClient.reconnect(HeaderExchangeClient.java:155) ~[streamPulsarBcn-1.0-SNAPSHOT.jar:?]
   	at org.apache.dubbo.remoting.exchange.support.header.ReconnectTimerTask.doTask(ReconnectTimerTask.java:49) [streamPulsarBcn-1.0-SNAPSHOT.jar:?]
   	at org.apache.dubbo.remoting.exchange.support.header.AbstractTimerTask.run(AbstractTimerTask.java:87) [streamPulsarBcn-1.0-SNAPSHOT.jar:?]
   	at org.apache.dubbo.common.timer.HashedWheelTimer$HashedWheelTimeout.expire(HashedWheelTimer.java:648) [streamPulsarBcn-1.0-SNAPSHOT.jar:?]
   	at org.apache.dubbo.common.timer.HashedWheelTimer$HashedWheelBucket.expireTimeouts(HashedWheelTimer.java:727) [streamPulsarBcn-1.0-SNAPSHOT.jar:?]
   	at org.apache.dubbo.common.timer.HashedWheelTimer$Worker.run(HashedWheelTimer.java:449) [streamPulsarBcn-1.0-SNAPSHOT.jar:?]
   	at java.lang.Thread.run(Thread.java:748) [?:1.8.0_151]
   Caused by: java.lang.NoClassDefFoundError: io/netty/channel/AbstractChannelHandlerContext$13
   	at io.netty.channel.AbstractChannelHandlerContext.close(AbstractChannelHandlerContext.java:610) ~[streamPulsarBcn-1.0-SNAPSHOT.jar:?]
   	at io.netty.channel.AbstractChannelHandlerContext.close(AbstractChannelHandlerContext.java:465) ~[streamPulsarBcn-1.0-SNAPSHOT.jar:?]
   	at io.netty.channel.DefaultChannelPipeline.close(DefaultChannelPipeline.java:1003) ~[streamPulsarBcn-1.0-SNAPSHOT.jar:?]
   	at io.netty.channel.AbstractChannel.close(AbstractChannel.java:238) ~[streamPulsarBcn-1.0-SNAPSHOT.jar:?]
   	at org.apache.dubbo.remoting.transport.netty4.NettyClient.doConnect(NettyClient.java:139) ~[streamPulsarBcn-1.0-SNAPSHOT.jar:?]
   	at org.apache.dubbo.remoting.transport.AbstractClient.connect(AbstractClient.java:190) ~[streamPulsarBcn-1.0-SNAPSHOT.jar:?]
   
   **To Reproduce**
   Steps to reproduce the behavior:
   1. Go to '...'
   2. Click on '....'
   3. Scroll down to '....'
   4. See error
   
   **Expected behavior**
   A clear and concise description of what you expected to happen.
   
   **Screenshots**
   If applicable, add screenshots to help explain your problem.
   
   **Desktop (please complete the following information):**
    - OS: [e.g. iOS]
   
   **Additional context**
   Add any other context about the problem here.
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org