[
https://issues.apache.org/jira/browse/AMBARI-20670?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15962986#comment-15962986
]
Dmytro Grinenko commented on AMBARI-20670:
------------------------------------------
UT fix commited:
{code}
5377e66..753b38c trunk -> trunk
017f372..10da792 branch-2.5 -> branch-2.5
{code}
> Node manager start extremely slow when YARN NM local dirs are very large
> ------------------------------------------------------------------------
>
> Key: AMBARI-20670
> URL: https://issues.apache.org/jira/browse/AMBARI-20670
> Project: Ambari
> Issue Type: Bug
> Components: ambari-server
> Affects Versions: 2.5.1
> Reporter: Dmytro Grinenko
> Assignee: Dmytro Grinenko
> Priority: Critical
> Fix For: trunk, 2.5.1
>
> Attachments: AMBARI-20670-2.5.patch, AMBARI-20670.patch,
> AMBARI-20670-ut-fix.patch
>
>
> On the cluster with the YARN NM, where local dirs are 100 GB+ with lot of
> small files - NM starts slow with timeouts
> Reason could be in this specific call in yarn.py
> {code}
> def create_local_dir(dir_name):
> import params
> Directory(dir_name,
> create_parents = True,
> cd_access="a",
> mode=0755,
> owner=params.yarn_user,
> group=params.user_group,
> ignore_failures=True,
> recursive_mode_flags = {'f': 'a+rw', 'd': 'a+rwx'},
> )
> {code}
> was taking ~15 minutes per mount.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)