Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-502

Exception in OM startup when running unit tests

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • None
    • 0.2.1
    • Ozone Manager
    • None

    Description

      The following exception is seen while starting OM via MiniOzoneCluster:

      2018-09-18 14:16:31,694 WARN  om.OzoneManager (LogAdapter.java:warn(59)) - failed to register any UNIX signal loggers: 
      java.lang.IllegalStateException: Can't re-install the signal handlers.
      	at org.apache.hadoop.util.SignalLogger.register(SignalLogger.java:77)
      	at org.apache.hadoop.util.StringUtils.startupShutdownMessage(StringUtils.java:718)
      	at org.apache.hadoop.util.StringUtils.startupShutdownMessage(StringUtils.java:707)
      	at org.apache.hadoop.ozone.om.OzoneManager.createOm(OzoneManager.java:311)
      	at org.apache.hadoop.ozone.MiniOzoneClusterImpl$Builder.createOM(MiniOzoneClusterImpl.java:423)
      	at org.apache.hadoop.ozone.MiniOzoneClusterImpl$Builder.build(MiniOzoneClusterImpl.java:352)
      	at org.apache.hadoop.ozone.web.client.TestKeys.init(TestKeys.java:143)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
      	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
      	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
      	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24)
      	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
      	at org.junit.internal.runners.statements.FailOnTimeout$StatementThread.run(FailOnTimeout.java:74)
      

      The exception is non-fatal so the tests eventually pass.

      Attachments

        1. HDDS-502.01.patch
          6 kB
          Arpit Agarwal

        Activity

          People

            arp Arpit Agarwal
            arp Arpit Agarwal
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: