-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/59693/
-----------------------------------------------------------
Review request for Ambari, Dmytro Grinenko, Jonathan Hurley, and Nate Cole.
Bugs: AMBARI-21160
https://issues.apache.org/jira/browse/AMBARI-21160
Repository: ambari
Description
-------
During an upgrade (any kind, but we'll use a standard EU here), the following
is seen during the Tez Tarball Verification step:
{code}
File
"/usr/lib/python2.6/site-packages/resource_management/libraries/functions/conf_select.py",
line 450, in get_hadoop_conf_dir
raise Fail("Unable to get parameter 'version'")
resource_management.core.exceptions.Fail: Unable to get parameter 'version'
{code}
The cause of this is that the {{RepoVersionEntity}} can't be looked up since
there is no service or component on the command.
Diffs
-----
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/UpgradeResourceProvider.java
345bf5f01d
ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/params_linux.py
c1128a5dbb
ambari-server/src/main/resources/common-services/HIVE/2.1.0.3.0/package/scripts/params_linux.py
a12d388243
Diff: https://reviews.apache.org/r/59693/diff/1/
Testing
-------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 24:08 min
[INFO] Finished at: 2017-05-31T16:47:18-04:00
[INFO] Final Memory: 76M/789M
[INFO] ------------------------------------------------------------------------
Performed a full upgrade with ZK, HDFS, YARN, HIVE
Thanks,
Jonathan Hurley