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

NullPointerException in RackawareEnsemblePlacementPolicy while running in Docker Container

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Won't Fix
    • Affects Version/s: 4.4.0
    • Fix Version/s: 4.5.0
    • Component/s: bookkeeper-client
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: