ambari
ambari copied to clipboard
AMBARI-25930 : Fix for test_hbase_master.py failure for Python 3
In the patch for upgrade to python3 AMBARI-25854, mode correction is missed in hbase_master.py file, due to which all python test cases inside test_hbase_master are getting failed.
Yes we have lot of such issues that can be fixed while moving to python 3. Is this change backward compatible with python 2?
Hi @virajjasani, This PR is a part of upgrading the scripts to python-3 provided with PR#3681 through AMBARI-25854 I haven't observed the failures on python2, but are being observed on python-3 as some python3 changes were missed in the patch. Will ask @wuzhuoming to consider the test-case fixes as part of the original PR and close this one.