Uploaded image for project: 'Apache RocketMQ'
  1. Apache RocketMQ
  2. ROCKETMQ-9

Errors in rocketmq-store module

    XMLWordPrintableJSON

Details

    • Test
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.0.0-incubating
    • 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

          Activity

            People

              shroman Roman Shtykh
              njiang Willem Jiang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: