Details
-
Bug
-
Status: Resolved
-
Critical
-
Resolution: Fixed
-
2.2.1.1
-
None
Description
Seems that Ambari changes the directory to 775, then change it back to 755:
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'
This seems to cause long restart time for nodemanager.
Attachments
Attachments
Issue Links
- links to