Details
-
Test
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
There are some warning message in the rocketmq-storage module which need to be taken care.
Running com.alibaba.rocketmq.store.MappedFileQueueTest
12:30:56.606 [main] WARN RocketmqStoreError - findMappedFileByOffset offset not matched, request Offset: 4096, index: 4, mappedFileSize: 1024, mappedFiles count: 4, StackTrace: java.lang.Thread.getStackTrace(Thread.java:1552) com.alibaba.rocketmq.common.UtilAll.currentStackTrace(UtilAll.java:60) com.alibaba.rocketmq.store.MappedFileQueue.findMappedFileByOffset(MappedFileQueue.java:474) com.alibaba.rocketmq.store.MappedFileQueue.findMappedFileByOffset(MappedFileQueue.java:510) com.alibaba.rocketmq.store.MappedFileQueueTest.test_findMapedFileByOffset(MappedFileQueueTest.java:114) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
Running com.alibaba.rocketmq.store.DefaultMessageStoreTest
12:30:49.723 [main] WARN RocketmqStore - /Users/njiang/store/commitlog/00000000000000032768 32768 length not matched message store config value, ignore it 12:30:52.770 [AcceptSocketService] ERROR RocketmqStore - AcceptSocketService service end 12:30:52.774 [AllocateMappedFileService] WARN RocketmqStore - AllocateMappedFileService service has exception, maybe by shutdown 12:30:52.785 [main] WARN RocketmqStore - /Users/njiang/store/commitlog/00000000000000032768 32768 length not matched message store config value, ignore it 12:30:52.790 [main] ERROR RocketmqStore - beginAccept exception java.net.BindException: Address already in use at sun.nio.ch.Net.bind0(Native Method) ~[na:1.8.0_91] at sun.nio.ch.Net.bind(Net.java:433) ~[na:1.8.0_91] at sun.nio.ch.Net.bind(Net.java:425) ~[na:1.8.0_91] at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223) ~[na:1.8.0_91] at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74) ~[na:1.8.0_91] at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:67) ~[na:1.8.0_91] at com.alibaba.rocketmq.store.ha.HAService$AcceptSocketService.beginAccept(HAService.java:189) ~[classes/:na] at com.alibaba.rocketmq.store.ha.HAService.start(HAService.java:120) [classes/:na] at com.alibaba.rocketmq.store.DefaultMessageStore.start(DefaultMessageStore.java:209) [classes/:na] at com.alibaba.rocketmq.store.DefaultMessageStoreTest.test_group_commit(DefaultMessageStoreTest.java:133) [test-classes/:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_91] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_91] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_91] at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_91] at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) [junit-4.11.jar:na] at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) [junit-4.11.jar:na] at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) [junit-4.11.jar:na]
Attachments
Issue Links
- Blocked
-
ROCKETMQ-2 Broker tests fail with "Address already in use"
- Closed
- relates to
-
ROCKETMQ-13 Wrong log level for AcceptSocketService termination
- Closed
- links to