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 192B8200D48 for ; Wed, 29 Nov 2017 19:37:05 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 181F8160C04; Wed, 29 Nov 2017 18:37:05 +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 5E3D2160C02 for ; Wed, 29 Nov 2017 19:37:04 +0100 (CET) Received: (qmail 70785 invoked by uid 500); 29 Nov 2017 18:37:03 -0000 Mailing-List: contact yarn-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list yarn-issues@hadoop.apache.org Received: (qmail 70771 invoked by uid 99); 29 Nov 2017 18:37:03 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Nov 2017 18:37:03 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id A1759180416 for ; Wed, 29 Nov 2017 18:37:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -98.702 X-Spam-Level: X-Spam-Status: No, score=-98.702 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_NUMSUBJECT=0.5, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id RK8NP8CyEAPi for ; Wed, 29 Nov 2017 18:37:01 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 1CF7B5F588 for ; Wed, 29 Nov 2017 18:37:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 586DFE0C1D for ; Wed, 29 Nov 2017 18:37:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 168D121058 for ; Wed, 29 Nov 2017 18:37:00 +0000 (UTC) Date: Wed, 29 Nov 2017 18:37:00 +0000 (UTC) From: "Haibo Chen (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (YARN-7581) ATSv2 does not construct HBase filters correctly in HBase 2.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 29 Nov 2017 18:37:05 -0000 [ https://issues.apache.org/jira/browse/YARN-7581?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16271320#comment-16271320 ] Haibo Chen commented on YARN-7581: ---------------------------------- Based on the discussion I had with our internal HBase folks, the issue has to do how we construct HBase Filters in ATSv2. Specifically, in the case of TestTimelineReaderWebServicesHBaseStorage.testGetEntitiesConfigFilters(), the query that is failing the test, {code} URI uri = URI.create("http://localhost:" + getServerPort() + "/ws/v2/" + "timeline/clusters/cluster1/apps/application_1111111111_1111/" + "entities/type1?conffilters=config_param1%20eq%20value1%20OR%20" + "config_param1%20eq%20value3"); {code} generates the following HBase filter {code} FilterList AND (2/2): [ FilterList AND (1/1): [ FilterList OR (2/2): [ SingleColumnValueFilter (c, config_param1, EQUAL, "value1"), SingleColumnValueFilter (c, config_param1, EQUAL, "value3") ] ], FilterList OR (1/1): [ FilterList AND (5/5): [ FamilyFilter (EQUAL, i), QualifierFilter (NOT_EQUAL, e!), QualifierFilter (NOT_EQUAL, i!), QualifierFilter (NOT_EQUAL, s!), QualifierFilter (NOT_EQUAL, r!) ] ] ] {code} and when the SingleColumnValueFilter are created (in TimelineFilterUtils.createHBaseSingleColValueFilter()), we call setFilterIfMissing(true) so that the whole row will be skipped if SCVF does not see config_param1. > ATSv2 does not construct HBase filters correctly in HBase 2.0 > ------------------------------------------------------------- > > Key: YARN-7581 > URL: https://issues.apache.org/jira/browse/YARN-7581 > Project: Hadoop YARN > Issue Type: Sub-task > Components: ATSv2 > Affects Versions: 3.0.0-beta1 > Reporter: Haibo Chen > Assignee: Haibo Chen > > TestTimelineReaderWebServicesHBaseStorage.testGetEntitiesConfigFilters() and TestTimelineReaderWebServicesHBaseStorage.testGetEntitiesMetricFilters() start to fail after we upgrade HBase to 2.0-alpha4 (To reproduce locally, apply YARN-7581.prelim.patch that is attached in YARN-7346 and run the atsv2 unit tests) > *Error Message* > [ERROR] Failures: > [ERROR] TestTimelineReaderWebServicesHBaseStorage.testGetEntitiesConfigFilters:1266 expected:<2> but was:<0> > [ERROR] TestTimelineReaderWebServicesHBaseStorage.testGetEntitiesMetricFilters:1523 expected:<1> but was:<0> -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: yarn-issues-help@hadoop.apache.org