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 43DFF200CCB for ; Thu, 20 Jul 2017 09:04:06 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 4268716AAE3; Thu, 20 Jul 2017 07:04:06 +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 8936A16AAE6 for ; Thu, 20 Jul 2017 09:04:05 +0200 (CEST) Received: (qmail 58729 invoked by uid 500); 20 Jul 2017 07:04:04 -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 58718 invoked by uid 99); 20 Jul 2017 07:04:04 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Jul 2017 07:04:04 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id BA115C02D8 for ; Thu, 20 Jul 2017 07:04:03 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.002 X-Spam-Level: X-Spam-Status: No, score=-100.002 tagged_above=-999 required=6.31 tests=[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 (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id oygwN5-9PvRm for ; Thu, 20 Jul 2017 07:04:03 +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 D122760D8C for ; Thu, 20 Jul 2017 07:04: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 DEAF9E0DF5 for ; Thu, 20 Jul 2017 07:04: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 1854F21ECD for ; Thu, 20 Jul 2017 07:04:00 +0000 (UTC) Date: Thu, 20 Jul 2017 07:04:00 +0000 (UTC) From: "Varun Saxena (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (YARN-6820) Restrict read access to timelineservice v2 data MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 20 Jul 2017 07:04:06 -0000 [ https://issues.apache.org/jira/browse/YARN-6820?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D16094= 275#comment-16094275 ]=20 Varun Saxena commented on YARN-6820: ------------------------------------ As all reads from Timeline Reader would be with ats user, so would specifyi= ng authorizations/labels in the scan be sufficient to filter out the result= s? If yes, we can utilize this for our eventual authorization solution, wit= h user/groups/domain written as labels during put and specified as authoriz= ation during get/scan. By the way for whitelisting/blacklisting, for our next drop, a simple confi= guration with a check in reader not suffice? > Restrict read access to timelineservice v2 data=20 > ------------------------------------------------ > > Key: YARN-6820 > URL: https://issues.apache.org/jira/browse/YARN-6820 > Project: Hadoop YARN > Issue Type: Sub-task > Components: timelineserver > Reporter: Vrushali C > Labels: yarn-5355-merge-blocker > > Need to provide a way to restrict read access in ATSv2. Not all users sho= uld be able to read all entities. On the flip side, some folks may not need= any read restrictions, so we need to provide a way to disable this access = restriction as well.=20 > Initially this access restriction could be done in a simple way via a whi= telist of users allowed to read data. That set of users can read all data, = no other user can read any data. Can be turned off for all users to read al= l data. > Could be stored in a "domain" table in hbase perhaps. Or a configuration = setting for the cluster. Or something else that's simple enough. ATSv1 has = a concept of domain for isolating users for reading. Would be good to keep = that in consideration.=20 > In ATSv1, domain offers a namespace for Timeline server allowing users to= host multiple entities, isolating them from other users and applications. = A =E2=80=9CDomain=E2=80=9D in ATSV1 primarily stores owner info, read and& = write ACL information, created and modified time stamp information. Each Do= main is identified by an ID which must be unique across all users in the YA= RN cluster. -- 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