You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Alejandro Fernandez (JIRA)" <ji...@apache.org> on 2015/06/20 03:00:07 UTC
[jira] [Updated] (AMBARI-12035) RU - Resource Manager Service Check
fails because hdfs-site.xml is missing when host does not have NameNode
component
[ https://issues.apache.org/jira/browse/AMBARI-12035?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alejandro Fernandez updated AMBARI-12035:
-----------------------------------------
Attachment: AMBARI-12035.patch
AMBARI-12035.branch-2.1.patch
> RU - Resource Manager Service Check fails because hdfs-site.xml is missing when host does not have NameNode component
> ---------------------------------------------------------------------------------------------------------------------
>
> Key: AMBARI-12035
> URL: https://issues.apache.org/jira/browse/AMBARI-12035
> Project: Ambari
> Issue Type: Bug
> Components: ambari-server
> Affects Versions: 2.1.0
> Reporter: Alejandro Fernandez
> Assignee: Alejandro Fernandez
> Priority: Blocker
> Fix For: 2.1.0
>
> Attachments: AMBARI-12035.branch-2.1.patch, AMBARI-12035.patch
>
>
> STR:
> * Deploy cluster with HDP 2.2 and HDFS, YARN, RM, ZK
> * On the hosts with RM, make sure that there is no NameNode
> * Enable NameNode HA, and RM HA
> * Register HDP 2.3
> * Start a long running job
> * Perform an RU, which will fail because the RM hosts will not have hdfs-site in its config folder /etc/hadoop/2.3.0.0-2800/0
> {code}
> 2015-06-19 20:21:55,596 WARN security.DelegationTokenRenewer (DelegationTokenRenewer.java:handleDTRenewerAppSubmitEvent(851)) - Unable to add the application to the delegation token renewer.
> java.io.IOException: Failed to renew token: Kind: HDFS_DELEGATION_TOKEN, Service: ha-hdfs:nameservice, Ident: (HDFS_DELEGATION_TOKEN token 40 for ambari-qa)
> at org.apache.hadoop.yarn.server.resourcemanager.security.DelegationTokenRenewer.handleAppSubmitEvent(DelegationTokenRenewer.java:439)
> at org.apache.hadoop.yarn.server.resourcemanager.security.DelegationTokenRenewer.access$700(DelegationTokenRenewer.java:78)
> at org.apache.hadoop.yarn.server.resourcemanager.security.DelegationTokenRenewer$DelegationTokenRenewerRunnable.handleDTRenewerAppSubmitEvent(DelegationTokenRenewer.java:847)
> at org.apache.hadoop.yarn.server.resourcemanager.security.DelegationTokenRenewer$DelegationTokenRenewerRunnable.run(DelegationTokenRenewer.java:828)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> at java.lang.Thread.run(Thread.java:745)
> Caused by: java.io.IOException: Unable to map logical nameservice URI 'hdfs://nameservice' to a NameNode. Local configuration does not have a failover proxy provider configured.
> at org.apache.hadoop.hdfs.DFSClient$Renewer.getNNProxy(DFSClient.java:1179)
> at org.apache.hadoop.hdfs.DFSClient$Renewer.renew(DFSClient.java:1143)
> at org.apache.hadoop.security.token.Token.renew(Token.java:377)
> at org.apache.hadoop.yarn.server.resourcemanager.security.DelegationTokenRenewer$1.run(DelegationTokenRenewer.java:543)
> at org.apache.hadoop.yarn.server.resourcemanager.security.DelegationTokenRenewer$1.run(DelegationTokenRenewer.java:540)
> at java.security.AccessController.doPrivileged(Native Method)
> at javax.security.auth.Subject.doAs(Subject.java:415)
> at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1657)
> at org.apache.hadoop.yarn.server.resourcemanager.security.DelegationTokenRenewer.renewToken(DelegationTokenRenewer.java:538)
> at org.apache.hadoop.yarn.server.resourcemanager.security.DelegationTokenRenewer.handleAppSubmitEvent(DelegationTokenRenewer.java:437)
> ... 6 more
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)