You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Jonathan Hurley (JIRA)" <ji...@apache.org> on 2018/05/02 15:05:00 UTC

[jira] [Created] (AMBARI-23741) Starting JHS Takes Too Long Due To Tarball Extraction

Jonathan Hurley created AMBARI-23741:
----------------------------------------

             Summary: Starting JHS Takes Too Long Due To Tarball Extraction
                 Key: AMBARI-23741
                 URL: https://issues.apache.org/jira/browse/AMBARI-23741
             Project: Ambari
          Issue Type: Bug
          Components: ambari-agent
    Affects Versions: 2.6.0
            Reporter: Jonathan Hurley
            Assignee: Jonathan Hurley
             Fix For: 2.7.0


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.

{code}
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}
{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)