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 EF3DF9D26 for ; Mon, 27 Feb 2012 17:56:01 +0000 (UTC) Received: (qmail 53277 invoked by uid 500); 27 Feb 2012 17:56:00 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 53224 invoked by uid 500); 27 Feb 2012 17:56:00 -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 53216 invoked by uid 99); 27 Feb 2012 17:56:00 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Feb 2012 17:56:00 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of norbert.burger@gmail.com designates 209.85.213.169 as permitted sender) Received: from [209.85.213.169] (HELO mail-yx0-f169.google.com) (209.85.213.169) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Feb 2012 17:55:53 +0000 Received: by yenl6 with SMTP id l6so738645yen.14 for ; Mon, 27 Feb 2012 09:55:13 -0800 (PST) Received-SPF: pass (google.com: domain of norbert.burger@gmail.com designates 10.60.7.70 as permitted sender) client-ip=10.60.7.70; Authentication-Results: mr.google.com; spf=pass (google.com: domain of norbert.burger@gmail.com designates 10.60.7.70 as permitted sender) smtp.mail=norbert.burger@gmail.com; dkim=pass header.i=norbert.burger@gmail.com Received: from mr.google.com ([10.60.7.70]) by 10.60.7.70 with SMTP id h6mr5045547oea.44.1330365313585 (num_hops = 1); Mon, 27 Feb 2012 09:55:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=LHQjxFhTNp08moRIRpKgdRIgB8Z3/a2y9vDMoMn9Q34=; b=ZMnmYCb9RI5wfLYdVGPBG9p3HazJvGIMGPzi532AEDI6yn+kv/d0Nx46uBd8jDRYkn 9wmMulYqF5xxsi2BteBCCl0PBA11xMz7vh3orR6IQmxrFJLlF7zGcHSSbBP3HEET9rS/ 6YQQ/0KbBB1rHRQhGiD6+i/arJ2uRrH3tpKQo= MIME-Version: 1.0 Received: by 10.60.7.70 with SMTP id h6mr4495545oea.44.1330365313510; Mon, 27 Feb 2012 09:55:13 -0800 (PST) Received: by 10.182.62.129 with HTTP; Mon, 27 Feb 2012 09:55:13 -0800 (PST) In-Reply-To: References: Date: Mon, 27 Feb 2012 12:55:13 -0500 Message-ID: Subject: Re: Bytes in hbase thrift api From: Norbert Burger To: user@hbase.apache.org Content-Type: multipart/alternative; boundary=e89a8fb1f174eeeca704b9f5cf72 X-Virus-Checked: Checked by ClamAV on apache.org --e89a8fb1f174eeeca704b9f5cf72 Content-Type: text/plain; charset=ISO-8859-1 Dalia -- are you setting the appropriate timeout in the TSocket constructor? The default value is 0, which results in an "infinite timeout" according to the java.net.Socket docs. Verify that your Thrift server is running (default port is 9090), and make sure you specify a reasonable timeout to TSocket; typically the 3rd parameters to the constructor. Norbert On Mon, Feb 27, 2012 at 12:20 PM, Dalia Sobhy wrote: > When Building the project, it is successful. > > But when i run it, the createTable method is kept running i.e in infinite > loop, even though i wrote it within try-catch block but no exception takes > place. > > Therefore the code is always running non-stop and no exception is caught!! > > Sent from my iPhone > > On 2012-02-27, at 6:14 PM, "Stack" wrote: > > > On Mon, Feb 27, 2012 at 2:52 AM, Dalia Sobhy > wrote: > >> Can anyone provide me with type of bytes used with hbase thrift api.. > >> > > > > They have no type. They are just bytes. > > > > What is your issue? What is failing? > > > > St.Ack > > Sent from my iPhone > > On 2012-02-27, at 6:14 PM, "Stack" wrote: > > > On Mon, Feb 27, 2012 at 2:52 AM, Dalia Sobhy > wrote: > >> Can anyone provide me with type of bytes used with hbase thrift api.. > >> > > > > They have no type. They are just bytes. > > > > What is your issue? What is failing? > > > > St.Ack > --e89a8fb1f174eeeca704b9f5cf72--