You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by Dmytro Sen <ds...@hortonworks.com> on 2015/09/11 11:51:48 UTC

Review Request 38295: Unit test failure test_recommendAmsConfigurations

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

Review request for Ambari and Vitalyi Brodetskyi.


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


Repository: ambari


Description
-------

ailed tests:
FAIL: test_recommendAmsConfigurations (test_stack_advisor.TestHDP22StackAdvisor)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/ambari-server/src/test/python/stacks/2.2/common/test_stack_advisor.py", line 1999, in test_recommendAmsConfigurations
    self.assertEquals(configurations, expected)
AssertionError: {'ams-env': {'properties': {'metrics_collector_heapsize': '512m'}}, 'ams-hbase-e [truncated]... != {'ams-env': {'properties': {'metrics_collector_heapsize': '512m'}}, 'ams-hbase-e [truncated]...
  {'ams-env': {'properties': {'metrics_collector_heapsize': '512m'}},
   'ams-hbase-env': {'properties': {'hbase_master_heapsize': '540m'}},
   'ams-hbase-site': {'properties': {'hbase.hregion.memstore.flush.size': '134217728',
                                     'hbase.regionserver.global.memstore.lowerLimit': '0.3',
                                     'hbase.regionserver.global.memstore.upperLimit': '0.35',
                                     'hbase.rootdir': 'file:///var/lib/ambari-metrics-collector/hbase',
                                     'hbase.tmp.dir': '/var/lib/ambari-metrics-collector/hbase-tmp',
                                     'hbase_master_xmn_size': '128m',
                                     'hfile.block.cache.size': '0.3'}},
-  'ams-site': {'properties': {'timeline.metrics.cluster.aggregate.splitpoints': ' ',
?                                                                                 -

+  'ams-site': {'properties': {'timeline.metrics.cluster.aggregate.splitpoints': '',
-                              'timeline.metrics.host.aggregate.splitpoints': ' ',
?                                                                              -


Diffs
-----

  ambari-server/src/test/python/stacks/2.2/common/test_stack_advisor.py 6ce40ea 

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


Testing
-------

----------------------------------------------------------------------
Ran 240 tests in 8.148s

OK
----------------------------------------------------------------------
Total run:793
Total errors:0
Total failures:0
OK


Thanks,

Dmytro Sen


Re: Review Request 38295: Unit test failure test_recommendAmsConfigurations

Posted by Vitalyi Brodetskyi <vb...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/38295/#review98586
-----------------------------------------------------------

Ship it!


Ship It!

- Vitalyi Brodetskyi


On Вер. 11, 2015, 9:51 до полудня, Dmytro Sen wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/38295/
> -----------------------------------------------------------
> 
> (Updated Вер. 11, 2015, 9:51 до полудня)
> 
> 
> Review request for Ambari and Vitalyi Brodetskyi.
> 
> 
> Bugs: AMBARI-13071
>     https://issues.apache.org/jira/browse/AMBARI-13071
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> ailed tests:
> FAIL: test_recommendAmsConfigurations (test_stack_advisor.TestHDP22StackAdvisor)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/ambari-server/src/test/python/stacks/2.2/common/test_stack_advisor.py", line 1999, in test_recommendAmsConfigurations
>     self.assertEquals(configurations, expected)
> AssertionError: {'ams-env': {'properties': {'metrics_collector_heapsize': '512m'}}, 'ams-hbase-e [truncated]... != {'ams-env': {'properties': {'metrics_collector_heapsize': '512m'}}, 'ams-hbase-e [truncated]...
>   {'ams-env': {'properties': {'metrics_collector_heapsize': '512m'}},
>    'ams-hbase-env': {'properties': {'hbase_master_heapsize': '540m'}},
>    'ams-hbase-site': {'properties': {'hbase.hregion.memstore.flush.size': '134217728',
>                                      'hbase.regionserver.global.memstore.lowerLimit': '0.3',
>                                      'hbase.regionserver.global.memstore.upperLimit': '0.35',
>                                      'hbase.rootdir': 'file:///var/lib/ambari-metrics-collector/hbase',
>                                      'hbase.tmp.dir': '/var/lib/ambari-metrics-collector/hbase-tmp',
>                                      'hbase_master_xmn_size': '128m',
>                                      'hfile.block.cache.size': '0.3'}},
> -  'ams-site': {'properties': {'timeline.metrics.cluster.aggregate.splitpoints': ' ',
> ?                                                                                 -
> 
> +  'ams-site': {'properties': {'timeline.metrics.cluster.aggregate.splitpoints': '',
> -                              'timeline.metrics.host.aggregate.splitpoints': ' ',
> ?                                                                              -
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/test/python/stacks/2.2/common/test_stack_advisor.py 6ce40ea 
> 
> Diff: https://reviews.apache.org/r/38295/diff/
> 
> 
> Testing
> -------
> 
> ----------------------------------------------------------------------
> Ran 240 tests in 8.148s
> 
> OK
> ----------------------------------------------------------------------
> Total run:793
> Total errors:0
> Total failures:0
> OK
> 
> 
> Thanks,
> 
> Dmytro Sen
> 
>