Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DE1F4684B for ; Sun, 31 Jul 2011 14:26:34 +0000 (UTC) Received: (qmail 5758 invoked by uid 500); 31 Jul 2011 14:26:34 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 5619 invoked by uid 500); 31 Jul 2011 14:26:33 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 5611 invoked by uid 99); 31 Jul 2011 14:26:33 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 31 Jul 2011 14:26:33 +0000 X-ASF-Spam-Status: No, hits=-2000.7 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 31 Jul 2011 14:26:31 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 3D72B96CB0 for ; Sun, 31 Jul 2011 14:26:11 +0000 (UTC) Date: Sun, 31 Jul 2011 14:26:11 +0000 (UTC) From: "jiraposter@reviews.apache.org (JIRA)" To: issues@hbase.apache.org Message-ID: <469437395.21733.1312122371248.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <61342584.19728.1311969610718.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HBASE-4148) HFileOutputFormat doesn't fill in TIMERANGE_KEY metadata MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-4148?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13073355#comment-13073355 ] jiraposter@reviews.apache.org commented on HBASE-4148: ------------------------------------------------------ ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/1229/#review1244 ----------------------------------------------------------- Ship it! - Ted On 2011-07-31 05:52:30, jmhsieh wrote: bq. bq. ----------------------------------------------------------- bq. This is an automatically generated e-mail. To reply, visit: bq. https://reviews.apache.org/r/1229/ bq. ----------------------------------------------------------- bq. bq. (Updated 2011-07-31 05:52:30) bq. bq. bq. Review request for hbase and Todd Lipcon. bq. bq. bq. Summary bq. ------- bq. bq. When HFiles are flushed through the normal path, they include an attribute TIMERANGE_KEY which can be used to cull HFiles when performing a time-restricted scan. Files produced by HFileOutputFormat are currently missing this metadata. bq. bq. bq. This addresses bug HBASE-4148. bq. https://issues.apache.org/jira/browse/HBASE-4148 bq. bq. bq. Diffs bq. ----- bq. bq. src/main/java/org/apache/hadoop/hbase/mapreduce/HFileOutputFormat.java 8ccdf4d bq. src/main/java/org/apache/hadoop/hbase/regionserver/StoreFile.java 40efdda bq. src/test/java/org/apache/hadoop/hbase/mapreduce/TestHFileOutputFormat.java 89241eb bq. bq. Diff: https://reviews.apache.org/r/1229/diff bq. bq. bq. Testing bq. ------- bq. bq. Added unit test. bq. bq. I don't quite understand why the KeyValue with the larger timestamp (2000) value must be written before the one with the smaller timestamp (1000). I can see the code that enforces this (HFile.checkKey) but not why keys are larger to smaller. Is this in HFile data precondition? bq. bq. I cannot get the full test suite to pass, with or without this patch. Suite seems to timeout on tests unrelated to this. Would appreciate some hints or pointers for info on which tests are flakey or take a long time to run. bq. bq. bq. Thanks, bq. bq. jmhsieh bq. bq. > HFileOutputFormat doesn't fill in TIMERANGE_KEY metadata > -------------------------------------------------------- > > Key: HBASE-4148 > URL: https://issues.apache.org/jira/browse/HBASE-4148 > Project: HBase > Issue Type: Bug > Components: mapreduce > Affects Versions: 0.90.3 > Reporter: Todd Lipcon > Assignee: Jonathan Hsieh > Fix For: 0.90.5 > > Attachments: 0001-HBASE-4148-HFileOutputFormat-doesn-t-fill-in-TIMERAN.patch, 0001-HBASE-4148.-HFileOutputFormat-doesn-t-fill-in-TIMERA.patch > > > When HFiles are flushed through the normal path, they include an attribute TIMERANGE_KEY which can be used to cull HFiles when performing a time-restricted scan. Files produced by HFileOutputFormat are currently missing this metadata. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira