ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ishan Bhatt (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-19640) Hue - Ambari Migration is not working in Kerberized envirionment
Date Fri, 20 Jan 2017 02:28:26 GMT

     [ https://issues.apache.org/jira/browse/AMBARI-19640?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Ishan Bhatt updated AMBARI-19640:
---------------------------------
    Attachment: AMBARI-19640.patch

> 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)

Mime
View raw message