Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id AAD67200B65 for ; Wed, 13 Jul 2016 00:14:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id A63A4160A56; Tue, 12 Jul 2016 22:14:22 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 01EFD160A75 for ; Wed, 13 Jul 2016 00:14:21 +0200 (CEST) Received: (qmail 68341 invoked by uid 500); 12 Jul 2016 22:14:21 -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 68270 invoked by uid 99); 12 Jul 2016 22:14:21 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Jul 2016 22:14:21 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id CC4392C02AB for ; Tue, 12 Jul 2016 22:14:20 +0000 (UTC) Date: Tue, 12 Jul 2016 22:14:20 +0000 (UTC) From: "Sai Teja Ranuva (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (HBASE-16210) Add Timestamp class to the hbase-common and Timestamp type to HTable. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 12 Jul 2016 22:14:22 -0000 [ https://issues.apache.org/jira/browse/HBASE-16210?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15373583#comment-15373583 ] Sai Teja Ranuva edited comment on HBASE-16210 at 7/12/16 10:14 PM: ------------------------------------------------------------------- HBASE-16210.master.2.patch - removed the setting of timestamp by the Master(This was causing failure of two unit tests at the client) as we are using only one type of timestamp now. But after HLC is introduced and is made the default timestamp type, the master will have to set the timestamp to default(i.e HLC) if not set by user. This will help transitioning to HLC tables for the newly created tables. was (Author: saitejar): HBASE-16210.master.2.patch - removed the setting of timestamp by the Master(This was causing failure of two unit tests at the client) as only one type of timestamp is present right now. But after HLC is introduced and is the default timestamp type, the master might have to set the timestamp to default(i.e HLC) if not set by user. This will help transitioning to HLC tables for the newly created tables. > Add Timestamp class to the hbase-common and Timestamp type to HTable. > --------------------------------------------------------------------- > > Key: HBASE-16210 > URL: https://issues.apache.org/jira/browse/HBASE-16210 > Project: HBase > Issue Type: Sub-task > Reporter: Sai Teja Ranuva > Assignee: Sai Teja Ranuva > Priority: Minor > Labels: patch, testing > Attachments: HBASE-16210.master.1.patch, HBASE-16210.master.2.patch, HBASE-16210.master.3.patch > > > This is a sub-issue of [HBase-14070|https://issues.apache.org/jira/browse/HBASE-14070]. This JIRA is a small step towards completely adding Hybrid Logical Clocks(HLC) to HBase. The main idea of HLC is described in [HBase-14070|https://issues.apache.org/jira/browse/HBASE-14070] along with the motivation of adding it to HBase. > What is this patch/issue about ? > This issue attempts to add a timestamp class to hbase-common and timestamp type to HTable. > This is a part of the attempt to get HLC into HBase. This patch does not interfere with the current working of HBase. > Why Timestamp Class ? > Timestamp class can be as an abstraction to represent time in Hbase in 64 bits. > It is just used for manipulating with the 64 bits of the timestamp and is not concerned about the actual time. > There are three types of timestamps. System time, Custom and HLC. Each one of it has methods to manipulate the 64 bits of timestamp. > HTable changes: Added a timestamp type property to HTable. This will help HBase exist in conjunction with old type of timestamp and also the HLC which will be introduced. The default is set to custom timestamp(current way of usage of timestamp). default unset timestamp is also custom timestamp as it should be so. The default timestamp will be changed to HLC when HLC feature is introduced completely in HBase. > Suggestions are welcome. > [~enis] - The timestamp class is the one written by you, I have not made any changes. I just changed the default timestamp of the table to Custom. > [~jon@cloudera.com], [~stack] -- This message was sent by Atlassian JIRA (v6.3.4#6332)