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

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

Myroslav Papirkovskyi created AMBARI-16765:
----------------------------------------------

             Summary: While restarting node manager through Ambari, the yarn.loca.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


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)