ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmitro Lisnichenko" <dlysniche...@hortonworks.com>
Subject Re: Review Request 29052: Refactor UpgradeHelper_HDP2.py script to be compliant with 2.0/2.1 stack upgrade
Date Fri, 19 Dec 2014 11:23:32 GMT

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

(Updated Dec. 19, 2014, 11:23 a.m.)


Review request for Ambari, Alejandro Fernandez, Mahadev Konar, Myroslav Papirkovskyy, and
Vitalyi Brodetskyi.


Changes
-------

Fixed failing test

ERROR: test_ParseOptions (TestUpgradeHelper.TestUpgradeHelper)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-common/src/test/python/mock/mock.py",
line 1199, in patched
return func(*args, **keywargs)
File "/home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-server/src/test/python/TestUpgradeHelper.py",
line 87, in test_ParseOptions
upgradeHelper.main()
File "/home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-server/src/main/python/upgradeHelper.py",
line 1161, in main
Options.REPORT_FILE = options.report
AttributeError: type object 'options' has no attribute 'report'


Bugs: AMBARI-8714
    https://issues.apache.org/jira/browse/AMBARI-8714


Repository: ambari


Description
-------

Use upgradeHelper.py to allow adding new properties from 2.1/2.0 to 2.2 upgrade.
this issue created as commit issue for trunk


Diffs (updated)
-----

  ambari-server/pom.xml f1170c9 
  ambari-server/src/main/python/UpgradeHelper_HDP2.py 396ec2b 
  ambari-server/src/main/python/upgradeHelper.py PRE-CREATION 
  ambari-server/src/main/resources/upgrade/catalog/UpgradeCatalog_1.3_to_2.2.json PRE-CREATION

  ambari-server/src/test/python/TestUpgradeHelper.py PRE-CREATION 
  ambari-server/src/test/python/TestUpgradeScript_HDP2.py 36ce54c 

Diff: https://reviews.apache.org/r/29052/diff/


Testing
-------

[INFO] Ambari Views ...................................... SUCCESS [4.160s]
[INFO] Ambari Server ..................................... SUCCESS [27.432s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 32.198s
[INFO] Finished at: Mon Dec 15 19:27:28 FET 2014
[INFO] Final Memory: 47M/408M
[INFO] ------------------------------------------------------------------------


Thanks,

Dmitro Lisnichenko


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