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 E41A6200C10 for ; Fri, 20 Jan 2017 03:31:50 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id E2A72160B57; Fri, 20 Jan 2017 02:31:50 +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 38BEA160B54 for ; Fri, 20 Jan 2017 03:31:50 +0100 (CET) Received: (qmail 5379 invoked by uid 500); 20 Jan 2017 02:31:49 -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 5370 invoked by uid 99); 20 Jan 2017 02:31:49 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Jan 2017 02:31:49 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id E9C7C1A02D5 for ; Fri, 20 Jan 2017 02:31:48 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.801 X-Spam-Level: X-Spam-Status: No, score=0.801 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_BADIPHTTP=2, KAM_LAZY_DOMAIN_SECURITY=1, RP_MATCHES_RCVD=-2.999] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id tcnVCA3aFj4S for ; Fri, 20 Jan 2017 02:31:47 +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 BFC405F365 for ; Fri, 20 Jan 2017 02:31:46 +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 D3E7BE00D3 for ; Fri, 20 Jan 2017 02:31:27 +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 C074825296 for ; Fri, 20 Jan 2017 02:31:26 +0000 (UTC) Date: Fri, 20 Jan 2017 02:31:26 +0000 (UTC) From: "Ishan Bhatt (JIRA)" To: issues@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (AMBARI-19640) Hue - Ambari Migration is not working in Kerberized envirionment MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 20 Jan 2017 02:31:51 -0000 [ https://issues.apache.org/jira/browse/AMBARI-19640?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ishan Bhatt updated AMBARI-19640: --------------------------------- Status: Patch Available (was: Open) > Hue - Ambari Migration is not working in Kerberized envirionment > ---------------------------------------------------------------- > > Key: AMBARI-19640 > URL: https://issues.apache.org/jira/browse/AMBARI-19640 > Project: Ambari > Issue Type: Bug > Components: ambari-views > Reporter: Ishan Bhatt > Assignee: Ishan Bhatt > Fix For: trunk > > Attachments: AMBARI-19640.patch > > > Steps to reproduce:- > 1. Create a cluster with kerberized environment > 2. Set the Kerborized parameter in while creating the view > 3. Migrate the artifacts using Hue-Amabari . > It failed with below errors:- > {code} > 12 Jan 2017 13:31:38,125 WARN [Thread-69] ViewContextImpl:497 - Error during parsing 'http://172.22.104.166:8080/#' parameter. Leaving original value. > 12 Jan 2017 13:31:38,126 WARN [Thread-69] ViewContextImpl:497 - Error during parsing 'http://172.22.104.166:8080/#' parameter. Leaving original value. > 12 Jan 2017 13:31:38,171 WARN [Thread-69] UserGroupInformation:1551 - PriviledgedActionException as:hdfs (auth:PROXY) via ambari-server-cl1 (auth:SIMPLE) cause:org.apache.hadoop.ipc.RemoteException(java.lang.SecurityException): Failed to obtain user group information: java.io.IOException: Usernames not matched: name=admin != expected=ambari-server-cl1 > 12 Jan 2017 13:31:38,171 ERROR [Thread-69] HiveHistoryQueryMigrationImplementation:493 - Exception in Webhdfs > org.apache.hadoop.ipc.RemoteException(java.lang.SecurityException): Failed to obtain user group information: java.io.IOException: Usernames not matched: name=admin != expected=ambari-server-cl1 > at org.apache.hadoop.hdfs.web.JsonUtil.toRemoteException(JsonUtil.java:157) > at org.apache.hadoop.hdfs.web.WebHdfsFileSystem.validateResponse(WebHdfsFileSystem.java:318) > at org.apache.hadoop.hdfs.web.WebHdfsFileSystem.access$700(WebHdfsFileSystem.java:105) > at org.apache.hadoop.hdfs.web.WebHdfsFileSystem$AbstractRunner.getResponse(WebHdfsFileSystem.java:628) > at org.apache.hadoop.hdfs.web.WebHdfsFileSystem$AbstractRunner.run(WebHdfsFileSystem.java:535) > at org.apache.hadoop.hdfs.web.WebHdfsFileSystem.run(WebHdfsFileSystem.java:424) > at org.apache.hadoop.hdfs.web.WebHdfsFileSystem.getDelegationToken(WebHdfsFileSystem.java:953) > at org.apache.hadoop.hdfs.web.TokenAspect.ensureTokenInitialized(TokenAspect.java:143) > at org.apache.hadoop.hdfs.web.WebHdfsFileSystem.getDelegationToken(WebHdfsFileSystem.java:227) > at org.apache.hadoop.hdfs.web.WebHdfsFileSystem.getAuthParameters(WebHdfsFileSystem.java:381) > at org.apache.hadoop.hdfs.web.WebHdfsFileSystem.toUrl(WebHdfsFileSystem.java:402) > at org.apache.hadoop.hdfs.web.WebHdfsFileSystem$FsPathRunner.getUrl(WebHdfsFileSystem.java:652) > at org.apache.hadoop.hdfs.web.WebHdfsFileSystem$AbstractRunner.init(WebHdfsFileSystem.java:485) > at org.apache.hadoop.hdfs.web.WebHdfsFileSystem$AbstractRunner.run(WebHdfsFileSystem.java:531) > at org.apache.hadoop.hdfs.web.WebHdfsFileSystem.run(WebHdfsFileSystem.java:424) > at org.apache.hadoop.hdfs.web.WebHdfsFileSystem.mkdirs(WebHdfsFileSystem.java:704) > at org.apache.hadoop.fs.FileSystem.mkdirs(FileSystem.java:1816) > at org.apache.ambari.view.huetoambarimigration.migration.hive.historyquery.HiveHistoryQueryMigrationImplementation$2.run(HiveHistoryQueryMigrationImplementation.java:488) > at org.apache.ambari.view.huetoambarimigration.migration.hive.historyquery.HiveHistoryQueryMigrationImplementation$2.run(HiveHistoryQueryMigrationImplementation.java:482) > at java.security.AccessController.doPrivileged(Native Method) > at javax.security.auth.Subject.doAs(Subject.java:422) > at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1548) > at org.apache.ambari.view.huetoambarimigration.migration.hive.historyquery.HiveHistoryQueryMigrationImplementation.createDirKerberorisedSecured(HiveHistoryQueryMigrationImplementation.java:482) > at org.apache.ambari.view.huetoambarimigration.migration.hive.historyquery.HiveHistoryMigrationUtility.hiveHistoryQueryMigration(HiveHistoryMigrationUtility.java:200) > at org.apache.ambari.view.huetoambarimigration.migration.hive.historyquery.HiveHistoryStartJob.run(HiveHistoryStartJob.java:65) > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)