Return-Path: X-Original-To: apmail-zookeeper-bookkeeper-dev-archive@minotaur.apache.org Delivered-To: apmail-zookeeper-bookkeeper-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8109C9076 for ; Fri, 6 Apr 2012 11:45:47 +0000 (UTC) Received: (qmail 33295 invoked by uid 500); 6 Apr 2012 11:45:47 -0000 Delivered-To: apmail-zookeeper-bookkeeper-dev-archive@zookeeper.apache.org Received: (qmail 33237 invoked by uid 500); 6 Apr 2012 11:45:47 -0000 Mailing-List: contact bookkeeper-dev-help@zookeeper.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: bookkeeper-dev@zookeeper.apache.org Delivered-To: mailing list bookkeeper-dev@zookeeper.apache.org Received: (qmail 33225 invoked by uid 99); 6 Apr 2012 11:45:46 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Apr 2012 11:45:46 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Apr 2012 11:45:44 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 47E0D35C5BF for ; Fri, 6 Apr 2012 11:45:23 +0000 (UTC) Date: Fri, 6 Apr 2012 11:45:23 +0000 (UTC) From: "Flavio Junqueira (Created) (JIRA)" To: bookkeeper-dev@zookeeper.apache.org Message-ID: <1532314865.22879.1333712723303.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Created] (BOOKKEEPER-211) Bookie fails to to start MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 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 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: /home/fpj/bk/current/VERSION (No such file or directory) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.(FileOutputStream.java:179) at java.io.FileOutputStream.(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.(Bookie.java:401) at org.apache.bookkeeper.proto.BookieServer.(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.(Bookie.java:401) at org.apache.bookkeeper.proto.BookieServer.(BookieServer.java:75) at org.apache.bookkeeper.proto.BookieServer.main(BookieServer.java:294) Caused by: java.io.FileNotFoundException: /home/fpj/bk/current/VERSION (No such file or directory) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.(FileOutputStream.java:179) at java.io.FileOutputStream.(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