ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alejandro Fernandez" <afernan...@hortonworks.com>
Subject Re: Review Request 34982: During initial Stack Install, tarballs will not be copied to HDFS because the current_version is not yet known
Date Thu, 04 Jun 2015 16:44:08 GMT


> On June 4, 2015, 4:39 p.m., Andrew Onischuk wrote:
> > ambari-common/src/main/python/resource_management/libraries/functions/copy_tarball.py,
line 77
> > <https://reviews.apache.org/r/34982/diff/3/?file=979182#file979182line77>
> >
> >     Do we really need ignore any exceptions here, and below. This is a pretty thing
for debugging problems?

I added an addendum patch, AMBARI-11640.fix.patch to the Jira


- Alejandro


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/34982/#review86644
-----------------------------------------------------------


On June 4, 2015, 4:37 p.m., Alejandro Fernandez wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/34982/
> -----------------------------------------------------------
> 
> (Updated June 4, 2015, 4:37 p.m.)
> 
> 
> Review request for Ambari, Andrew Onischuk, Dmitro Lisnichenko, Jonathan Hurley, Nate
Cole, Srimanth Gunturi, and Sid Wagle.
> 
> 
> Bugs: AMBARI-11640
>     https://issues.apache.org/jira/browse/AMBARI-11640
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> The workaround is to start all services so that the CURRENT version exists, and then
rerun a HiveServer2 Start, Spark History Server2, or Tez Service Check.
> The fix will be to detect if params.current_version is None, and if so, call hdp-select
versions, and use the value if only one version number is reported.
> Also, HiveServer2 Start needs to copy the tez tarball.
> 
> 
> Diffs
> -----
> 
>   ambari-common/src/main/python/resource_management/libraries/functions/copy_tarball.py
f8a2570 
>   ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/atlas_plugin_utils.py
d057c27 
>   ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/hive.py
888a4c1 
>   ambari-server/src/test/python/stacks/2.0.6/HIVE/test_hive_server.py b3feabf 
> 
> Diff: https://reviews.apache.org/r/34982/diff/
> 
> 
> Testing
> -------
> 
> Verified this worked on a brand new cluster install with HistoryServer Start, which copies
mapreduce.tar.gz to HDFS.
> 
> ----------------------------------------------------------------------
> Total run:747
> Total errors:0
> Total failures:0
> OK
> 
> 
> Thanks,
> 
> Alejandro Fernandez
> 
>


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message