Return-Path: Delivered-To: apmail-hadoop-hbase-dev-archive@minotaur.apache.org Received: (qmail 18881 invoked from network); 22 Jan 2010 18:12:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 22 Jan 2010 18:12:45 -0000 Received: (qmail 45095 invoked by uid 500); 22 Jan 2010 18:12:44 -0000 Delivered-To: apmail-hadoop-hbase-dev-archive@hadoop.apache.org Received: (qmail 45055 invoked by uid 500); 22 Jan 2010 18:12:44 -0000 Mailing-List: contact hbase-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hbase-dev@hadoop.apache.org Delivered-To: mailing list hbase-dev@hadoop.apache.org Received: (qmail 45045 invoked by uid 99); 22 Jan 2010 18:12:44 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Jan 2010 18:12:44 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Jan 2010 18:12:42 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 9737B29A0015 for ; Fri, 22 Jan 2010 10:12:21 -0800 (PST) Message-ID: <1728193699.10021264183941617.JavaMail.jira@brutus.apache.org> Date: Fri, 22 Jan 2010 18:12:21 +0000 (UTC) From: "Menno Luiten (JIRA)" To: hbase-dev@hadoop.apache.org Subject: [jira] Created: (HBASE-2157) LATEST_TIMESTAMP not replaced by current timestamp in KeyValue MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org LATEST_TIMESTAMP not replaced by current timestamp in KeyValue -------------------------------------------------------------- Key: HBASE-2157 URL: https://issues.apache.org/jira/browse/HBASE-2157 Project: Hadoop HBase Issue Type: Bug Affects Versions: 0.20.2 Environment: Hadoop 0.20.0 - Hbase 0.20.2 - Java(TM) SE Runtime Environment (build 1.6.0_17-b04) Reporter: Menno Luiten I was trying to bulk load using the new HFileOutputFormat. When using a MapReduce in which map generates {{KeyValue}}s and reduce is equal to KeyValueSortReducer, and using the constructor using (byte[] row, byte[] family, byte[] qualifier, byte[] value), the (undefined) timestamp was inserted as HConstants.LATEST_TIMESTAMP/Long.MAX_VALUE into HBase. This causes all kinds of troubles, but most importantly, while the records were in the table, other MapReduces (using TableInputFormat) and Hbase shell's 'get'-command did not fetch them. Guess there is some sort of filtering of future dates. As I understood from St.Ack, the LASTEST_TIMESTAMP is supposed to be replaced by System.currentTimeMillis(), but I don't see this reflected in the code of KeyValue, and apparently it did not happen elsewhere; perhaps because there is no actual HBase connection? -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.