WJL3333 opened a new issue #9496:
URL: https://github.com/apache/pulsar/issues/9496


   **To Reproduce**
   pulsar-2.7
   
   ./pulsar-perf managed-ledger -e 3 -w 2 -o 10000 --threads 20 -r 100000 -s 
2048 -zk localhost:2181
   
   **Expected behavior**
   A clear and concise description of what you expected to happen.
   
   02:42:35.871 [bookkeeper-ml-workers-OrderedExecutor-1-0] INFO  
org.apache.bookkeeper.mledger.impl.ManagedLedgerFactoryImpl - [test-0d205-000] 
Successfully initialize managed ledger
   02:42:35.871 [main] INFO  org.apache.pulsar.testclient.ManagedLedgerWriter - 
Created 1 managed ledgers
   Exception in thread "main" java.lang.IndexOutOfBoundsException: index (1) 
must be less than size (1)
        at 
com.google.common.base.Preconditions.checkElementIndex(Preconditions.java:1345)
        at 
com.google.common.base.Preconditions.checkElementIndex(Preconditions.java:1327)
        at com.google.common.collect.Lists$Partition.get(Lists.java:677)
        at com.google.common.collect.Lists$Partition.get(Lists.java:666)
        at 
org.apache.pulsar.testclient.ManagedLedgerWriter.main(ManagedLedgerWriter.java:220)
   02:42:36.887 [BookKeeperClientWorker-OrderedExecutor-0-0] INFO  
com.scurrilous.circe.checksum.Crc32cIntChecksum - SSE4.2 CRC32C provider 
initialized
   02:42:36.949 [bookkeeper-io-4-3] INFO  
org.apache.bookkeeper.proto.PerChannelBookieClient - Successfully connected to 
bookie: 192.168.31.11:3181 [id: 0xaa9e63a0, L:/192.168.31.12:50640 - 
R:192.168.31.11/192.168.31.11:3181]
   02:42:36.949 [bookkeeper-io-4-2] INFO  
org.apache.bookkeeper.proto.PerChannelBookieClient - Successfully connected to 
bookie: 192.168.31.12:3181 [id: 0xd7d5f801, L:/192.168.31.12:49520 - 
R:192.168.31.12/192.168.31.12:3181]
   02:42:36.949 [bookkeeper-io-4-1] INFO  
org.apache.bookkeeper.proto.PerChannelBookieClient - Successfully connected to 
bookie: 192.168.31.13:3181 [id: 0xbd7c333f, L:/192.168.31.12:35032 - 
R:192.168.31.13/192.168.31.13:3181]
   
   


----------------------------------------------------------------
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:
[email protected]


Reply via email to