Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-20670

Node manager start extremely slow when YARN NM local dirs are very large

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 2.5.1
    • trunk, 2.5.1
    • ambari-server
    • None

    Description

      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

      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'},
        )
      

      was taking ~15 minutes per mount.

      Attachments

        1. AMBARI-20670.patch
          11 kB
          Dmytro Grinenko
        2. AMBARI-20670-2.5.patch
          9 kB
          Dmytro Grinenko
        3. AMBARI-20670-ut-fix.patch
          2 kB
          Dmytro Grinenko

        Issue Links

          Activity

            People

              hapylestat Dmytro Grinenko
              hapylestat Dmytro Grinenko
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: