You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rocketmq.apache.org by GitBox <gi...@apache.org> on 2020/10/21 03:48:05 UTC

[GitHub] [rocketmq] maixiaohai opened a new issue #2366: [Benchmark] Trascaction Producer start script failed

maixiaohai opened a new issue #2366:
URL: https://github.com/apache/rocketmq/issues/2366


   **BUG REPORT**
   
   1. Please describe the issue you observed:
   run benchmark script use command 
   ```
   sh tproducer.sh -t transaction_tst -a true -w 32
   ```
   got exception 
   ```
   tproducer.sh: line 2: $'\r': command not found
   tproducer.sh: line 17: $'\r': command not found
   OpenJDK 64-Bit Server VM warning: ignoring option PermSize=128m; support was removed in 8.0
   OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=320m; support was removed in 8.0
   OpenJDK 64-Bit Server VM warning: UseCMSCompactAtFullCollection is deprecated and will likely be removed in a future release.
   "xception in thread "main" java.lang.NumberFormatException: For input string: "32
   	at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
   	at java.lang.Integer.parseInt(Integer.java:580)
   	at java.lang.Integer.parseInt(Integer.java:615)
   	at org.apache.rocketmq.example.benchmark.TransactionProducer.main(TransactionProducer.java:63)
   ```
   2. Please tell us about your environment:
   
   - rmq version 4.7.0
   
   - jdk1.8
   
   3. Other information (e.g. detailed explanation, logs, related issues, suggestions how to fix, etc):
   remove space in command will fix the problem.
   ```
   sh tproducer.sh -t transaction_tst -a true -w 32
   tproducer.sh: line 2: $'\r': command not found
   tproducer.sh: line 17: $'\r': command not found
   tproducer.sh: line 18: $'\r': command not found
   OpenJDK 64-Bit Server VM warning: ignoring option PermSize=128m; support was removed in 8.0
   OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=320m; support was removed in 8.0
   OpenJDK 64-Bit Server VM warning: UseCMSCompactAtFullCollection is deprecated and will likely be removed in a future release.
   11:38:31.742 [main] DEBUG i.n.u.i.l.InternalLoggerFactory - Using SLF4J as the default logging framework
   RocketMQLog:WARN No appenders could be found for logger (io.netty.util.internal.PlatformDependent0).
   RocketMQLog:WARN Please initialize the logger system properly.
   Current Time: 1603251521507 Send TPS:15407 Max RT(ms): 1004 AVG RT(ms):2.1 Send Failed: 0 check: 0 unexpectedCheck: 0 duplicatedCheck: 0 
   Current Time: 1603251531507 Send TPS:15267 Max RT(ms):   34 AVG RT(ms):2.1 Send Failed: 0 check: 0 unexpectedCheck: 0 duplicatedCheck: 0 
   Current Time: 1603251541507 Send TPS:14518 Max RT(ms):   39 AVG RT(ms):2.2 Send Failed: 0 check: 0 unexpectedCheck: 0 duplicatedCheck: 0 
   Current Time: 1603251551507 Send TPS:14795 Max RT(ms):   38 AVG RT(ms):2.2 Send Failed: 0 check: 0 unexpectedCheck: 0 duplicatedCheck: 0 
   Current Time: 1603251561507 Send TPS:15845 Max RT(ms):   27 AVG RT(ms):2.0 Send Failed: 0 check: 0 unexpectedCheck: 0 duplicatedCheck: 0 
   Current Time: 1603251571508 Send TPS:15725 Max RT(ms):   27 AVG RT(ms):2.0 Send Failed: 0 check: 0 unexpectedCheck: 0 duplicatedCheck: 0 
   ```


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



[GitHub] [rocketmq] RongtongJin closed issue #2366: [Benchmark] Trascaction Producer start script failed

Posted by GitBox <gi...@apache.org>.
RongtongJin closed issue #2366:
URL: https://github.com/apache/rocketmq/issues/2366


   


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