[
https://issues.apache.org/jira/browse/BOOKKEEPER-211?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13250440#comment-13250440
]
Hudson commented on BOOKKEEPER-211:
-----------------------------------
Integrated in bookkeeper-trunk #451 (See
[https://builds.apache.org/job/bookkeeper-trunk/451/])
BOOKKEEPER-211: Bookie fails to to start (sijie) (Revision 1311564)
Result = SUCCESS
sijie :
Files :
* /zookeeper/bookkeeper/trunk/CHANGES.txt
*
/zookeeper/bookkeeper/trunk/bookkeeper-server/src/main/java/org/apache/bookkeeper/bookie/Bookie.java
*
/zookeeper/bookkeeper/trunk/bookkeeper-server/src/test/java/org/apache/bookkeeper/bookie/CookieTest.java
> Bookie fails to to start
> ------------------------
>
> Key: BOOKKEEPER-211
> URL: https://issues.apache.org/jira/browse/BOOKKEEPER-211
> Project: Bookkeeper
> Issue Type: Bug
> Reporter: Flavio Junqueira
> Priority: Blocker
> Fix For: 4.1.0
>
> Attachments: BK-211.diff
>
>
> A number of times when I start a bookie with a clean state, it fails to start
> and I get the following exceptions:
> {noformat}
> 2012-04-06 10:54:42,201 - ERROR [main:Bookie@348] - Error accessing cookie on
> disks
> java.io.FileNotFoundException: *path*/current/VERSION (No such file or
> directory)
> at java.io.FileOutputStream.open(Native Method)
> at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
> at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
> at
> org.apache.bookkeeper.bookie.Cookie.writeToDirectory(Cookie.java:114)
> at
> org.apache.bookkeeper.bookie.Bookie.checkEnvironment(Bookie.java:337)
> at org.apache.bookkeeper.bookie.Bookie.<init>(Bookie.java:401)
> at
> org.apache.bookkeeper.proto.BookieServer.<init>(BookieServer.java:75)
> at
> org.apache.bookkeeper.proto.BookieServer.main(BookieServer.java:294)
> 2012-04-06 10:54:42,203 - ERROR [main:BookieServer@308] - Exception running
> bookie server :
> org.apache.bookkeeper.bookie.BookieException$InvalidCookieException:
> java.io.FileNotFoundException: *path*/current/VERSION (No such file or
> directory)
> at
> org.apache.bookkeeper.bookie.Bookie.checkEnvironment(Bookie.java:349)
> at org.apache.bookkeeper.bookie.Bookie.<init>(Bookie.java:401)
> at
> org.apache.bookkeeper.proto.BookieServer.<init>(BookieServer.java:75)
> at
> org.apache.bookkeeper.proto.BookieServer.main(BookieServer.java:294)
> Caused by: java.io.FileNotFoundException: *path*/current/VERSION (No such
> file or directory)
> at java.io.FileOutputStream.open(Native Method)
> at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
> at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
> at
> org.apache.bookkeeper.bookie.Cookie.writeToDirectory(Cookie.java:114)
> at
> org.apache.bookkeeper.bookie.Bookie.checkEnvironment(Bookie.java:337)
> {noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira