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 BB596F368 for ; Sat, 30 Mar 2013 14:49:50 +0000 (UTC) Received: (qmail 11174 invoked by uid 500); 30 Mar 2013 14:49:48 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 10943 invoked by uid 500); 30 Mar 2013 14:49:48 -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 10929 invoked by uid 99); 30 Mar 2013 14:49:48 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 30 Mar 2013 14:49:48 +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 yuzhihong@gmail.com designates 209.85.215.51 as permitted sender) Received: from [209.85.215.51] (HELO mail-la0-f51.google.com) (209.85.215.51) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 30 Mar 2013 14:49:42 +0000 Received: by mail-la0-f51.google.com with SMTP id fo13so1148103lab.38 for ; Sat, 30 Mar 2013 07:49:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=X5E+bVevVOnhyGL/4Nkk/Aw88XJVXr719QOXKnsL6eA=; b=eRUVMUFkgLJuk2ZlXPACJ1CScDbMy9B7OSSLYCqIeFCVAMXumLPT2jl4n5ZHZOD4X/ Qtu8gazX/2euD2/ANjQCEDuGEPq9e5BhAF8YmvX9PjdfCZHCw+rxrzAizjuerAbudeHX mcxJONq1hnF7aIZ1U2unsQ8N17K+L0kcv0rMvI65kpVFF9nblCAoPKoZitzNmGWVb4P5 cc+a0IB13Dk/6DmvCm5I1sWpqD1sylSGL6sstbNPicOjiaWv55uhSp/tVxGpDwIUQ4wa GpSiM195GYPUU1t6X/KQJMxoZ2MnWxrCN7XYyXHrltFMer0g1CGwu5/mMoPH8UuwKaHx MDbg== MIME-Version: 1.0 X-Received: by 10.152.145.134 with SMTP id su6mr2839820lab.35.1364654961576; Sat, 30 Mar 2013 07:49:21 -0700 (PDT) Received: by 10.112.84.133 with HTTP; Sat, 30 Mar 2013 07:49:21 -0700 (PDT) In-Reply-To: References: Date: Sat, 30 Mar 2013 07:49:21 -0700 Message-ID: Subject: Re: connecting Hbase using java From: Ted Yu To: "user@hbase.apache.org" Content-Type: multipart/alternative; boundary=e89a8f23465939d05304d9257e25 X-Virus-Checked: Checked by ClamAV on apache.org --e89a8f23465939d05304d9257e25 Content-Type: text/plain; charset=ISO-8859-1 What packages were not accessible ? Most people use Eclipse for development. Take a look at 15.2.1.5 in http://hbase.apache.org/book.html#developing On Sat, Mar 30, 2013 at 7:02 AM, Alok Singh Mahor wrote: > Hi all, > I have set up Hbase in pseudo distributed mode. > I am using hadoop-1.1.2 hbase-0.94.6 and setup files are in Home > directory. > > content of ~/hbase-0.94.6/conf/hbase-site.xml is > > > > hbase.cluster.distributed > true > > > hbase.rootdir > hdfs://localhost:9000/hbase > > > dfs.replication > 1 > The replication count for HLog and HFile storage. > Should not be greater than HDFS datanode count. > > > > > and I am able to create tables using hbase shell from its prompt. > but I want to create table and load data programatically using java. > > I tried to follow > > http://autofei.wordpress.com/2012/04/02/java-example-code-using-hbase-data-model-operations/ > > without eclipse but I am getting error that packages does not exist. > > could any one give me clean and simple steps to load data in Hbase > programatically using java. > > thanks in advance > --e89a8f23465939d05304d9257e25--