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

Francesco Caliumi commented on BOOKKEEPER-974:
----------------------------------------------

I have a problem: docker containers are ephemeral while volume data persists 
with the device of your choice. Every docker execution is a different container 
(a container should be merely a process, in the docker way of thinking) that 
run on same data.

When you stop the fist container that generated data and run another one on 
this data, this check fails:
{code}
2016-12-30 23:06:35,789 - ERROR - [main:BookieServer@403] - Exception running 
bookie server : 
org.apache.bookkeeper.bookie.BookieException$InvalidCookieException: Cookie [4
bookieHost: "8b5c5ea2b4ea:3181"
journalDir: "/data/journal"
ledgerDirs: "1\t/data/ledger"
instanceId: "23eaa442-8c05-4831-9ca5-b6b02435b8d5"
] is not matching with [4
bookieHost: "cc758a778766:3181"
journalDir: "/data/journal"
ledgerDirs: "1\t/data/ledger"
instanceId: "8e13e0dc-356c-4d02-8d72-a737ac61e85c"
]
        at org.apache.bookkeeper.bookie.Cookie.verify(Cookie.java:97)
        at org.apache.bookkeeper.bookie.Bookie.checkEnvironment(Bookie.java:363)
        at org.apache.bookkeeper.bookie.Bookie.<init>(Bookie.java:494)
        at 
org.apache.bookkeeper.proto.BookieServer.newBookie(BookieServer.java:110)
        at org.apache.bookkeeper.proto.BookieServer.<init>(BookieServer.java:96)
        at org.apache.bookkeeper.proto.BookieServer.main(BookieServer.java:386)
{code} 

My question: is there a way to disable it or fix the situation in the following 
runs?

> make pushing a docker image as part of the release procedure
> ------------------------------------------------------------
>
>                 Key: BOOKKEEPER-974
>                 URL: https://issues.apache.org/jira/browse/BOOKKEEPER-974
>             Project: Bookkeeper
>          Issue Type: Improvement
>            Reporter: Jia Zhai
>
> make pushing a docker image as part of the release procedure.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to