Przeglądaj źródła

AMBARI-11538. Ambari does not warn if hive tez container size exceeds yarn container max size - HDP-2.1 test fix

Srimanth Gunturi 10 lat temu
rodzic
commit
ad5b545248

+ 1 - 1
ambari-server/src/test/python/stacks/2.1/common/test_stack_advisor.py

@@ -265,7 +265,7 @@ class TestHDP21StackAdvisor(TestCase):
     # 2) fail: yarn.scheduler.maximum-allocation-mb < hive.tez.container.size
     configurations = {'yarn-site': {'properties': {'yarn.scheduler.maximum-allocation-mb': '256'}}}
     res_expected = [{'config-type': 'hive-site',
-                     'message': 'yarn.scheduler.maximum-allocation-mb is less than hive.tez.container.size',
+                     'message': 'hive.tez.container.size is greater than the maximum container size specified in yarn.scheduler.maximum-allocation-mb',
                      'type': 'configuration',
                      'config-name': 'hive.tez.container.size',
                      'level': 'WARN'},