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 6EB93DD23 for ; Thu, 1 Nov 2012 19:30:15 +0000 (UTC) Received: (qmail 14398 invoked by uid 500); 1 Nov 2012 19:30:13 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 14331 invoked by uid 500); 1 Nov 2012 19:30:13 -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 Delivered-To: moderator for user@hbase.apache.org Received: (qmail 57040 invoked by uid 99); 1 Nov 2012 16:44:13 -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 (athena.apache.org: domain of zlpdaisy@gmail.com designates 74.125.82.41 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=AFs9koPGWi1ZSI8+ELL4HLIPDwLGN1tbxiauq+wcW6A=; b=atsiXa29RlTXNJND9A2DvHgVDdZelsOczjalSdpcvDrasGXGMGnmIN71+JRuj3zXn3 EL4UPNYUt1sZCk/caGdN8/4cUpYUWHuD2vwOvQEsz69VGvmEeo1rodqew0fWFT6BBIdh b0M7ZpbSsZjL/ArcScjr9IL2SADo56DtwKEMuNbmPNNMFUraobKceciLg91pMxGLoVSo wti9RH+FdU0M0yT4X64Vs4YYbMjxOHcnJu/70MBcGAhfDVnVc26McU5GWWIKJCujt1rP C1QvFjrZrP6NCQbFr4uSfzgodmRBH30f+KM/0N+oPs2HIMJRRa9/kxH2dXLaD1Ph+dSa 02PA== MIME-Version: 1.0 In-Reply-To: References: Date: Fri, 2 Nov 2012 00:43:45 +0800 Message-ID: Subject: Re: hbase 0.94.0 failed to individually run test case with org.apache.hadoop.hbase.TestZookeeper From: Liping Zhang To: Nicolas Liochon Cc: Ted Yu , dev@hbase.apache.org, user@hbase.apache.org, paradisehit@gmail.com, stack@apache.org Content-Type: multipart/alternative; boundary=0016e6db2965f9d1d904cd71b86b X-Virus-Checked: Checked by ClamAV on apache.org --0016e6db2965f9d1d904cd71b86b Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: quoted-printable Hello Nicolas, Oh, it is a typo. :) Thanks very much! By the way, can you also help to answer following question? HBase unit tests (command `mvn test`) are *seperated into two parts* in*HBase 0.94.0, * do you know how to let it only run the first part, but not run the second part with `mvn test`? How to skip some specific test cases when I run full Hbase unit tests with 'mvn test' command? Is there any command or can I set it in some configuration files? Highly appreciate and have a good day! On Tue, Oct 30, 2012 at 5:27 PM, Nicolas Liochon wrote: > Hi, > > It's ok with a capital 'K' > > mvn -PlocalTests -Dtest=3DTestZoo*K*eeper test > Running org.apache.hadoop.hbase.TestZooKeeper > Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 198.84 se= c > > ;-) > > Nicolas > > > On Tue, Oct 30, 2012 at 5:50 AM, Ted Yu wrote: > >> The following command didn't run any test: >> *mvn -PlocalTests -Dtest=3DTestZookeeper test* >> >> N: >> Do you know why ? >> >> On Mon, Oct 29, 2012 at 8:43 PM, Ted Yu wrote: >> >>> To answer your first question, you need to specify the following: >>> mvn test -PlocalTests -Dtest=3D >>> >>> >>> On Mon, Oct 29, 2012 at 8:37 PM, Ted Yu wrote: >>> >>>> Can you try with 0.94.2 or tip of 0.94 ? >>>> 0.94.0 is quite old. >>>> >>>> >>>> On Mon, Oct 29, 2012 at 8:31 PM, Liping Zhang wro= te: >>>> >>>>> Hi hbase deve, QA, Shixing, >>>>> >>>>> I'll highly appreciate you if you can answer the questions. >>>>> >>>>> >>>>> Hi Shixing, >>>>> >>>>> I found in HBASE-6269, you did a full unit tests, but did you try it >>>>> successfully with individually running "mvn -Dtest=3D*TestHRegion *te= st"? >>>>> Thanks for your info. >>>>> >>>>> >>>>> >>>>> ---------- Forwarded message ---------- >>>>> From: Liping Zhang >>>>> Date: Tue, Oct 30, 2012 at 11:18 AM >>>>> Subject: hbase 0.94.0 failed to individually run test case with >>>>> org.apache.hadoop.hbase.TestZookeeper >>>>> To: stack@apache.org, apurtell@apache.org, yuzhihong@gmail.com >>>>> >>>>> >>>>> >>>>> Hi Ted Yu, Stack and Andrew, >>>>> >>>>> How are thing going? I met some issues when I individually run HBase >>>>> 0.94.0 unit tests, can you help me out? >>>>> >>>>> ------------------------- >>>>> *question #1:* >>>>> >>>>> I downloaded with Hbase 0.94.0 and run it with unit tests, found that >>>>> it was failed to *individually *run >>>>> org.apache.hadoop.hbase.TestZookeeper and >>>>> org.apache.hadoop.hbase.regionserver.TestHRegion when I individually = ran it >>>>> with "mvn -Dtest=3DTestZookeeper test" and "mvn -Dtest=3DTestHRegion = test". It >>>>> seems there was no unit testThe result showed as following: >>>>> >>>>> >>>>> ------------------------------------------------------- >>>>> T E S T S >>>>> ------------------------------------------------------- >>>>> >>>>> Results : >>>>> >>>>> *Tests run: 0, Failures: 0, Errors: 0, Skipped: 0 >>>>> >>>>> >>>>> -------------------------- >>>>> question #2:* >>>>> >>>>> How to skip to some test cases when I run full Hbase unit tests? Is >>>>> there any command? >>>>> >>>>> >>>>> ---------------------------- >>>>> *question #3:* >>>>> I tried individual tests, and found that it didn't run any test case >>>>> with "mvn -Dtest=3D*TestHRegion *test", but it can run test cases wi= th >>>>> "mvn -Dtest=3D*TestKeyValue,TestHRegion* test", do you know why it >>>>> happens? >>>>> * >>>>> * >>>>> Thanks very much for your answering! >>>>> >>>>> -- >>>>> Thanks! >>>>> >>>>> Best Regards, >>>>> Liping Zhang >>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> Thanks! >>>>> >>>>> Best Regards, >>>>> Liping Zhang(=D5=C5 =C0=F2=C6=BB) >>>>> >>>>> >>>> >>> >> > --=20 Thanks! Best Regards, Liping Zhang(=D5=C5 =C0=F2=C6=BB) --0016e6db2965f9d1d904cd71b86b--