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

Exception in OM startup when running unit tests

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.2.1
    • Component/s: Ozone Manager
    • Labels:
      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

          Activity

            People

            • Assignee:
              arp Arpit Agarwal
              Reporter:
              arp Arpit Agarwal

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment