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

Review request for Ambari, Aravindan Vijayan and Sid Wagle.


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


Repository: ambari


Description
-------

On adding additional Collector the webapp address contains wrong hostname.

java.net.BindException: Port in use: ambari-sid-5.com:6188
        at 
org.apache.hadoop.http.HttpServer2.openListeners(HttpServer2.java:919)
        at org.apache.hadoop.http.HttpServer2.start(HttpServer2.java:856)
        at org.apache.hadoop.yarn.webapp.WebApps$Builder.start(WebApps.java:374)
        at 
org.apache.hadoop.yarn.server.applicationhistoryservice.ApplicationHistoryServer.startWebApp(ApplicationHistoryServer.java:180)
        at 
org.apache.hadoop.yarn.server.applicationhistoryservice.ApplicationHistoryServer.serviceStart(ApplicationHistoryServer.java:92)
        at 
org.apache.hadoop.service.AbstractService.start(AbstractService.java:193)
        at 
org.apache.hadoop.yarn.server.applicationhistoryservice.ApplicationHistoryServer.launchAppHistoryServer(ApplicationHistoryServer.java:138)
        at 
org.apache.hadoop.yarn.server.applicationhistoryservice.ApplicationHistoryServer.main(ApplicationHistoryServer.java:147)
Caused by: java.net.BindException: Cannot assign requested address

Stop storing collector hostnames in timeline.metrics.service.webapp.address 
property


Diffs
-----

  ambari-agent/src/test/python/ambari_agent/TestAlerts.py e114daa 
  ambari-common/src/main/python/ambari_commons/ambari_metrics_helper.py 
PRE-CREATION 
  
ambari-server/src/main/resources/common-services/ACCUMULO/1.6.1.2.2.0/package/scripts/params.py
 7352f33 
  
ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/configuration/ams-site.xml
 c02df71 
  
ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/package/scripts/params.py
 fc95aa7 
  
ambari-server/src/main/resources/common-services/FLUME/1.4.0.2.0/package/scripts/params.py
 fe00140 
  
ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/package/scripts/params_linux.py
 f3643b1 
  
ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/package/alerts/alert_metrics_deviation.py
 f0a1d5c 
  
ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/params_linux.py
 37e2426 
  
ambari-server/src/main/resources/common-services/KAFKA/0.8.1/package/scripts/params.py
 d5451b2 
  
ambari-server/src/main/resources/common-services/STORM/0.9.1/package/scripts/params_linux.py
 d0ac3a4 
  
ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-START/scripts/params.py
 699c51f 
  ambari-server/src/main/resources/stacks/HDP/2.0.6/services/stack_advisor.py 
7133c27 
  
ambari-server/src/main/resources/stacks/HDPWIN/2.1/hooks/before-START/scripts/params.py
 5bd2a9e 
  
ambari-server/src/test/java/org/apache/ambari/server/controller/internal/BlueprintConfigurationProcessorTest.java
 2c32f7c 
  
ambari-server/src/test/python/stacks/2.0.6/HDFS/test_alert_metrics_deviation.py 
5bfbfc6 
  ambari-server/src/test/python/stacks/2.0.6/configs/default.json 28624fd 
  ambari-server/src/test/python/stacks/2.0.6/configs/default_ams_embedded.json 
ceedb67 
  ambari-server/src/test/python/stacks/2.0.6/configs/default_hive_non_hdfs.json 
3692691 
  ambari-server/src/test/python/stacks/2.0.6/configs/default_with_bucket.json 
54172f3 
  ambari-server/src/test/python/stacks/2.2/common/test_stack_advisor.py 081a66a 
  
ambari-server/src/test/python/stacks/2.2/configs/journalnode-upgrade-hdfs-secure.json
 7b07d87 
  ambari-server/src/test/python/stacks/2.2/configs/journalnode-upgrade.json 
cf84bb7 
  ambari-server/src/test/python/stacks/2.2/configs/ranger-admin-upgrade.json 
6874db5 
  ambari-server/src/test/python/stacks/2.2/configs/ranger-usersync-upgrade.json 
0f5d647 
  ambari-server/src/test/python/stacks/2.3/configs/ats_1_5.json c64ca14 
  ambari-server/src/test/python/stacks/2.5/configs/hsi_default.json 78a0d04 
  
contrib/views/slider/src/main/java/org/apache/ambari/view/slider/SliderAppsViewControllerImpl.java
 42bd3ba 

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


Testing
-------

Unit tests passed


Thanks,

Dmytro Sen

Reply via email to