From user-return-12127-apmail-hbase-user-archive=hbase.apache.org@hbase.apache.org Mon Aug 23 17:31:00 2010 Return-Path: Delivered-To: apmail-hbase-user-archive@www.apache.org Received: (qmail 34252 invoked from network); 23 Aug 2010 17:31:00 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 23 Aug 2010 17:31:00 -0000 Received: (qmail 19373 invoked by uid 500); 23 Aug 2010 17:30:59 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 19210 invoked by uid 500); 23 Aug 2010 17:30:59 -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 19202 invoked by uid 99); 23 Aug 2010 17:30:58 -0000 Received: from Unknown (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Aug 2010 17:30:58 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of ghelmling@gmail.com designates 74.125.82.169 as permitted sender) Received: from [74.125.82.169] (HELO mail-wy0-f169.google.com) (74.125.82.169) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Aug 2010 17:30:37 +0000 Received: by wyg36 with SMTP id 36so8080567wyg.14 for ; Mon, 23 Aug 2010 10:30:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=qa6ZxObxuXsm4vfGIc+9JtZJjnunAlgGshp+9fnC12E=; b=eIT+YLYh6Hn0u9v7DzJtVVsDEh+Ag4dAf4Nw7SBLAu3YDBl/w7sCbc3eIZF7/oO6Do LT0W3tkYAhzBrYv+5JB9ROhrGpzSSbCXSgr353SXwlg18vmJEi/9wETdxRFbBvbu/QIW ZffsFCDLniIDRPh0H/pYYMuoFrqGxQCcGNWDk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=a16Mp+ziBJzkMQDRFlaEKSLAHStj0LbLuQUTFKf9swTJQewKuAzt2ZcMwqM+1hZ3w9 TPUX1DjJkfKnN1YHdGLLO+vkBzxImK1Xe17rZDvA8bBU3l33XowUnIJ3YbZpj2Jj7WHC uFRowkYoggIHivKUThCQ3O8s6Y9w01gH5IUV4= MIME-Version: 1.0 Received: by 10.227.156.14 with SMTP id u14mr4895100wbw.55.1282584616719; Mon, 23 Aug 2010 10:30:16 -0700 (PDT) Received: by 10.216.3.137 with HTTP; Mon, 23 Aug 2010 10:30:16 -0700 (PDT) In-Reply-To: References: Date: Mon, 23 Aug 2010 10:30:16 -0700 Message-ID: Subject: Re: can not find symbol class BatchUpdate - Cloudera Hbase From: Gary Helmling To: user@hbase.apache.org Content-Type: multipart/alternative; boundary=0016e65b5b4e796281048e81003f X-Virus-Checked: Checked by ClamAV on apache.org --0016e65b5b4e796281048e81003f Content-Type: text/plain; charset=ISO-8859-1 BatchUpdate was part of the old 0.19 client API. The client API was completely rewritten with the 0.20 release (see org.apache.hadoop.hbase.client), and BatchUpdate was deprecated. If you're using Cloudera's CDH3 (which I assume since that includes HBase), it includes HBase based off the 0.89 release series, which removes the deprecated BatchUpdate class. You'll need to port over any of your client code to use the new Get, Put, and Delete classes. On Mon, Aug 23, 2010 at 8:59 AM, Ted Yu wrote: > What version of HBase are you using ? > Can you include the detailed error message ? > > On Mon, Aug 23, 2010 at 4:03 AM, Shuja Rehman > wrote: > > > Hi > > I am trying to run mapreduce example and create a sample program but > > BatchUpdate is not visible to program and having error on this line. > > > > import org.apache.hadoop.hbase.io.BatchUpdate; > > > > I also include the hbase jar file. Any clue?? > > > > -- > > Regards > > Shuja-ur-Rehman Baig > > http://pk.linkedin.com/in/shujamughal > > Cell: +92 3214207445 > > > --0016e65b5b4e796281048e81003f--