Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 39B352009C5 for ; Mon, 16 May 2016 16:02:31 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 386A8160A16; Mon, 16 May 2016 14:02:31 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 8081F160131 for ; Mon, 16 May 2016 16:02:30 +0200 (CEST) Received: (qmail 28818 invoked by uid 500); 16 May 2016 14:02:29 -0000 Mailing-List: contact dev-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@accumulo.apache.org Delivered-To: mailing list dev@accumulo.apache.org Received: (qmail 28806 invoked by uid 99); 16 May 2016 14:02:29 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 May 2016 14:02:29 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id F09FEC05AD for ; Mon, 16 May 2016 14:02:28 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.802 X-Spam-Level: X-Spam-Status: No, score=-0.802 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx2-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id iyCW5fnw2f1w for ; Mon, 16 May 2016 14:02:28 +0000 (UTC) Received: from mail-pf0-f169.google.com (mail-pf0-f169.google.com [209.85.192.169]) by mx2-lw-us.apache.org (ASF Mail Server at mx2-lw-us.apache.org) with ESMTPS id F2A035F24C for ; Mon, 16 May 2016 14:02:27 +0000 (UTC) Received: by mail-pf0-f169.google.com with SMTP id y69so67464441pfb.1 for ; Mon, 16 May 2016 07:02:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-transfer-encoding; bh=XQaJalKY3dIKdU45qMmK3zlDUF/P3dbKjzxsC1Ith34=; b=xwdFyZh1TgPvzZL4jyYlrRKj+WbZV13XPIXYIY+gZHKPo3YcM6Po0Ipac2dtX73mAB ZbabT0fxtlNuKhhWqCOmZ0mfmP/FNsu2ylPV5wlEQKBPPpO+IA0LTCzaWO1Gg2Lk8VHN Jp6csarUpvI92CqJPwObioD+KIhpRFVZsTlbVPEeX69BQXHaYjMr9Q9mieXq+549Rlth o/5zu3PXsti7ZH0DsCR6rfaQdGwCwbR3S7fvF9qFxoVAZff6UPMBfeuYVRKLSf291eYd 2ZHTuXcf+M79ORGhM4R/e85Zb8f1nnHGEzVylBZ6HnEdFklVY2E8yE4q9/imNoc4DO3W E9hA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:content-transfer-encoding; bh=XQaJalKY3dIKdU45qMmK3zlDUF/P3dbKjzxsC1Ith34=; b=P39oQqv8Q7B/Z0JOS5p9jKi2eH3laQHnr8jNmeSJmrOlC/t5S07s/oVAusD/U7+TKF a8nWINhiangyFbfsAiy1/Xk6/HYaU2AvUyzJeypBWeBkImkXCTtK2oeJUPdJ9LQ0KZI5 VpQ155wIwddV7N/Umg+IswyiaNlp9DSdClB+nKmFpwFjOp/5ZlNYzC8MMbOO/D02sUKi f9Z3slx6SaJ4AJt7+jFPvxz3LMKGJjwjwZHg/ly6VdcVS5xICgeCqSOTwekCFELy6ct0 EjzI7lI1ruEx6QWbk16QgiH4Snv0i4w/28CHRwy3VNZ/t6cJCR5olqCal3OYw4smP0QH YaNQ== X-Gm-Message-State: AOPr4FUAdGnUcsneF5tfLqZ2wdAmiAd5bAxBclNeytOPD7ywfdNayUd/egrvLSf2mGGx0g== X-Received: by 10.98.53.65 with SMTP id c62mr45744444pfa.47.1463407340757; Mon, 16 May 2016 07:02:20 -0700 (PDT) Received: from hw10447.local (207.155.208.210.ptr.us.xo.net. [207.155.208.210]) by smtp.googlemail.com with ESMTPSA id 7sm47693835pfe.88.2016.05.16.07.02.19 for (version=TLSv1/SSLv3 cipher=OTHER); Mon, 16 May 2016 07:02:19 -0700 (PDT) Message-ID: <5739D2EF.8040504@gmail.com> Date: Mon, 16 May 2016 10:02:23 -0400 From: Josh Elser User-Agent: Postbox 3.0.11 (Macintosh/20140602) MIME-Version: 1.0 To: dev@accumulo.apache.org Subject: Re: Accumulo not initializing References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit archived-at: Mon, 16 May 2016 14:02:31 -0000 Adina Crainiceanu wrote: > Amila, > > > 2 ideas: > > 1) Are you sure that Zookeeper started successfully? Maybe it did not. Make > sure the permissions on that local dir you used for dirData are correct. > > Try the > sudo echo ruok | nc 127.0.0.1 2181 > > if you don;t get imok back, start Zookeeper > >> >> Thread "org.apache.accumulo.master.state.SetGoalState" died Failed to >> connect to zookeeper (localhost:2181) within 2x zookeeper timeout period >> 30000 >> >> java.lang.RuntimeException: Failed to connect to zookeeper (localhost:2181) >> within 2x zookeeper timeout period 30000 >> >> at org.apache.accumulo.fate.zookeeper.ZooSession.connect(ZooSession.java:123) >> at org.apache.accumulo.fate.zookeeper.ZooSession.getSession(ZooSession.java:167) >> at org.apache.accumulo.fate.zookeeper.ZooReader.getSession(ZooReader.java:39) >> at org.apache.accumulo.fate.zookeeper.ZooReaderWriter.getZooKeeper(ZooReaderWriter.java:50) >> at org.apache.accumulo.fate.zookeeper.ZooReader.getChildren(ZooReader.java:128) >> at org.apache.accumulo.server.Accumulo.waitForZookeeperAndHdfs(Accumulo.java:269) >> at org.apache.accumulo.master.state.SetGoalState.main(SetGoalState.java:46) >> Did you try Adina's recommendation? If you're running it inside of constrained VM, it's possible that you just don't have enough resources to run it (although, I don't think that's extremely likely). Essentially, ZooKeeper didn't respond in 60s -- which is likely it's not reachable by the address you gave it. Have you properly configured your /etc/hosts file for your system? >> >> WARN : Max open files on localhost is 1024, recommend 32768 Don't ignore this, btw! :)