Return-Path: X-Original-To: apmail-zookeeper-user-archive@www.apache.org Delivered-To: apmail-zookeeper-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id EA66618983 for ; Thu, 13 Aug 2015 17:31:37 +0000 (UTC) Received: (qmail 79372 invoked by uid 500); 13 Aug 2015 17:31:28 -0000 Delivered-To: apmail-zookeeper-user-archive@zookeeper.apache.org Received: (qmail 79314 invoked by uid 500); 13 Aug 2015 17:31:27 -0000 Mailing-List: contact user-help@zookeeper.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@zookeeper.apache.org Delivered-To: mailing list user@zookeeper.apache.org Received: (qmail 79293 invoked by uid 99); 13 Aug 2015 17:31:27 -0000 Received: from Unknown (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Aug 2015 17:31:27 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 346C8DD846 for ; Thu, 13 Aug 2015 17:31:27 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.879 X-Spam-Level: ** X-Spam-Status: No, score=2.879 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-us-east.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id bWbmxwxHQfx8 for ; Thu, 13 Aug 2015 17:31:23 +0000 (UTC) Received: from mail-la0-f49.google.com (mail-la0-f49.google.com [209.85.215.49]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with ESMTPS id A2C7542D0E for ; Thu, 13 Aug 2015 16:27:46 +0000 (UTC) Received: by lalv9 with SMTP id v9so29112694lal.0 for ; Thu, 13 Aug 2015 09:27:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=A3NniayRfuOsRPBv681btAgGnNGhboBLXIaiiEmAH3Q=; b=s4IA8JL2FHT7vmMHc/nlWY2MQ2ENAxeU6YVJ0TdEsqyhiQ8VsyHGscCQDtcIap4/vJ QuM4Za3j26auFiC5CiDRW6wocxJ/V5Zp96erlMrmQ9LSKkHMmg/C3tms9A/MJvGP4PyO /DJxtDrKnJJh2JBxr+fIB8PHLq/e+yTS+vr/9IJado+QuMZGsEEL4PcZbgZ+s0CIJ5Hl UTXrxFoN8lGooDKJUJMNSBtS1RCVq+JqSmx03iWn54v+evT0KnGqAOK8EMC07dCy0SHo cRfK2Crshmlh5t9DyE02wE9K4fN33ISB/Kc2jgb4vvjnBELADFGxek9Uc9E31/yVSWih NZtQ== MIME-Version: 1.0 X-Received: by 10.152.87.169 with SMTP id az9mr36815280lab.46.1439483259263; Thu, 13 Aug 2015 09:27:39 -0700 (PDT) Received: by 10.25.19.101 with HTTP; Thu, 13 Aug 2015 09:27:39 -0700 (PDT) Date: Thu, 13 Aug 2015 09:27:39 -0700 Message-ID: Subject: CRC check failed From: Benjamin Jaton To: user@zookeeper.apache.org Content-Type: multipart/alternative; boundary=001a11c240dc5421ff051d33d047 --001a11c240dc5421ff051d33d047 Content-Type: text/plain; charset=UTF-8 Hello, Does anybody know how those "CRC check failed" errors can occur? Apparently the data has been corrupted, what would be the most likely scenario for this to happen? java.io.IOException: CRC check failed at org.apache.zookeeper.server.persistence.FileTxnLog$FileTxnIterator.next(FileTxnLog.java:612) at org.apache.zookeeper.server.persistence.FileTxnSnapLog.restore(FileTxnSnapLog.java:157) at org.apache.zookeeper.server.ZKDatabase.loadDataBase(ZKDatabase.java:223) at org.apache.zookeeper.server.ZooKeeperServer.loadData(ZooKeeperServer.java:272) at org.apache.zookeeper.server.ZooKeeperServer.startdata(ZooKeeperServer.java:399) at org.apache.zookeeper.server.NIOServerCnxnFactory.startup(NIOServerCnxnFactory.java:122) at org.apache.zookeeper.server.ZooKeeperServerMain.runFromConfig(ZooKeeperServerMain.java:113) at org.apache.zookeeper.server.ZooKeeperServerMain.initializeAndRun(ZooKeeperServerMain.java:86) at org.apache.zookeeper.server.ZooKeeperServerMain.main(ZooKeeperServerMain.java:52) As a result my ZK can't be started, is it recoverable? Thanks, Ben ---------- Forwarded message ---------- From: Apache Jenkins Server Date: Sat, Apr 26, 2014 at 11:35 PM Subject: ZooKeeper_branch33_solaris - Build # 867 - Still Failing To: dev@zookeeper.apache.org See https://builds.apache.org/job/ZooKeeper_branch33_solaris/867/ ################################################################################### ########################## LAST 60 LINES OF THE CONSOLE ########################### [...truncated 301 lines...] [junit] java.io.IOException: CRC check failed [junit] at org.apache.zookeeper.server.persistence.FileTxnLog$FileTxnIterator.next(FileTxnLog.java:611) [junit] at org.apache.zookeeper.server.CRCTest.testChecksums(CRCTest.java:165) [junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [junit] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [junit] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [junit] at java.lang.reflect.Method.invoke(Method.java:597) [junit] at junit.framework.TestCase.runTest(TestCase.java:168) [junit] at junit.framework.TestCase.runBare(TestCase.java:134) [junit] at junit.framework.TestResult$1.protect(TestResult.java:110) [junit] at junit.framework.TestResult.runProtected(TestResult.java:128) [junit] at junit.framework.TestResult.run(TestResult.java:113) [junit] at junit.framework.TestCase.run(TestCase.java:124) [junit] at junit.framework.TestSuite.runTest(TestSuite.java:232) [junit] at junit.framework.TestSuite.run(TestSuite.java:227) [junit] at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83) [junit] at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:421) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:912) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:766) [junit] 2014-04-27 06:35:01,089 - INFO [main:CRCTest@68] - FINISHED testChecksums [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 54.234 sec [junit] java.io.FileNotFoundException: /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/ZooKeeper_branch33_solaris/trunk/junitvmwatcher1383325470.properties (No such file or directory) [junit] at java.io.FileInputStream.open(Native Method) [junit] at java.io.FileInputStream.(FileInputStream.java:120) [junit] at java.io.FileReader.(FileReader.java:55) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.executeAsForked(JUnitTask.java:1028) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.java:817) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.executeOrQueue(JUnitTask.java:1657) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.java:764) [junit] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288) [junit] at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source) [junit] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [junit] at java.lang.reflect.Method.invoke(Method.java:597) [junit] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105) [junit] at org.apache.tools.ant.Task.perform(Task.java:348) [junit] at org.apache.tools.ant.Target.execute(Target.java:357) [junit] at org.apache.tools.ant.Target.performTasks(Target.java:385) [junit] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329) [junit] at org.apache.tools.ant.Project.executeTarget(Project.java:1298) [junit] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) [junit] at org.apache.tools.ant.Project.executeTargets(Project.java:1181) [junit] at org.apache.tools.ant.Main.runBuild(Main.java:698) [junit] at org.apache.tools.ant.Main.startAnt(Main.java:199) [junit] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257) [junit] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104) [junit] Running org.apache.zookeeper.server.DataTreeUnitTest [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec BUILD FAILED /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/ZooKeeper_branch33_solaris/trunk/build.xml:814: Process fork failed. Total time: 2 minutes 54 seconds Build step 'Invoke Ant' marked build as failure [locks-and-latches] Releasing all the locks [locks-and-latches] All the locks released Recording test results Email was triggered for: Failure Sending email for trigger: Failure ################################################################################### ############################## FAILED TESTS (if any) ############################## 1 tests failed. FAILED: org.apache.zookeeper.server.DataTreeUnitTest.unknown Error Message: Forked Java VM exited abnormally. Please note the time in the report does not reflect the time until the VM exit. Stack Trace: junit.framework.AssertionFailedError: Forked Java VM exited abnormally. Please note the time in the report does not reflect the time until the VM exit. --001a11c240dc5421ff051d33d047--