ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-12035) RU - Resource Manager Service Check fails because hdfs-site.xml is missing when host does not have NameNode component
Date Sat, 20 Jun 2015 03:07:03 GMT

    [ https://issues.apache.org/jira/browse/AMBARI-12035?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14594318#comment-14594318
] 

Hudson commented on AMBARI-12035:
---------------------------------

FAILURE: Integrated in Ambari-trunk-Commit #2952 (See [https://builds.apache.org/job/Ambari-trunk-Commit/2952/])
AMBARI-12035. RU - Resource Manager Service Check fails because hdfs-site.xml is missing when
host does not have NameNode component (alejandro) (afernandez: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=66c576f1b924f958d8d452ee167c08843386aee7)
* ambari-server/src/main/resources/common-services/YARN/2.1.0.2.0/package/scripts/yarn.py
* ambari-server/src/test/python/stacks/2.0.6/YARN/test_resourcemanager.py
* ambari-server/src/main/resources/common-services/YARN/2.1.0.2.0/metainfo.xml


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

Mime
View raw message