[jira] [Created] (AMBARI-21040) try to build ambari on windows in cygwin, but I failed.
kevin.chen created AMBARI-21040: --- Summary: try to build ambari on windows in cygwin, but I failed. Key: AMBARI-21040 URL: https://issues.apache.org/jira/browse/AMBARI-21040 Project: Ambari Issue Type: Bug Components: ambari-trunk Environment: windows Reporter: kevin.chen I try to build ambari on windows. but I found I can't build ambari-metrics. [ERROR] around Ant part ...https://msibuilds.blob.core.windows.net/hdp/2.x/2.2.4.2/2/hbase-0.98.4.2.2.4.2-0002-hadoop2.winpkg.zip; dest="C:\cygwin64\home\chenk19\ambari\ambari-metrics\ambari-metrics-timelineservice\target/embedded/hbase.zip"/>... @ 5:249 in C:\cygwin64\home\chenk19\ambari\ambari-metrics\ambari-metrics-timelineservice\target\antrun\build-Download HBase.xml [ERROR] -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.7:run (hbase_download) on project ambari-metrics-timelineservice: An Ant BuildException has occured: Can't get https://msibuilds.blob.core.windows.net/hdp/2.x/2.2.4.2/2/hbase-0.98.4.2.2.4.2-0002-hadoop2.winpkg.zip to C:\cygwin64\home\chenk19\ambari\ambari-metrics\ambari-metrics-timelineservice\target\embedded\hbase.zip around Ant part ...https://msibuilds.blob.core.windows.net/hdp/2.x/2.2.4.2/2/hbase-0.98.4.2.2.4.2-0002-hadoop2.winpkg.zip; dest="C:\cygwin64\home\chenk19\ambari\ambari-metrics\ambari-metrics-timelineservice\target/embedded/hbase.zip"/>... @ 5:249 in C:\cygwin64\home\chenk19\ambari\ambari-metrics\ambari-metrics-timelineservice\target\antrun\build-Download HBase.xml the reason is the following website is not exists. https://msibuilds.blob.core.windows.net/hdp/2.x/2.2.4.2/2/hbase-0.98.4.2.2.4.2-0002-hadoop2.winpkg.zip -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (AMBARI-19646) AMBARI Java services do not resolve localhost FQDN properly in some cases
[ https://issues.apache.org/jira/browse/AMBARI-19646?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15871237#comment-15871237 ] kevin.chen commented on AMBARI-19646: - hi Piotr Tylenda I don't think this is a problem, the standard configuration is like this 127.0.0.1 some-ambari-server.org localhost > AMBARI Java services do not resolve localhost FQDN properly in some cases > - > > Key: AMBARI-19646 > URL: https://issues.apache.org/jira/browse/AMBARI-19646 > Project: Ambari > Issue Type: Bug > Components: ambari-server >Affects Versions: 2.4.2 > Environment: Ubuntu 14 LTS > HDP 2.5.3.0-37 >Reporter: Piotr Tylenda >Assignee: kevin.chen >Priority: Minor > > When installing hive client I have noticed the following problem in the logs: > {code} > Traceback (most recent call last): > File > "/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/hive_client.py", > line 68, in > HiveClient().execute() > File > "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", > line 280, in execute > method(env) > File > "/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/hive_client.py", > line 35, in install > self.configure(env) > File > "/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/hive_client.py", > line 43, in configure > hive(name='client') > File "/usr/lib/python2.6/site-packages/ambari_commons/os_family_impl.py", > line 89, in thunk > return fn(*args, **kwargs) > File > "/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/hive.py", > line 282, in hive > mode = 0644, > File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", > line 155, in __init__ > self.env.run() > File > "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", > line 160, in run > self.run_action(resource, action) > File > "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", > line 124, in run_action > provider_action() > File > "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py", > line 123, in action_create > content = self._get_content() > File > "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py", > line 160, in _get_content > return content() > File "/usr/lib/python2.6/site-packages/resource_management/core/source.py", > line 51, in __call__ > return self.get_content() > File "/usr/lib/python2.6/site-packages/resource_management/core/source.py", > line 193, in get_content > web_file = opener.open(req) > File "/usr/lib/python2.7/urllib2.py", line 404, in open > response = self._open(req, data) > File "/usr/lib/python2.7/urllib2.py", line 422, in _open > '_open', req) > File "/usr/lib/python2.7/urllib2.py", line 382, in _call_chain > result = func(*args) > File "/usr/lib/python2.7/urllib2.py", line 1214, in http_open > return self.do_open(httplib.HTTPConnection, req) > File "/usr/lib/python2.7/urllib2.py", line 1184, in do_open > raise URLError(err) > urllib2.URLError: > {code} > Which was caused by: > {code} > 2017-01-19 16:00:55,016 - > File['/usr/lib/ambari-agent/DBConnectionVerification.jar'] {'content': > DownloadSource('http://localhost:8080/resources/DBConnectionVerification.jar'), > 'mode': 0644} > {code} > I have searched through the python files and have found that jdk_location in > ambari properties is set to "http://localhost:8080/resources;. > This property is resolved in this file > https://github.com/apache/ambari/blob/ddcc13b40902f7fc9144bcaa2af5b54d85442dfa/ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariManagementControllerImpl.java > After that I have tested how this java code behaves on the ambari server > machine: > {code} > InetAddress.getLocalHost().getCanonicalHostName(); > {code} > The result is "localhost" (not as expected) > For command > {code} > hostname -f > {code} > returns "some-ambari-server.org" (as expected) > Python code > {code} > python -c 'import socket; print(socket.getfqdn())' > {code} > returns "some-ambari-server.org" (as expected) > It seems that such entry in /etc/hosts > {code} > 127.0.0.1 localhost some-ambari-server.org > {code} > causes this situation and changing this to > {code} > 127.0.0.1 some-ambari-server.org localhost > {code} > fixed the issue. > I am not sure if it is actually something that should be fixed in code or > mentioned in docs - it makes the ambari environment partially stable, apart > from the parts which require jdk_location property. -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Assigned] (AMBARI-19646) AMBARI Java services do not resolve localhost FQDN properly in some cases
[ https://issues.apache.org/jira/browse/AMBARI-19646?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] kevin.chen reassigned AMBARI-19646: --- Assignee: kevin.chen > AMBARI Java services do not resolve localhost FQDN properly in some cases > - > > Key: AMBARI-19646 > URL: https://issues.apache.org/jira/browse/AMBARI-19646 > Project: Ambari > Issue Type: Bug > Components: ambari-server >Affects Versions: 2.4.2 > Environment: Ubuntu 14 LTS > HDP 2.5.3.0-37 >Reporter: Piotr Tylenda >Assignee: kevin.chen >Priority: Minor > > When installing hive client I have noticed the following problem in the logs: > {code} > Traceback (most recent call last): > File > "/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/hive_client.py", > line 68, in > HiveClient().execute() > File > "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", > line 280, in execute > method(env) > File > "/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/hive_client.py", > line 35, in install > self.configure(env) > File > "/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/hive_client.py", > line 43, in configure > hive(name='client') > File "/usr/lib/python2.6/site-packages/ambari_commons/os_family_impl.py", > line 89, in thunk > return fn(*args, **kwargs) > File > "/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/hive.py", > line 282, in hive > mode = 0644, > File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", > line 155, in __init__ > self.env.run() > File > "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", > line 160, in run > self.run_action(resource, action) > File > "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", > line 124, in run_action > provider_action() > File > "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py", > line 123, in action_create > content = self._get_content() > File > "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py", > line 160, in _get_content > return content() > File "/usr/lib/python2.6/site-packages/resource_management/core/source.py", > line 51, in __call__ > return self.get_content() > File "/usr/lib/python2.6/site-packages/resource_management/core/source.py", > line 193, in get_content > web_file = opener.open(req) > File "/usr/lib/python2.7/urllib2.py", line 404, in open > response = self._open(req, data) > File "/usr/lib/python2.7/urllib2.py", line 422, in _open > '_open', req) > File "/usr/lib/python2.7/urllib2.py", line 382, in _call_chain > result = func(*args) > File "/usr/lib/python2.7/urllib2.py", line 1214, in http_open > return self.do_open(httplib.HTTPConnection, req) > File "/usr/lib/python2.7/urllib2.py", line 1184, in do_open > raise URLError(err) > urllib2.URLError: > {code} > Which was caused by: > {code} > 2017-01-19 16:00:55,016 - > File['/usr/lib/ambari-agent/DBConnectionVerification.jar'] {'content': > DownloadSource('http://localhost:8080/resources/DBConnectionVerification.jar'), > 'mode': 0644} > {code} > I have searched through the python files and have found that jdk_location in > ambari properties is set to "http://localhost:8080/resources;. > This property is resolved in this file > https://github.com/apache/ambari/blob/ddcc13b40902f7fc9144bcaa2af5b54d85442dfa/ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariManagementControllerImpl.java > After that I have tested how this java code behaves on the ambari server > machine: > {code} > InetAddress.getLocalHost().getCanonicalHostName(); > {code} > The result is "localhost" (not as expected) > For command > {code} > hostname -f > {code} > returns "some-ambari-server.org" (as expected) > Python code > {code} > python -c 'import socket; print(socket.getfqdn())' > {code} > returns "some-ambari-server.org" (as expected) > It seems that such entry in /etc/hosts > {code} > 127.0.0.1 localhost some-ambari-server.org > {code} > causes this situation and changing this to > {code} > 127.0.0.1 some-ambari-server.org localhost > {code} > fixed the issue. > I am not sure if it is actually something that should be fixed in code or > mentioned in docs - it makes the ambari environment partially stable, apart > from the parts which require jdk_location property. -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Assigned] (AMBARI-19046) Ambari ResourceManager alerts not working with ResourceManager HA
[ https://issues.apache.org/jira/browse/AMBARI-19046?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] kevin.chen reassigned AMBARI-19046: --- Assignee: kevin.chen > Ambari ResourceManager alerts not working with ResourceManager HA > - > > Key: AMBARI-19046 > URL: https://issues.apache.org/jira/browse/AMBARI-19046 > Project: Ambari > Issue Type: Bug > Components: alerts >Affects Versions: 2.2.2 >Reporter: Thomas Larsson >Assignee: kevin.chen >Priority: Minor > > When enabling ResourceManager HA, alerts such as "ResourceManager CPU > utilisation" become aware that there are two RM's to check. > However, when the alert queries the standby RM it will just respond with a > http 307 redirect and the alert will end up in an "Unknown" state. > This means that after RM HA is enabled, either you live with these alert > constantly alerting, or you disable them. > Perhaps this is unsolvable without changes to the RM but I'll create the > ticket here as the first place. > The alerts that we had to disable are: > * ResourceManager CPU Utilization > * ResourceManager RPC Latency > * NodeManager Health Summary -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (AMBARI-18300) Recommended Ambari Metric configurations warning keeps appearing
[ https://issues.apache.org/jira/browse/AMBARI-18300?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15714078#comment-15714078 ] kevin.chen commented on AMBARI-18300: - hi Lim I just checked the environment , I found I can't reproduce this issue on the ambari 2.4.1.0. Can you check this in your environment again? if it is not reproduced , please close it. > Recommended Ambari Metric configurations warning keeps appearing > > > Key: AMBARI-18300 > URL: https://issues.apache.org/jira/browse/AMBARI-18300 > Project: Ambari > Issue Type: Bug > Components: ambari-server >Affects Versions: 2.2.0 > Environment: Redhat 7.2 >Reporter: LIM BENG SEE >Assignee: kevin.chen >Priority: Minor > > For first time configuration, Ambari recommended (eg: AMBARI_METRICS) > hbase_master_heapsize to be set to 6309 MB. > With the recommendation, user has set accordingly to 6309 MB. > However, the same warning pop-up again after setting to 6309 MB, > and user is confused with the warning, even though there is an option to > proceed anyway. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Assigned] (AMBARI-18300) Recommended Ambari Metric configurations warning keeps appearing
[ https://issues.apache.org/jira/browse/AMBARI-18300?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] kevin.chen reassigned AMBARI-18300: --- Assignee: kevin.chen > Recommended Ambari Metric configurations warning keeps appearing > > > Key: AMBARI-18300 > URL: https://issues.apache.org/jira/browse/AMBARI-18300 > Project: Ambari > Issue Type: Bug > Components: ambari-server >Affects Versions: 2.2.0 > Environment: Redhat 7.2 >Reporter: LIM BENG SEE >Assignee: kevin.chen >Priority: Minor > > For first time configuration, Ambari recommended (eg: AMBARI_METRICS) > hbase_master_heapsize to be set to 6309 MB. > With the recommendation, user has set accordingly to 6309 MB. > However, the same warning pop-up again after setting to 6309 MB, > and user is confused with the warning, even though there is an option to > proceed anyway. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (AMBARI-18381) Kafka alerts fail if more than one listener is configured
[ https://issues.apache.org/jira/browse/AMBARI-18381?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15690365#comment-15690365 ] kevin.chen commented on AMBARI-18381: - can I work on this issue? > Kafka alerts fail if more than one listener is configured > - > > Key: AMBARI-18381 > URL: https://issues.apache.org/jira/browse/AMBARI-18381 > Project: Ambari > Issue Type: Bug > Components: ambari-server >Affects Versions: 2.2.2 >Reporter: Carson Gaspar >Priority: Minor > > If more than one kafka listener is configured (e.g. > PLAINTEXTSASL://localhost:6667, PLAINTEXT://127.0.0.1:6668), the alert > definition configures a PORT test with the whole string, which appears to get > parsed with the first hostname and the last port. This causes the test to > fail. If there's a way to modify {{kafka-broker/listeners}} so that it splits > on the first comma, or some other workaround, I can't figure it out. -- This message was sent by Atlassian JIRA (v6.3.4#6332)