Return-Path: X-Original-To: apmail-accumulo-dev-archive@www.apache.org Delivered-To: apmail-accumulo-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 3C5CB1956D for ; Thu, 21 Apr 2016 18:17:24 +0000 (UTC) Received: (qmail 67742 invoked by uid 500); 21 Apr 2016 18:17:24 -0000 Delivered-To: apmail-accumulo-dev-archive@accumulo.apache.org Received: (qmail 67693 invoked by uid 500); 21 Apr 2016 18:17:24 -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 67681 invoked by uid 99); 21 Apr 2016 18:17:23 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Apr 2016 18:17:23 +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 4F567C24D2 for ; Thu, 21 Apr 2016 18:17:23 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.198 X-Spam-Level: * X-Spam-Status: No, score=1.198 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, 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 mx2-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id ltG2gRzMVcQ6 for ; Thu, 21 Apr 2016 18:17:21 +0000 (UTC) Received: from mail-io0-f169.google.com (mail-io0-f169.google.com [209.85.223.169]) by mx2-lw-us.apache.org (ASF Mail Server at mx2-lw-us.apache.org) with ESMTPS id DBF6A5F1EB for ; Thu, 21 Apr 2016 18:17:20 +0000 (UTC) Received: by mail-io0-f169.google.com with SMTP id f89so74608302ioi.0 for ; Thu, 21 Apr 2016 11:17:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to; bh=J1JSEQex90zt2k3y8QHF6lBm133Gm1CLZ4tG4BTK6p0=; b=r10DZ4Gqgjbt6cMmyka/GLLn1+q3m+3uH0XRz8ohnWKa6O8rzHLRF+M21r3WdyH6ms THxH9BKtD7S8zAWNW3KV3ururh7O+EmwrexzpBaeR3YRyYrxz18wulc4pD2bLhea8h1S MiBeGHwmc+9qeapEEGRHNwPHCtIIungC7LX0QGXOcTulhsRTk7n+L0TR83giEhxZ+GM/ bCsoDuqzYz/yp0kNh1JZ92K4mWfVAs4dXI9JGVQDzsWa2eqhz64njOodr5nBl8ro96Ip j9TO++hS6m7kscJXNY0xAukd/7dfKDIefXh5V6Ar27iNHmQ0S1vaGsvc7C4Ru9zB0Orz YAfw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to; bh=J1JSEQex90zt2k3y8QHF6lBm133Gm1CLZ4tG4BTK6p0=; b=iUyY8AMBF2YldsR2L8y+B0k4jfeud6SF+nA8q4JGBeDfv7bs0UkhZdG55/R3CR+uFD QgYY4IfBJde4nr+7yUzq2e7vh2i6QJRkdQPt4Qhu9MxX0JxhCzXLzB9+DSKntgWscqZa MrGJuUB39rhf2+3uZ1tLQSmICBTlYN3bQ7uBCxy+VmFROYtZAUOJNOTeujkugPb/BUNv p7GVTSPivLz6fPH63hF8pa9xpPw3PdKh+uYxBdLbjft/zgQGBRe9KJeZQOSc4FNvGWOz uMbZp+DTLAaIx6e3B2X1OfkBfAfjm6n4rCHeb8+qjWVGLiUsp7H5KwJvWVgCoLSf/0ws T4Ag== X-Gm-Message-State: AOPr4FUYY70A+35qIll0RjHEWed/24cO4gyC1dTEBi53QRQ4EFjXcx8Gd5Tsf7uXxJHJ1RNMXzxVrkydAh0yLg== MIME-Version: 1.0 X-Received: by 10.107.15.141 with SMTP id 13mr18322705iop.193.1461262640096; Thu, 21 Apr 2016 11:17:20 -0700 (PDT) Received: by 10.79.77.134 with HTTP; Thu, 21 Apr 2016 11:17:20 -0700 (PDT) In-Reply-To: References: Date: Thu, 21 Apr 2016 23:47:20 +0530 Message-ID: Subject: Re: Accumulo not initializing From: Amila Wijayarathna To: dev@accumulo.apache.org Content-Type: multipart/alternative; boundary=001a113e9000962dd9053102b8b4 --001a113e9000962dd9053102b8b4 Content-Type: text/plain; charset=UTF-8 Hi Christoper, Thank you for your prompt reply. I successfully re-corrected that warning messages from your guidelines and still working on that initializing problem.Any further ideas about that are thoroughly appreciated. Thank you! On Tue, Apr 19, 2016 at 11:06 PM, Christopher wrote: > The warning about the ZooKeeper version is probably due to a trailing slash > at the end of your environment variable for ZOOKEEPER_HOME. > > The max open files warning is regarding what is being discussed here: > > http://askubuntu.com/questions/162229/how-do-i-increase-the-open-files-limit-for-a-non-root-user > (this > is just the first link I found that covered the topic... but there might be > better discussions of system security limits and ulimit elsewhere) > > The synconclose warning can be addressed by setting the recommended value > to true in your hadoop configuration (hdfs-site.xml) > > As for the initialization problem, it sounds like you're trying to > re-initialize Accumulo in the same location that it was previously > initialized. You only need to do initialization once, but you do need to > make sure that wherever Hadoop and ZooKeeper are storing their data in the > local filesystem, that they aren't in a temporary directory or something > like that. > > If you actually do wish to re-initialize Accumulo, you can delete the > previous contents of Hadoop's /accumulo directory first (make sure you want > to do this... existing data will be deleted), using something like `hadoop > fs -rmr /accumulo` (exact command may depend on your version of Hadoop). > > On Tue, Apr 19, 2016 at 1:10 PM Amila Wijayarathna < > amwijayarathna@gmail.com> > wrote: > > > Hi all, > > > > I'm trying to work with RYA in my Ubuntu laptop. And it needs Hadoop, > > Zookeeper and Accumulo servers As prerequisites. > > > > After a shutdown, I need to restart hadoop, zookeeper and accumulo. When > I > > do, Hadoop and Zookeeper servers are starting successfully but when I > start > > Accumulo I get the following, > > > > WARN : Using Zookeeper > > /home/amila/Installs/zookeeper-3.4.8/zookeeper-3.4.8. Use version 3.3.0 > or > > greater to avoid zookeeper deadlock bug. > > > > Starting monitor on localhost > > > > WARN : Max open files on localhost is 1024, recommend 32768 > > > > Starting tablet servers .... done > > > > 2016-04-19 17:40:43,303 [fs.VolumeManagerImpl] WARN : > > dfs.datanode.synconclose set to false in hdfs-site.xml: data loss is > > possible on hard system reset or power loss > > > > 2016-04-19 17:40:43,308 [server.Accumulo] INFO : Attempting to talk to > > zookeeper > > > > 2016-04-19 17:40:43,522 [server.Accumulo] INFO : Waiting for accumulo to > be > > initialized > > > > 2016-04-19 17:40:44,534 [server.Accumulo] INFO : Waiting for accumulo to > be > > initialized > > > > 2016-04-19 17:40:45,536 [server.Accumulo] INFO : Waiting for accumulo to > be > > initialized > > > > 2016-04-19 17:40:46,538 [server.Accumulo] INFO : Waiting for accumulo to > be > > initialized > > > > 2016-04-19 17:40:47,541 [server.Accumulo] INFO : Waiting for accumulo to > be > > initialized > > > > 2016-04-19 17:40:48,543 [server.Accumulo] INFO : Waiting for accumulo to > be > > initialized > > > > 2016-04-19 17:40:49,545 [server.Accumulo] INFO : Waiting for accumulo to > be > > initialized > > > > 2016-04-19 17:40:50,547 [server.Accumulo] INFO : Waiting for accumulo to > be > > initialized > > > > 2016-04-19 17:40:51,549 [server.Accumulo] INFO : Waiting for accumulo to > be > > initialized > > > > 2016-04-19 17:40:52,550 [server.Accumulo] INFO : Waiting for accumulo to > be > > initialized > > > > Starting tablet server on localhost > > > > WARN : Max open files on localhost is 1024, recommend 32768 > > > > 2016-04-19 17:40:53,551 [server.Accumulo] INFO : Waiting for accumulo to > be > > initialized > > > > 2016-04-19 17:40:54,552 [server.Accumulo] INFO : Waiting for accumulo to > be > > initialized > > > > 2016-04-19 17:40:55,554 [server.Accumulo] INFO : Waiting for accumulo to > be > > initialized > > > > 2016-04-19 17:40:56,555 [server.Accumulo] INFO : Waiting for accumulo to > be > > initialized > > > > 2016-04-19 17:40:57,556 [server.Accumulo] INFO : Waiting for accumulo to > be > > initialized > > > > 2016-04-19 17:40:58,558 [server.Accumulo] INFO : Waiting for accumulo to > be > > initialized > > > > 2016-04-19 17:40:59,559 [server.Accumulo] INFO : Waiting for accumulo to > be > > initialized > > > > 2016-04-19 17:41:00,561 [server.Accumulo] INFO : Waiting for accumulo to > be > > initialized > > > > Then I tried to initialize Accumulo and I got following, > > > > 2016-04-19 16:56:06,984 [fs.VolumeManagerImpl] WARN : > > dfs.datanode.synconclose set to false in hdfs-site.xml: data loss is > > possible on hard system reset or power loss > > > > 2016-04-19 16:56:06,985 [init.Initialize] INFO : Hadoop Filesystem is > > hdfs://localhost:9000 > > > > 2016-04-19 16:56:06,986 [init.Initialize] INFO : Accumulo data dirs are > > [hdfs://localhost:9000/accumulo] > > > > 2016-04-19 16:56:06,986 [init.Initialize] INFO : Zookeeper server is > > localhost:2181 > > > > 2016-04-19 16:56:06,986 [init.Initialize] INFO : Checking if Zookeeper is > > available. If this hangs, then you need to make sure zookeeper is running > > > > 2016-04-19 16:56:07,250 [init.Initialize] FATAL: It appears the > directories > > [hdfs://localhost:9000/accumulo] were previously initialized. > > > > 2016-04-19 16:56:07,250 [init.Initialize] FATAL: Change the property > > instance.volumes to use different filesystems, > > > > 2016-04-19 16:56:07,250 [init.Initialize] FATAL: or change the property > > instance.dfs.dir to use a different directory. > > > > 2016-04-19 16:56:07,250 [init.Initialize] FATAL: The current value of > > instance.dfs.uri is || > > > > 2016-04-19 16:56:07,250 [init.Initialize] FATAL: The current value of > > instance.dfs.dir is |/accumulo| > > > > 2016-04-19 16:56:07,250 [init.Initialize] FATAL: The current value of > > instance.volumes is |hdfs://localhost:9000/accumulo| > > > > > > Can anyone point me how to do this correctly? > > > > Thank you! > > > > > > -- > > > > *Amila Wijayarathna* > > Undergraduate, > > Faculty of Information Technology, > > University of Moratuwa, > > Sri Lanka. > > > -- *Amila Wijayarathna* Undergraduate, Faculty of Information Technology, University of Moratuwa, Sri Lanka. --001a113e9000962dd9053102b8b4--