From dev-return-2563-apmail-calcite-dev-archive=calcite.apache.org@calcite.apache.org Tue Feb 23 18:50:56 2016 Return-Path: X-Original-To: apmail-calcite-dev-archive@www.apache.org Delivered-To: apmail-calcite-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9A093184C8 for ; Tue, 23 Feb 2016 18:50:56 +0000 (UTC) Received: (qmail 70673 invoked by uid 500); 23 Feb 2016 18:50:34 -0000 Delivered-To: apmail-calcite-dev-archive@calcite.apache.org Received: (qmail 70603 invoked by uid 500); 23 Feb 2016 18:50:34 -0000 Mailing-List: contact dev-help@calcite.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@calcite.apache.org Delivered-To: mailing list dev@calcite.apache.org Received: (qmail 70591 invoked by uid 99); 23 Feb 2016 18:50:34 -0000 Received: from mail-relay.apache.org (HELO mail-relay.apache.org) (140.211.11.15) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Feb 2016 18:50:34 +0000 Received: from mail-wm0-f53.google.com (mail-wm0-f53.google.com [74.125.82.53]) by mail-relay.apache.org (ASF Mail Server at mail-relay.apache.org) with ESMTPSA id CF1E31A04DE for ; Tue, 23 Feb 2016 18:50:33 +0000 (UTC) Received: by mail-wm0-f53.google.com with SMTP id a4so222725361wme.1 for ; Tue, 23 Feb 2016 10:50:33 -0800 (PST) X-Gm-Message-State: AG10YOTq2RIMXIU2fkqwujq13/OqC1Q0w5IH/5ObDxiQxGIyNXftkKEnlkGk6yTmliB8reLKfXs7C6b1cEZKAQ== MIME-Version: 1.0 X-Received: by 10.28.61.70 with SMTP id k67mr20437054wma.90.1456253432484; Tue, 23 Feb 2016 10:50:32 -0800 (PST) Received: by 10.194.24.169 with HTTP; Tue, 23 Feb 2016 10:50:32 -0800 (PST) Date: Tue, 23 Feb 2016 10:50:32 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Cassandra dying in VM From: Julian Hyde To: dev@calcite.apache.org Content-Type: text/plain; charset=UTF-8 I'm using the latest https://github.com/vlsi/calcite-test-dataset. It seems that Cassandra runs for a day or so (I can run Calcite's full suite, including integration tests), then Cassandra dies (the 4 CassandraAdapterIT tests fail). When I log into the VM, Cassandra is not available: $ calcite-test-dataset/vm/ $ vagrant ssh Welcome to Ubuntu 14.04.2 LTS (GNU/Linux 3.16.0-30-generic x86_64) * Documentation: https://help.ubuntu.com/ Last login: Fri Feb 19 12:33:59 2016 from 10.0.2.2 vagrant$ cqlsh -k twissandra `hostname -I` Connection error: ('Unable to connect to any servers', {'10.0.2.15': error(111, "Tried connecting to [('10.0.2.15', 9042)]. Last error: Connection refused")}) Restarting the service doesn't help: vagrant$ sudo service cassandra restart * Restarting Cassandra cassandra [OK] start-stop-daemon: warning: failed to kill 11109: No such process vagrant$ sudo service cassandra restart * Restarting Cassandra cassandra [ OK ] vagrant$ cqlsh -k twissandra `hostname -I` Connection error: ('Unable to connect to any servers', {'10.0.2.15': error(111, "Tried connecting to [('10.0.2.15', 9042)]. Last error: Connection refused")}) Restarting the VM solves the problem. Is anyone else seeing this? Any ideas how to fix Cassandra so that it stays up? Julian