You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bookkeeper.apache.org by "Sijie Guo (JIRA)" <ji...@apache.org> on 2017/06/22 00:24:00 UTC

[jira] [Commented] (BOOKKEEPER-981) NullPointerException in RackawareEnsemblePlacementPolicy while running in Docker Container

    [ https://issues.apache.org/jira/browse/BOOKKEEPER-981?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16058508#comment-16058508 ] 

Sijie Guo commented on BOOKKEEPER-981:
--------------------------------------

[~zhaijia] [~eolivelli] is there anything that we should do at this jira?

> NullPointerException in RackawareEnsemblePlacementPolicy while running in Docker Container
> ------------------------------------------------------------------------------------------
>
>                 Key: BOOKKEEPER-981
>                 URL: https://issues.apache.org/jira/browse/BOOKKEEPER-981
>             Project: Bookkeeper
>          Issue Type: Bug
>          Components: bookkeeper-client
>    Affects Versions: 4.4.0
>            Reporter: Enrico Olivelli
>            Assignee: Enrico Olivelli
>            Priority: Blocker
>             Fix For: 4.5.0
>
>
> I'm playing with Docker and BookKeeper, I got into this error when running inside a container. 
> {code}
> 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)
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)