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 BFAB0200AE4 for ; Fri, 10 Jun 2016 00:49:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id BE497160A5C; Thu, 9 Jun 2016 22:49: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 0205D160A58 for ; Fri, 10 Jun 2016 00:49:21 +0200 (CEST) Received: (qmail 9056 invoked by uid 500); 9 Jun 2016 22:49:21 -0000 Mailing-List: contact issues-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list issues@ambari.apache.org Received: (qmail 9029 invoked by uid 99); 9 Jun 2016 22:49:21 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Jun 2016 22:49:21 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 0A6872C0452 for ; Thu, 9 Jun 2016 22:49:21 +0000 (UTC) Date: Thu, 9 Jun 2016 22:49:21 +0000 (UTC) From: "Robert Ketcherside (JIRA)" To: issues@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (AMBARI-17155) Accumulo Tracer principal causes OneFS permissions conflict MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 09 Jun 2016 22:49:22 -0000 Robert Ketcherside created AMBARI-17155: ------------------------------------------- Summary: Accumulo Tracer principal causes OneFS permissions conflict Key: AMBARI-17155 URL: https://issues.apache.org/jira/browse/AMBARI-17155 Project: Ambari Issue Type: Bug Components: ambari-server Affects Versions: 2.2.2 Environment: Ambari 2.2.2, HDP 2.4.2, OneFS 8.0.0.1 Reporter: Robert Ketcherside Priority: Minor The default principal for trace.user (tracer-${cluster-name}@${realm}) causes Accumulo Tracer to be unable to start once Kerberos is enabled in an environment where the NameNode and DataNode are an EMC/Isilon OneFS cluster. Unlike the Apache NameNode, OneFS doesn't have a user-defined auto_to_local mapping for principals to local users. It just takes the root of the principal and looks for a local user of the same name. Tracer uses its upn in order to auth to hdfs and read the value of the file within the "instance_id" directory, and the name of the directory within "version" under apps/accumulo/data. If these steps fail, the component dies. Currently Isilon is advising customers to switch the principal name to ${accumulo-env/accumulo_user}@${realm}. The Accumulo user already has read access to the contents of the data directory. (Hence, this issue is filed as minor; there is a work around.) An admin could also resolve the permissions issue for the tracer principal by giving o+r permissions recursively to the accumulo directory; or by creating a tracer user, adding it to a group like hadoop, and changing group ownership of the apps/accumulo direcotry to o+r recursively. I'm filing this JIRA to ask for a resolution to be investigated on the Apache side. Here are a few ideas, though they might not be valid courses of action: - Use an Accumulo upn or spn for kerberized trace.user. SPN is indicated as default in the Accumulo manual, https://accumulo.apache.org/1.7/accumulo_user_manual#_kerberos . - Have Accumulo Tracer check hdfs as a different principal. - Remove Accumulo Tracer's requirement to read information from the file system as a prerequisite to service start. See https://community.emc.com/community/products/isilon/blog/2016/06/03/onefs-ambari-and-accumulo-tracer for more details. -- This message was sent by Atlassian JIRA (v6.3.4#6332)