Return-Path: X-Original-To: apmail-hadoop-yarn-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-yarn-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1E5F1187EC for ; Mon, 27 Jul 2015 19:42:21 +0000 (UTC) Received: (qmail 29078 invoked by uid 500); 27 Jul 2015 19:42:05 -0000 Delivered-To: apmail-hadoop-yarn-issues-archive@hadoop.apache.org Received: (qmail 29028 invoked by uid 500); 27 Jul 2015 19:42:05 -0000 Mailing-List: contact yarn-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: yarn-issues@hadoop.apache.org Delivered-To: mailing list yarn-issues@hadoop.apache.org Received: (qmail 29012 invoked by uid 99); 27 Jul 2015 19:42:05 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Jul 2015 19:42:05 +0000 Date: Mon, 27 Jul 2015 19:42:05 +0000 (UTC) From: "Zhijie Shen (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (YARN-3908) Bugs in HBaseTimelineWriterImpl 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/YARN-3908?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14643267#comment-14643267 ] Zhijie Shen commented on YARN-3908: ----------------------------------- Okay, it's fair point. It seems that the key design significantly depends on how we want to operate on the events. The current key design is most friendly to check if there exists the events who match the given event ID to match some given info key (and its value). But if you want to fetch everything that belongs to this event (our query needs to do this, as it's implicitly an atomic unit for now), it seems to be inevitable to scan through all these columns that have the given event ID (correct me if I'm wrong :-). If so, there seems to to have little gain from this key design, while complicating the event encapsulation logic. And after rethinking of the current query to support (YARN-3051), I want to amend my suggestion. It seems to be more reasonable to use {{e!eventTimestamp?eventId?eventInfoKey}}, such that we can natively scan through the events of one entity one-by-one return them in a chronological order. > Bugs in HBaseTimelineWriterImpl > ------------------------------- > > Key: YARN-3908 > URL: https://issues.apache.org/jira/browse/YARN-3908 > Project: Hadoop YARN > Issue Type: Sub-task > Components: timelineserver > Reporter: Zhijie Shen > Assignee: Vrushali C > Attachments: YARN-3908-YARN-2928.001.patch, YARN-3908-YARN-2928.002.patch, YARN-3908-YARN-2928.003.patch, YARN-3908-YARN-2928.004.patch, YARN-3908-YARN-2928.004.patch, YARN-3908-YARN-2928.005.patch > > > 1. In HBaseTimelineWriterImpl, the info column family contains the basic fields of a timeline entity plus events. However, entity#info map is not stored at all. > 2 event#timestamp is also not persisted. -- This message was sent by Atlassian JIRA (v6.3.4#6332)