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

Starting JHS Takes Too Long Due To Tarball Extraction

    XMLWordPrintableJSON

Details

    Description

      Starting the Job History Server might time out on systems due to the use of Python's tarfile module. Instead, calling tar directly is much faster.

      2018-05-01 17:28:44,102 - Extracting /usr/hdp/2.6.3.0-235/hadoop/mapreduce.tar.gz to /var/lib/ambari-agent/tmp/mapreduce-tarball-nqNJdx
      2018-05-01 17:53:12,992 - Extracting /usr/hdp/2.6.3.0-235/tez/lib/tez.tar.gz to /var/lib/ambari-agent/tmp/tez-tarball-9CbDSh
      2018-05-01 17:53:12,993 - Execute[('tar', '-xf', '/usr/hdp/2.6.3.0-235/tez/lib/tez.tar.gz', '-C', '/var/lib/ambari-agent/tmp/tez-tarball-9CbDSh/')] {'tries': 3, 'sudo': True, 'try_sleep': 1}
      

      Attachments

        Activity

          People

            jonathanhurley Jonathan Hurley
            jonathanhurley Jonathan Hurley
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 2h 50m
                2h 50m