Uploaded image for project: 'Bookkeeper'
  1. Bookkeeper
  2. BOOKKEEPER-981

NullPointerException in RackawareEnsemblePlacementPolicy while running in Docker Container

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Won't Fix
    • 4.4.0
    • 4.5.0
    • bookkeeper-client
    • None

    Description

      I'm playing with Docker and BookKeeper, I got into this error when running inside a container.

      SEVERE: Caught unexpected throwable
      java.lang.NullPointerException
      	at org.apache.bookkeeper.client.RackawareEnsemblePlacementPolicy.resolveNetworkLocation(RackawareEnsemblePlacementPolicy.java:343)
      	at org.apache.bookkeeper.client.RackawareEnsemblePlacementPolicy.createBookieNode(RackawareEnsemblePlacementPolicy.java:306)
      	at org.apache.bookkeeper.client.RackawareEnsemblePlacementPolicy.onClusterChanged(RackawareEnsemblePlacementPolicy.java:390)
      	at org.apache.bookkeeper.client.BookieWatcher.processResult(BookieWatcher.java:185)
      	at org.apache.bookkeeper.client.BookieWatcher$4.processResult(BookieWatcher.java:233)
      	at org.apache.zookeeper.ClientCnxn$EventThread.processEvent(ClientCnxn.java:589)
      	at org.apache.zookeeper.ClientCnxn$EventThread.run(ClientCnxn.java:505)
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              eolivelli Enrico Olivelli
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: