Return-Path: X-Original-To: apmail-hbase-user-archive@www.apache.org Delivered-To: apmail-hbase-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 E5F6A7E08 for ; Sun, 2 Oct 2011 18:17:57 +0000 (UTC) Received: (qmail 44409 invoked by uid 500); 2 Oct 2011 18:17:56 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 44367 invoked by uid 500); 2 Oct 2011 18:17:56 -0000 Mailing-List: contact user-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hbase.apache.org Delivered-To: mailing list user@hbase.apache.org Received: (qmail 44358 invoked by uid 99); 2 Oct 2011 18:17:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Oct 2011 18:17:56 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of static.void.dev@gmail.com designates 209.85.210.169 as permitted sender) Received: from [209.85.210.169] (HELO mail-iy0-f169.google.com) (209.85.210.169) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Oct 2011 18:17:50 +0000 Received: by iaen33 with SMTP id n33so6314581iae.14 for ; Sun, 02 Oct 2011 11:17:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=rfirBl+hcp1f0TserbDeuO/yw9tn8pbZEk0hWXfAAOU=; b=Rp9+uFLPxMg/Khzc+8rxIEm7hJ7Po3JTC7WkkhzN08/3UPNhJo/0KpT3GEnfMhFgbI PODi0Sy6X9xKXMyMxosM/NtbCKsppO0kN2dDvBHAdGcWumqZYQDexidM6GKk9stK8m6M tSOmi+eV/qhUOXHH+qP4ndnnbBkYxyjIv6v6s= Received: by 10.68.34.69 with SMTP id x5mr15556384pbi.92.1317579449687; Sun, 02 Oct 2011 11:17:29 -0700 (PDT) Received: from Robs-MacBook-Pro.local (c-76-103-169-217.hsd1.ca.comcast.net. [76.103.169.217]) by mx.google.com with ESMTPS id h5sm44692881pbf.4.2011.10.02.11.17.27 (version=SSLv3 cipher=OTHER); Sun, 02 Oct 2011 11:17:29 -0700 (PDT) Message-ID: <4E88AAB4.1040504@gmail.com> Date: Sun, 02 Oct 2011 11:17:24 -0700 From: Mark User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1 MIME-Version: 1.0 To: user@hbase.apache.org Subject: Re: HBase Hush Application References: <4E889D1B.1000806@gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit Just the good ol default hosts file ## # Host Database # # localhost is used to configure the loopback interface # when the system is booting. Do not change this entry. ## 127.0.0.1 localhost 255.255.255.255 broadcasthost ::1 localhost fe80::1%lo0 localhost On 10/2/11 11:04 AM, Zijad Purkovic wrote: > Can you show your hosts file, particularly info on localhost. Of > course omit any sensitive info like public IP's or hostnames? > > On Sun, Oct 2, 2011 at 7:19 PM, Mark wrote: >> I am trying to run the HBase URL application: >> https://github.com/larsgeorge/hbase-book on my local machine in >> psuedo-distributed mode using the Cloudera CDH3 but I keep receiving the >> following error: >> >> ... >> INFO [main] (ZooKeeper.java:373) - Initiating client connection, >> connectString=localhost:2181 sessionTimeout=180000 watcher=hconnection >> INFO [main-SendThread()] (ClientCnxn.java:1041) - Opening socket connection >> to server localhost/0:0:0:0:0:0:0:1:2181 >> INFO [main-SendThread(localhost:2181)] (ClientCnxn.java:949) - Socket >> connection established to localhost/0:0:0:0:0:0:0:1:2181, initiating session >> INFO [main-SendThread(localhost:2181)] (ClientCnxn.java:738) - Session >> establishment complete on server localhost/0:0:0:0:0:0:0:1:2181, sessionid = >> 0x132c59cf1100004, negotiated timeout = 40000 >> Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String >> index out of range: -1 >> at java.lang.String.substring(String.java:1937) >> at org.apache.hadoop.hbase.ServerName.parseHostname(ServerName.java:81) >> at org.apache.hadoop.hbase.ServerName.(ServerName.java:63) >> at >> org.apache.hadoop.hbase.MasterAddressTracker.getMasterAddress(MasterAddressTracker.java:62) >> at >> org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.getMaster(HConnectionManager.java:568) >> at org.apache.hadoop.hbase.client.HBaseAdmin.(HBaseAdmin.java:94) >> at >> com.hbasebook.hush.schema.SchemaManager.process(SchemaManager.java:126) >> at com.hbasebook.hush.HushMain.main(HushMain.java:57) >> >> >> >> When I type JPS I see /HMaster/ however I do not see any mention of >> /Zookeeper/. Is this to be expected? Is the above error I am receiving due >> to a misconfiguration of zookeeper or is it something completely unrelated? >> Is there something wrong with my hostname? Any ideas why I am receiving this >> error >> >> Any help would be greatly appreciated. Thanks >> >> >> > >