Return-Path: X-Original-To: apmail-accumulo-user-archive@www.apache.org Delivered-To: apmail-accumulo-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 2F45A17EBB for ; Tue, 7 Oct 2014 02:26:03 +0000 (UTC) Received: (qmail 79750 invoked by uid 500); 7 Oct 2014 02:26:03 -0000 Delivered-To: apmail-accumulo-user-archive@accumulo.apache.org Received: (qmail 79691 invoked by uid 500); 7 Oct 2014 02:26:02 -0000 Mailing-List: contact user-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@accumulo.apache.org Delivered-To: mailing list user@accumulo.apache.org Received: (qmail 79682 invoked by uid 99); 7 Oct 2014 02:26:02 -0000 Received: from minotaur.apache.org (HELO minotaur.apache.org) (140.211.11.9) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Oct 2014 02:26:02 +0000 Received: from localhost (HELO mail-ie0-f178.google.com) (127.0.0.1) (smtp-auth username afuchs, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Oct 2014 02:26:02 +0000 Received: by mail-ie0-f178.google.com with SMTP id rl12so4589516iec.9 for ; Mon, 06 Oct 2014 19:26:01 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.51.17.66 with SMTP id gc2mr27727334igd.18.1412648761952; Mon, 06 Oct 2014 19:26:01 -0700 (PDT) Received: by 10.107.137.42 with HTTP; Mon, 6 Oct 2014 19:26:01 -0700 (PDT) Received: by 10.107.137.42 with HTTP; Mon, 6 Oct 2014 19:26:01 -0700 (PDT) In-Reply-To: References: Date: Mon, 6 Oct 2014 22:26:01 -0400 Message-ID: Subject: Re: Remotely Accumulo From: Adam Fuchs To: user@accumulo.apache.org Content-Type: multipart/alternative; boundary=001a1135f3a4a6114e0504cbebfd --001a1135f3a4a6114e0504cbebfd Content-Type: text/plain; charset=UTF-8 Accumulo tservers typically listen on a single interface. If you have a server with multiple interfaces (e.g. loopback and eth0), you might have a problem in which the tablet servers are not listening on externally reachable interfaces. Tablet servers will list the interfaces that they are listening to when they boot, and you can also use tools like lsof to find them. If that is indeed the problem, then you might just need to change you conf/slaves file to use instead of localhost, and then restart. Adam On Oct 6, 2014 4:27 PM, "Geoffry Roberts" wrote: > > I have been happily working with Acc, but today things changed. No errors > > Until now I ran everything server side, which meant the URL was > localhost:2181, and life was good. Today tried running some of the same > code as a remote client, which means :2181. Things hang when > BatchWriter tries to commit anything and Scan hangs when it tries to > iterate through a Map. > > Let's focus on the scan part: > > scan.fetchColumnFamily(new Text("colfY")); // This executes then hangs. > for(Entry entry : scan) { > def row = entry.getKey().getRow(); > def value = entry.getValue(); > println "value=" + value; > } > > This is what appears in the console : > > 17:22:39.802 C{0} M DEBUG org.apache.zookeeper.ClientCnxn - Got ping > response for sessionid: 0x148c6f03388005e after 21ms > > 17:22:49.803 C{0} M DEBUG org.apache.zookeeper.ClientCnxn - Got ping > response for sessionid: 0x148c6f03388005e after 21ms > > > > > The only difference between success and a hang is a URL change, and of > course being remote. > > I don't believe this is a firewall issue. I shutdown the firewall. > > Am I missing something? > > Thanks all. > > -- > There are ways and there are ways, > > Geoffry Roberts > --001a1135f3a4a6114e0504cbebfd Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

Accumulo tservers typically listen on a single interface. If= you have a server with multiple interfaces (e.g. loopback and eth0), you m= ight have a problem in which the tablet servers are not listening on extern= ally reachable interfaces. Tablet servers will list the interfaces that the= y are listening to when they boot, and you can also use tools like lsof to = find them.

If that is indeed the problem, then you might just need to c= hange you conf/slaves file to use <hostname> instead of localhost, an= d then restart.

Adam

--001a1135f3a4a6114e0504cbebfd--