[
https://issues.apache.org/jira/browse/AMBARI-23741?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jonathan Hurley resolved AMBARI-23741.
--------------------------------------
Resolution: Fixed
> 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
> Priority: Critical
> Labels: pull-request-available
> Fix For: 2.7.0
>
> Time Spent: 1h
> Remaining Estimate: 0h
>
> 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)