You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2016/05/19 11:44:13 UTC

[jira] [Commented] (AMBARI-16765) While restarting node manager through Ambari, the yarn.local.dir permission got change from 755 to 775, and the other way around, causing long restarting time for nodemanager

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

Hudson commented on AMBARI-16765:
---------------------------------

FAILURE: Integrated in Ambari-trunk-Commit #4875 (See [https://builds.apache.org/job/Ambari-trunk-Commit/4875/])
AMBARI-16765. While restarting node manager through Ambari, the (mpapyrkovskyy: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=41247c17401ea7382732ebd5e5581ce0084af87d])
* 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_nodemanager.py


> While restarting node manager through Ambari, the yarn.local.dir permission got change from 755 to 775, and the other way around, causing long restarting time for nodemanager
> ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: AMBARI-16765
>                 URL: https://issues.apache.org/jira/browse/AMBARI-16765
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.2.1.1
>            Reporter: Myroslav Papirkovskyi
>            Assignee: Myroslav Papirkovskyi
>            Priority: Critical
>             Fix For: 2.4.0
>
>         Attachments: AMBARI-16765.patch
>
>
> Seems that Ambari changes the directory to 775, then change it back to 755:
> {code}
> 2016-03-14 13:03:33,638 - Directory['/opt/hd/db/data/01/yarn/local'] {'group': 'hadoop', 'recursive': True, 'cd_access': 'a', 'ignore_failures': True, 'mode': 0775, 'owner': 'yarn'} 
> 2016-03-14 13:03:33,638 - Changing permission for /opt/hd/db/data/01/yarn/local from 755 to 775 
> 2016-03-14 13:03:33,655 - Directory['/opt/hd/db/data/02/yarn/local'] {'group': 'hadoop', 'recursive': True, 'cd_access': 'a', 'ignore_failures': True, 'mode': 0775, 'owner': 'yarn'} 
> 2016-03-14 13:03:33,656 - Changing permission for /opt/hd/db/data/02/yarn/local from 755 to 775 
> 2016-03-14 13:03:33,674 - Directory['/opt/hd/db/data/03/yarn/local'] {'group': 'hadoop', 'recursive': True, 'cd_access': 'a', 'ignore_failures': True, 'mode': 0775, 'owner': 'yarn'} 
> 2016-03-14 13:03:33,674 - Changing permission for /opt/hd/db/data/03/yarn/local from 755 to 775 
> 2016-03-14 13:03:33,689 - Directory['/opt/hd/db/data/04/yarn/local'] {'group': 'hadoop', 'recursive': True, 'cd_access': 'a', 'ignore_failures': True, 'mode': 0775, 'owner': 'yarn'} 
> 2016-03-14 13:03:33,689 - Changing permission for /opt/hd/db/data/04/yarn/local from 755 to 775 
> 2016-03-14 13:03:33,699 - Directory['/opt/hd/db/data/05/yarn/local'] {'group': 'hadoop', 'recursive': True, 'cd_access': 'a', 'ignore_failures': True, 'mode': 0775, 'owner': 'yarn'} 
> 2016-03-14 13:03:33,699 - Changing permission for /opt/hd/db/data/05/yarn/local from 755 to 775 
> 2016-03-14 13:03:33,709 - Directory['/opt/hd/db/data/01/yarn/log'] {'group': 'hadoop', 'recursive': True, 'cd_access': 'a', 'ignore_failures': True, 'mode': 0775, 'owner': 'yarn'} 
> 2016-03-14 13:03:33,709 - Directory['/opt/hd/db/data/02/yarn/log'] {'group': 'hadoop', 'recursive': True, 'cd_access': 'a', 'ignore_failures': True, 'mode': 0775, 'owner': 'yarn'} 
> 2016-03-14 13:03:33,710 - Directory['/opt/hd/db/data/03/yarn/log'] {'group': 'hadoop', 'recursive': True, 'cd_access': 'a', 'ignore_failures': True, 'mode': 0775, 'owner': 'yarn'} 
> 2016-03-14 13:03:33,710 - Directory['/opt/hd/db/data/04/yarn/log'] {'group': 'hadoop', 'recursive': True, 'cd_access': 'a', 'ignore_failures': True, 'mode': 0775, 'owner': 'yarn'} 
> 2016-03-14 13:03:33,711 - Directory['/opt/hd/db/data/05/yarn/log'] {'group': 'hadoop', 'recursive': True, 'cd_access': 'a', 'ignore_failures': True, 'mode': 0775, 'owner': 'yarn'} 
> 2016-03-14 13:03:33,712 - Execute[('chmod', '-R', '755', '/opt/hd/db/data/01/yarn/local', '/opt/hd/db/data/02/yarn/local', '/opt/hd/db/data/03/yarn/local', '/opt/hd/db/data/04/yarn/local'
> {code}
> This seems to cause long restart time for nodemanager.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)