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 (JIRA)" <ji...@apache.org> on 2015/11/05 17:00:29 UTC

[jira] [Updated] (AMBARI-13745) Unit test test_recommendAmsConfigurations fails

     [ https://issues.apache.org/jira/browse/AMBARI-13745?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dmytro Sen updated AMBARI-13745:
--------------------------------
    Attachment: AMBARI-13745-trunk.patch

> Unit test test_recommendAmsConfigurations fails
> -----------------------------------------------
>
>                 Key: AMBARI-13745
>                 URL: https://issues.apache.org/jira/browse/AMBARI-13745
>             Project: Ambari
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 2.1.3
>            Reporter: Dmytro Sen
>            Assignee: Dmytro Sen
>             Fix For: 2.1.3
>
>         Attachments: AMBARI-13745-trunk.patch
>
>
> {code}
> FAIL: test_recommendAmsConfigurations (test_stack_advisor.TestHDP22StackAdvisor)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/home/dmitry/ambari/ambari-server/src/test/python/stacks/2.2/common/test_stack_advisor.py", line 2159, in test_recommendAmsConfigurations
>     self.assertEquals(configurations, expected)
> AssertionError: {'ams-env': {'properties': {'metrics_collector_heapsize': '640'}}, 'ams-hbase-en [truncated]... != {'ams-env': {'properties': {'metrics_collector_heapsize': '640'}}, 'ams-hbase-en [truncated]...
>   {'ams-env': {'properties': {'metrics_collector_heapsize': '640'}},
>    'ams-hbase-env': {'properties': {'hbase_master_heapsize': '4096',
>                                     'hbase_master_xmn_size': '448'}},
>    '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',
>                                      'hfile.block.cache.size': '0.3',
>                                      'phoenix.coprocessor.maxMetaDataCacheSize': '20480000'}},
>    'ams-site': {'properties': {'timeline.metrics.cluster.aggregate.splitpoints': ' ',
> -                              'timeline.metrics.host.aggregate.splitpoints': 'master.Server.numDeadRegionServers',
> +                              'timeline.metrics.host.aggregate.splitpoints': 'jvm.JvmMetrics.MemHeapCommittedM,regionserver.Server.Increment_median',
>                                'timeline.metrics.host.aggregator.ttl': '86400'}}}
> ----------------------------------------------------------------------
> Total run:862
> Total errors:0
> Total failures:1
> ERROR
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)