Return-Path: X-Original-To: apmail-hbase-dev-archive@www.apache.org Delivered-To: apmail-hbase-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 699C09FE7 for ; Sun, 1 Jul 2012 20:01:48 +0000 (UTC) Received: (qmail 67152 invoked by uid 500); 1 Jul 2012 20:01:47 -0000 Delivered-To: apmail-hbase-dev-archive@hbase.apache.org Received: (qmail 67085 invoked by uid 500); 1 Jul 2012 20:01:47 -0000 Mailing-List: contact dev-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hbase.apache.org Delivered-To: mailing list dev@hbase.apache.org Received: (qmail 67075 invoked by uid 99); 1 Jul 2012 20:01:47 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Jul 2012 20:01:47 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW X-Spam-Check-By: apache.org Received-SPF: unknown ~alla (nike.apache.org: encountered unrecognized mechanism during SPF processing of domain of mcorgan@hotpads.com) Received: from [209.85.212.41] (HELO mail-vb0-f41.google.com) (209.85.212.41) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Jul 2012 20:01:40 +0000 Received: by vbkv13 with SMTP id v13so3932433vbk.14 for ; Sun, 01 Jul 2012 13:01:19 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:x-gm-message-state; bh=hu6G933TkWlAjK5Kjm7Rks4isyhtGvuLaahgdE73vmM=; b=hsrnDI1ov6HtKHYe2YQQUa1jBXx3+ii4sQqf4uRmM11wa864RY6q2FkxS5UV0ZKyta VTUbfdbkFMMGQf9C4ZlDENFIZiUBvdVxc+B76KEF8wULCVkYlbmL+CPIAjvL2xab7iTl 2kR8I4zPilCZpuxVL0l9BX59z5WXq+nB64Kvkt5we2yV8PFrOdVZP1dk1huxx9hkjRiO QXYxSWkl1VnbBeYkmTs1/bO2WfXmKw6dOt2Q7ZCqavgv+pL9vILtb3KcmE7DMS6l14R3 A/6ZKVIHLY4otqqX3xCvv6ViMCh7m74MkXNwilqbs+4+5kZCL5ta+TWdSsh57kTB9TOB SRkw== MIME-Version: 1.0 Received: by 10.220.240.78 with SMTP id kz14mr4947572vcb.24.1341172879242; Sun, 01 Jul 2012 13:01:19 -0700 (PDT) Received: by 10.220.237.67 with HTTP; Sun, 1 Jul 2012 13:01:19 -0700 (PDT) In-Reply-To: References: <04C9B397-ABF7-455F-911F-676D53B51CB4@gmail.com> Date: Sun, 1 Jul 2012 13:01:19 -0700 Message-ID: Subject: Re: Test for KeyValue From: Matt Corgan To: dev@hbase.apache.org Content-Type: multipart/alternative; boundary=14dae9cfcdb80cb6ec04c3ca2519 X-Gm-Message-State: ALoCoQl3q6gvpbxsUfGX/EWT7oCjNXA+XCy0REhc3zL2Ei/yUOyhD26uWHq9+27o+rYpzt/B17B/ --14dae9cfcdb80cb6ec04c3ca2519 Content-Type: text/plain; charset=UTF-8 Hi guys - i agree it should be moved up and with Jesse's other comments as well. I have a patch in HBASE-6234that moves the tests if one of the committers wants to take a look. I removed the @Category annotations following the example Jesse set when he moved TestBytes to hbase-common. We initially tried to move the tests at the same time as KeyValue, but things got confusing with the tests so I split the jiras since I only needed KeyValue moved for HBASE-6226 (move DataBlockEncoding interfaces to hbase-common). btw - great work on the hbase-it module Enis. Matt On Sun, Jul 1, 2012 at 12:46 PM, Jesse Yates wrote: > Yeah, looks like it should be moved up. @Matt Corgan - thoughts? > > My vision (perhaps arguable) is that all the "strict" unit tests can be > moved to the module in which its primary code resides (so the TestKeyValue > goes in the same module as KeyValue). For the moment, it means dropping the > @Category and bringing up any test dependencies, which it looks like there > are few if any external ones. > > We can debate if we want to include categories in common, since anything > not in server (for the moment) should just be a unit test and everything in > server can be either a unit or cluster test (so anything labeled with > @Category(MediumTests.class or @Category(LargeTests.class). > > I'd argue the cluster tests are probably things that can be moved into > hbase-it module that Enis just created (is creating?). His work in that > area is also going to be really useful for abstracting of the minicluster > so that it is actually feasible to have cluster tests that aren't full > blown ITs. But that's a little ways off... > ------------------- > Jesse Yates > @jesse_yates > jyates.github.com > > > On Sun, Jul 1, 2012 at 12:32 PM, Lars George > wrote: > > > Hi, > > > > For HBASE-6265 I noticed that in trunk the TestKeyValue is in > > hbase-server, while KeyValue is in hbase-common now. Is that work left > over? > > > > Lars > --14dae9cfcdb80cb6ec04c3ca2519--