Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-22125

Druid process fails to start with OOME on small machines with default ambari configs

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

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • None
    • trunk, 2.6.0
    • None
    • None

    Description

      Druid fails to start with ambari default configs when all the druid processes are allocated on a single node.

      stack trace -

       
      Caused by: java.lang.OutOfMemoryError
              at sun.misc.Unsafe.allocateMemory(Native Method)
              at java.nio.DirectByteBuffer.<init>(DirectByteBuffer.java:127)
              at java.nio.ByteBuffer.allocateDirect(ByteBuffer.java:311)
              at io.druid.offheap.OffheapBufferGenerator.get(OffheapBufferGenerator.java:53)
              at io.druid.offheap.OffheapBufferGenerator.get(OffheapBufferGenerator.java:29)
              at io.druid.collections.DefaultBlockingPool.<init>(DefaultBlockingPool.java:58)
              at io.druid.guice.DruidProcessingModule.getMergeBufferPool(DruidProcessingModule.java:126)
              at io.druid.guice.DruidProcessingModule$$FastClassByGuice$$8e266e5c.invoke(<generated>)
              at com.google.inject.internal.ProviderMethod$FastClassProviderMethod.doProvision(ProviderMethod.java:264)
              at com.google.inject.internal.ProviderMethod$Factory.provision(ProviderMethod.java:401)
              at com.google.inject.internal.ProviderMethod$Factory.get(ProviderMethod.java:376)
              at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
      

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            nishantbangarwa Nishant Bangarwa
            nishantbangarwa Nishant Bangarwa
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment