소스 검색

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

Srimanth Gunturi 10 년 전
부모
커밋
ad5b545248
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      ambari-server/src/test/python/stacks/2.1/common/test_stack_advisor.py

+ 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'},