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 2019/04/16 14:44:19 UTC

[GitHub] [pulsar] nyluke commented on issue #4051: server checksum error when using pulsar-log4j2-appender

nyluke commented on issue #4051: server checksum error when using pulsar-log4j2-appender
URL: https://github.com/apache/pulsar/issues/4051#issuecomment-483692058
 
 
   ```
   [ForkJoinPool.commonPool-worker-4] INFO  org.apache.pulsar.broker.service.ServerCnx - [/127.0.0.1:40776] Created new producer: Producer{topic=PersistentTopic{topic=persistent://public/default/log}, client=/127.0.0.1:40776, producerName=pulsar-log4j2-appender-persistent://public/default/log, producerId=0}
   00 00 00 0A 08 06 32 06 08 00 10 00 18 02 0E 01 3C 39 F4 0B 00 00 00 46 0A 36 70 75 6C 73 61 72 2D 6C 6F 67 34 6A 32 2D 61 70 70 65 6E 64 65 72 2D 70 65 72 73 69 73 74 65 6E 74 3A 2F 2F 70 75 62 6C 69 63 2F 64 65 66 61 75 6C 74 2F 6C 6F 67 10 00 18 87 E9 DC B4 A2 2D 58 02 82 01 00 00 00 00 03 18 9D 01 5B 5B 70 65 72 73 69 73 74 65 6E 74 3A 2F 2F 70 75 62 6C 69 63 2F 64 65 66 61 75 6C 74 2F 6C 6F 67 5D 20 5B 70 75 6C 73 61 72 2D 6C 6F 67 34 6A 32 2D 61 70 70 65 6E 64 65 72 2D 70 65 72 73 69 73 74 65 6E 74 3A 2F 2F 70 75 62 6C 69 63 2F 64 65 66 61 75 6C 74 2F 6C 6F 67 5D 20 42 61 74 63 68 69 6E 67 20 74 68 65 20 6D 65 73 73 61 67 65 73 20 66 72 6F 6D 20 74 68 65 20 62 61 74 63 68 20 63 6F 6E 74 61 69 6E 65 72 20 66 72 6F 6D 20 74 69 6D 65 72 20 74 68 72 65 61 64 5D 00 00 00 03 18 9B 01 5B 5B 70 65 72 73 69 73 74 65 6E 74 3A 2F 2F 70 75 62 6C 69 63 2F 64 65 66 61 75 6C 74 2F 6C 6F 67 5D 20 5B 70 75 6C 73 61 72 2D 6C 6F 67 34 6A 32 2D 61 70 70 65 6E 64 65 72 2D 70 65 72 73 69 73 74 65 6E 74 3A 2F 2F 70 75 62 6C 69 63 2F 64 65 66 61 75 6C 74 2F 6C 6F 67 5D 20 42 61 74 63 68 69 6E 67 20 74 68 65 20 6D 65 73 73 61 67 65 73 20 66 72 6F 6D 20 74 68 65 20 62 61 74 63 10:40:11.772 [pulsar-io-49-10] INFO  org.apache.pulsar.broker.service.ServerCnx - Closed connection from /127.0.0.1:40730
   68 20 63 6F 6E 74 61 69 6E 65 72 20 10:40:11.773 [pulsar-io-49-6] INFO  org.apache.pulsar.broker.service.ServerCnx - Closed connection from /127.0.0.1:40722
   77 69 74 68 20 31 20 6D 65 73 73 61 67 65 73 5D 00 00 00 03 18 85 01 5B 5B 70 65 72 73 69 73 74 65 6E 74 3A 2F 2F 70 75 62 6C 69 63 2F 64 65 66 61 75 6C 74 2F 6C 6F 67 5D 20 5B 70 75 6C 73 61 72 2D 6C 6F 67 34 6A 32 2D 61 70 70 65 6E 64 65 72 2D 70 65 72 73 69 73 74 65 6E 74 3A 2F 2F 70 75 62 6C 69 63 2F 64 65 66 61 75 6C 74 2F 6C 6F 67 5D 20 6E 75 6D 20 6D 65 73 73 61 67 65 73 20 69 6E 20 62 61 74 63 68 20 62 65 69 6E 67 10:40:11.814 [pulsar-io-49-12] ERROR org.apache.pulsar.broker.service.Producer - [PersistentTopic{topic=persistent://public/default/log}] [pulsar-log4j2-appender-persistent://public/default/log] Failed to verify checksum
   10:40:11.815 [pulsar-io-49-12] WARN  org.apache.pulsar.broker.service.ServerCnx - [/127.0.0.1:40776] Got exception IndexOutOfBoundsException : readerIndex(0) + length(4) exceeds writerIndex(2): PooledSlicedByteBuf(ridx: 0, widx: 2, cap: 2/2, unwrapped: PooledUnsafeDirectByteBuf(ridx: 570, widx: 1345, cap: 8192))
   java.lang.IndexOutOfBoundsException: readerIndex(0) + length(4) exceeds writerIndex(2): PooledSlicedByteBuf(ridx: 0, widx: 2, cap: 2/2, unwrapped: PooledUnsafeDirectByteBuf(ridx: 570, widx: 1345, cap: 8192))
   	at io.netty.buffer.AbstractByteBuf.checkReadableBytes0(AbstractByteBuf.java:1437) ~[netty-all-4.1.32.Final.jar:4.1.32.Final]
   	at io.netty.buffer.AbstractByteBuf.readInt(AbstractByteBuf.java:809) ~[netty-all-4.1.32.Final.jar:4.1.32.Final]
   	at io.netty.buffer.AbstractByteBuf.readUnsignedInt(AbstractByteBuf.java:825) ~[netty-all-4.1.32.Final.jar:4.1.32.Final]
   	at org.apache.pulsar.common.api.PulsarDecoder.channelRead(PulsarDecoder.java:83) ~[pulsar-common.jar:2.4.0-SNAPSHOT]
   	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) [netty-transport-4.1.31.Final.jar:4.1.31.Final]
   ```

----------------------------------------------------------------
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


With regards,
Apache Git Services