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 DBB67D779 for ; Sat, 29 Sep 2012 15:03:48 +0000 (UTC) Received: (qmail 66530 invoked by uid 500); 29 Sep 2012 15:03:46 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 66447 invoked by uid 500); 29 Sep 2012 15:03:46 -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 66435 invoked by uid 99); 29 Sep 2012 15:03:45 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 29 Sep 2012 15:03:45 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=FSL_RCVD_USER,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [209.85.216.169] (HELO mail-qc0-f169.google.com) (209.85.216.169) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 29 Sep 2012 15:03:39 +0000 Received: by qcqt2 with SMTP id t2so3842204qcq.14 for ; Sat, 29 Sep 2012 08:03:16 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:in-reply-to:references:date :message-id:subject:from:to:content-type:x-gm-message-state; bh=oyG4sylLCa6wTo3Swv0FugEehgGI3vifOAO+Car7o1c=; b=m1Aswuz+zhi4WZDuV5WAdighhHQwR7npgtdXhLs04Vus4DmN5zRmnZzSZj4ECqYjnw KJp6Zb7q51fz8G27vL/+f8M/YfVwe9PFKxqmNUDDi6XV7WZj7YMionQ8FHpHTdtLxZrr ckyiAXn4x5grq3JcaFBEFcChZSPJ6C9delGCajw0C+ZqDCEfOOik5CygcFB4Q4P9RvBW KMA2fWoQ87LKKKg/x497OvrpyrhIgHgfS0NPmpw7HIwU2G5PYloKuK1Qn9ffjVBp78ky TLpMtAsxwFIxC1UQx5AUV2WCVGPyguRgzyLjxAGnGEy9EpfK1w7ClYPBG5/ISgSHf9q3 J++g== MIME-Version: 1.0 Received: by 10.224.19.6 with SMTP id y6mr24572374qaa.17.1348930996479; Sat, 29 Sep 2012 08:03:16 -0700 (PDT) Received: by 10.49.72.102 with HTTP; Sat, 29 Sep 2012 08:03:16 -0700 (PDT) X-Originating-IP: [91.64.90.27] In-Reply-To: <6BDC06FA-A136-44B1-88FA-26F99F857735@gmail.com> References: <6BDC06FA-A136-44B1-88FA-26F99F857735@gmail.com> Date: Sat, 29 Sep 2012 17:03:16 +0200 Message-ID: Subject: Re: BigDecimalColumnInterpreter From: Julian Wissmann To: user@hbase.apache.org Content-Type: multipart/alternative; boundary=14dae9ccdaeedf262604cad87864 X-Gm-Message-State: ALoCoQm6xHDI89A589Rp/gEvHOZ/livE4VWTr7DuR6IF2OqIxgchKbbpSqkixWOj6WjcLt1Ezftn X-Virus-Checked: Checked by ClamAV on apache.org --14dae9ccdaeedf262604cad87864 Content-Type: text/plain; charset=ISO-8859-1 Interesting. Did you put just the ColumnInterpreter into the jar? 2012/9/21 Anil Gupta > I was able to run it successfully once I copied the jar into lib folders > of region server and hamster and restarted the cluster. > Did you copied the jar into lib folders of region servers and hmaster and > restarted the cluster. If yes, can you share the logs of regionserver > hosting the region test table? > > Best Regards, > Anil > > On Sep 21, 2012, at 4:14 AM, Julian Wissmann > wrote: > > > Hi Anil, > > > > found some time to test it, today. Same error as you get, same error as > > always ;-) > > > > Julian > > > > 2012/9/20 anil gupta > > > >> Hi Julian, > >> > >> I am curious to know whether you got the opportunity to test BDCI > utility i > >> sent last week along with some suggestions on using it? Did it run > >> successfully? > >> > >> I will try to have a look at your unit test over weekend. > >> Thanks, > >> Anil Gupta > >> > >> On Thu, Sep 20, 2012 at 10:29 AM, Julian Wissmann > >> wrote: > >> > >>> Hi, > >>> > >>> as I've also mentioned in the JIRA Issue: > >>> > >>> I've written a Test, but have problems with Medium Tests requiring > >>> MiniDFSCluster: > >>> > >>> > >> > ------------------------------------------------------------------------------- > >>> Test set: org.apache.hadoop.hbase.coprocessor.TestAggregateProtocol > >>> > >>> > >> > ------------------------------------------------------------------------------- > >>> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 3.239 > >>> sec <<< FAILURE! > >>> org.apache.hadoop.hbase.coprocessor.TestAggregateProtocol Time elapsed: > >>> 0.001 sec <<< ERROR! > >>> java.lang.NullPointerException > >>> at > >>> > >>> > >> > org.apache.hadoop.hdfs.MiniDFSCluster.startDataNodes(MiniDFSCluster.java:422) > >>> at > org.apache.hadoop.hdfs.MiniDFSCluster.(MiniDFSCluster.java:280) > >>> at > >>> > >>> > >> > org.apache.hadoop.hbase.HBaseTestingUtility.startMiniDFSCluster(HBaseTestingUtility.java:433) > >>> at > >>> > >>> > >> > org.apache.hadoop.hbase.HBaseTestingUtility.startMiniCluster(HBaseTestingUtility.java:653) > >>> at > >>> > >>> > >> > org.apache.hadoop.hbase.HBaseTestingUtility.startMiniCluster(HBaseTestingUtility.java:603) > >>> at > >>> > >>> > >> > org.apache.hadoop.hbase.HBaseTestingUtility.startMiniCluster(HBaseTestingUtility.java:590) > >>> at > >>> > >>> > >> > org.apache.hadoop.hbase.coprocessor.TestAggregateProtocol.setupBeforeClass(TestAggregateProtocol.java:77) > >>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > >>> at > >>> > >>> > >> > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > >>> at > >>> > >>> > >> > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > >>> at java.lang.reflect.Method.invoke(Method.java:597) > >>> at > >>> > >>> > >> > org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45) > >>> at > >>> > >>> > >> > org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) > >>> at > >>> > >>> > >> > org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42) > >>> at > >>> > >>> > >> > org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:27) > >>> at > >>> > >> > org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30) > >>> at org.junit.runners.ParentRunner.run(ParentRunner.java:300) > >>> at org.junit.runners.Suite.runChild(Suite.java:128) > >>> at org.junit.runners.Suite.runChild(Suite.java:24) > >>> at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231) > >>> at > >> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) > >>> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) > >>> at java.util.concurrent.FutureTask.run(FutureTask.java:138) > >>> at > >>> > >>> > >> > java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) > >>> at > >>> > >>> > >> > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) > >>> at java.lang.Thread.run(Thread.java:662) > >>> > >>> Therefor I have not been able to do a run of the test, yet. However if > >>> someone would be willing to run it I can just attach it to the issue. > >>> > >>> Regards, > >>> Julian > >>> > >>>> Hi Ted, > >>>> > >>>> I've been unable to squeeze time for writing unit test for BDCI due to > >> my > >>>> tight schedule lately. I will try to submit the patch with unit test > >> next > >>>> week. > >>>> > >>>> Thanks, > >>>> Anil > >>>> > >>>> On Sat, Sep 15, 2012 at 7:56 AM, Ted Yu wrote: > >>>> > >>>>> Anil: > >>>>> Thanks for the sharing. > >>>>> If you add a test to HBASE-6669 showing use of > >>> BigDecimalColumnInterpreter, > >>>>> your patch would be more easily acceptable. > >>>>> > >>>>> Cheers > >>>>> > >>>>> On Fri, Sep 14, 2012 at 3:17 PM, anil gupta > >>> wrote: > >>>>> > >>>>>> Hi Guys, > >>>>>> > >>>>>> The regionservers need to have the jar which contains the > >>>>>> BigDecimalColumnInterpreter class in their classpath. I was > >>> successfully > >>>>>> able to run the utility class once i copied the jar across the > >> cluster > >>>>> and > >>>>>> rebooted the cluster. Also, please specify the following property in > >>>>>> hbase-site.xml to load the co-processor: > >>>>>> > >>>>>> hbase.coprocessor.region.classes > >>>>>> > >>>>>> > >>>>> > >>> > >> > org.apache.hadoop.hbase.coprocessor.AggregateImplementation > >>>>>> > >>>>>> > >>>>>> Let me know once you guys try this out. > >>>>>> > >>>>>> Thanks, > >>>>>> Anil Gupta > >>>>>> > >>>>>> > >>>> > >>>> > >>> > >>> > >> > >> > >> -- > >> Thanks & Regards, > >> Anil Gupta > >> > --14dae9ccdaeedf262604cad87864--