[
https://issues.apache.org/jira/browse/AMBARI-21301?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ali Bajwa updated AMBARI-21301:
-------------------------------
Description:
Attempting to "Download all client configs" via ambari Actions menu, results in
error.
This is the URL that it opens:
https://<ambari_host>:8443/api/v1/clusters/<mycluster>/components?format=client_config_tar
Here is the error
{code}
"status" : 500,
"message" : "org.apache.ambari.server.controller.spi.SystemException:
/var/lib/ambari-server/data/tmp/INFRA_SOLR_CLIENT-configs.tar.gz (No such file
or directory)"
{code}
Here are contents of the dir
{quote}$ ls /var/lib/ambari-server/data/tmp/
HBASE_CLIENT-configuration.json
HCAT-configuration.json
HDFS_CLIENT-configuration.json
HDP-Sec-JMK-SME-117(CLUSTER)-configs.tar.gz
HIVE_CLIENT-configuration.json
INFRA_SOLR_CLIENT-configuration.json
jetty-0.0.0.0-8443-ADMIN_VIEW.2.5.0.3.-_views_ADMIN_VIEW_2.5.0.3_INSTANCE-any-
jetty-0.0.0.0-8443-CAPACITY-SCHEDULER.1.0.0.-_views_CAPACITY-SCHEDULER_1.0.0_AUTO_CS_INSTANCE-any-
jetty-0.0.0.0-8443-FILES.1.0.0.-_views_FILES_1.0.0_AUTO_FILES_INSTANCE-any-
jetty-0.0.0.0-8443-HIVE.1.5.0.-_views_HIVE_1.5.0_AUTO_HIVE_INSTANCE-any-
jetty-0.0.0.0-8443-HIVE.2.0.0.-_views_HIVE_2.0.0_AUTO_HIVE20_INSTANCE-any-
jetty-0.0.0.0-8443-TEZ.0.7.0.2.6.0.3-8.-_views_TEZ_0.7.0.2.6.0.3-8_TEZ_CLUSTER_INSTANCE-any-
KERBEROS_CLIENT-configuration.json
MAPREDUCE2_CLIENT-configuration.json
PIG-configuration.json
SLIDER-configuration.json
TEZ_CLIENT-configuration.json
YARN_CLIENT-configuration.json
ZOOKEEPER_CLIENT-configuration.json{quote}
Log doesn't show the error:
{quote}21 Jun 2017 21:11:23,746 ERROR
[ambari-metrics-retrieval-service-thread-833] URLStreamProvider:245 - Received
HTTP 403 response from URL:
http://ip-172-30-0-117.us-west-2.compute.internal:50070/jmx?get=Hadoop:service=NameNode,name=FSNamesystem::tag.HAState
21 Jun 2017 21:11:23,749 ERROR [ambari-metrics-retrieval-service-thread-832]
URLStreamProvider:245 - Received HTTP 403 response from URL:
http://ip-172-30-0-117.us-west-2.compute.internal:50070/jmx
21 Jun 2017 21:11:23,751 ERROR [ambari-client-thread-28] URLStreamProvider:245
- Received HTTP 403 response from URL:
http://ip-172-30-0-135.us-west-2.compute.internal:8088/ws/v1/cluster/info
21 Jun 2017 21:11:23,752 ERROR [ambari-metrics-retrieval-service-thread-833]
URLStreamProvider:245 - Received HTTP 403 response from URL:
http://ip-172-30-0-135.us-west-2.compute.internal:8088/jmx
21 Jun 2017 21:11:23,754 ERROR [ambari-metrics-retrieval-service-thread-831]
URLStreamProvider:245 - Received HTTP 403 response from URL:
http://ip-172-30-0-135.us-west-2.compute.internal:19888/jmx
21 Jun 2017 21:11:28,047 INFO [ambari-client-thread-3329] Configuration:2985 -
Reading password from existing file
21 Jun 2017 21:11:28,048 INFO [ambari-client-thread-3329] Configuration:2996 -
API SSL Authentication is turned on.
21 Jun 2017 21:11:28,048 INFO [ambari-client-thread-3329] Configuration:3001 -
Reading password from existing file
21 Jun 2017 21:11:30,937 ERROR [ambari-metrics-retrieval-service-thread-833]
URLStreamProvider:245 - Received HTTP 403 response from URL:
http://ip-172-30-0-117.us-west-2.compute.internal:50070/jmx
21 Jun 2017 21:11:30,940 ERROR [ambari-client-thread-3367]
URLStreamProvider:245 - Received HTTP 403 response from URL:
http://ip-172-30-0-135.us-west-2.compute.internal:8088/ws/v1/cluster/info
21 Jun 2017 21:11:30,979 ERROR [ambari-metrics-retrieval-service-thread-833]
URLStreamProvider:245 - Received HTTP 403 response from URL:
http://ip-172-30-0-135.us-west-2.compute.internal:8088/jmx
21 Jun 2017 21:11:30,980 ERROR [ambari-metrics-retrieval-service-thread-834]
URLStreamProvider:245 - Received HTTP 403 response from URL:
http://ip-172-30-0-117.us-west-2.compute.internal:50070/jmx?get=Hadoop:service=NameNode,name=FSNamesystem::tag.HAState
21 Jun 2017 21:11:30,990 ERROR [ambari-metrics-retrieval-service-thread-832]
URLStreamProvider:245 - Received HTTP 403 response from URL:
http://ip-172-30-0-135.us-west-2.compute.internal:19888/jmx{quote}
was:
Attempting to "Download all client configs" via ambari Actions menu, results in
error.
This is the URL that it opens:
https://<ambari_host>:8443/api/v1/clusters/<mycluster>/components?format=client_config_tar
Here is the error
{quote}
{
"status" : 500,
"message" : "org.apache.ambari.server.controller.spi.SystemException:
/var/lib/ambari-server/data/tmp/INFRA_SOLR_CLIENT-configs.tar.gz (No such file
or directory)"
}
{quote}
Here are contents of the dir
{quote}$ ls /var/lib/ambari-server/data/tmp/
HBASE_CLIENT-configuration.json
HCAT-configuration.json
HDFS_CLIENT-configuration.json
HDP-Sec-JMK-SME-117(CLUSTER)-configs.tar.gz
HIVE_CLIENT-configuration.json
INFRA_SOLR_CLIENT-configuration.json
jetty-0.0.0.0-8443-ADMIN_VIEW.2.5.0.3.-_views_ADMIN_VIEW_2.5.0.3_INSTANCE-any-
jetty-0.0.0.0-8443-CAPACITY-SCHEDULER.1.0.0.-_views_CAPACITY-SCHEDULER_1.0.0_AUTO_CS_INSTANCE-any-
jetty-0.0.0.0-8443-FILES.1.0.0.-_views_FILES_1.0.0_AUTO_FILES_INSTANCE-any-
jetty-0.0.0.0-8443-HIVE.1.5.0.-_views_HIVE_1.5.0_AUTO_HIVE_INSTANCE-any-
jetty-0.0.0.0-8443-HIVE.2.0.0.-_views_HIVE_2.0.0_AUTO_HIVE20_INSTANCE-any-
jetty-0.0.0.0-8443-TEZ.0.7.0.2.6.0.3-8.-_views_TEZ_0.7.0.2.6.0.3-8_TEZ_CLUSTER_INSTANCE-any-
KERBEROS_CLIENT-configuration.json
MAPREDUCE2_CLIENT-configuration.json
PIG-configuration.json
SLIDER-configuration.json
TEZ_CLIENT-configuration.json
YARN_CLIENT-configuration.json
ZOOKEEPER_CLIENT-configuration.json{quote}
Log doesn't show the error:
{quote}21 Jun 2017 21:11:23,746 ERROR
[ambari-metrics-retrieval-service-thread-833] URLStreamProvider:245 - Received
HTTP 403 response from URL:
http://ip-172-30-0-117.us-west-2.compute.internal:50070/jmx?get=Hadoop:service=NameNode,name=FSNamesystem::tag.HAState
21 Jun 2017 21:11:23,749 ERROR [ambari-metrics-retrieval-service-thread-832]
URLStreamProvider:245 - Received HTTP 403 response from URL:
http://ip-172-30-0-117.us-west-2.compute.internal:50070/jmx
21 Jun 2017 21:11:23,751 ERROR [ambari-client-thread-28] URLStreamProvider:245
- Received HTTP 403 response from URL:
http://ip-172-30-0-135.us-west-2.compute.internal:8088/ws/v1/cluster/info
21 Jun 2017 21:11:23,752 ERROR [ambari-metrics-retrieval-service-thread-833]
URLStreamProvider:245 - Received HTTP 403 response from URL:
http://ip-172-30-0-135.us-west-2.compute.internal:8088/jmx
21 Jun 2017 21:11:23,754 ERROR [ambari-metrics-retrieval-service-thread-831]
URLStreamProvider:245 - Received HTTP 403 response from URL:
http://ip-172-30-0-135.us-west-2.compute.internal:19888/jmx
21 Jun 2017 21:11:28,047 INFO [ambari-client-thread-3329] Configuration:2985 -
Reading password from existing file
21 Jun 2017 21:11:28,048 INFO [ambari-client-thread-3329] Configuration:2996 -
API SSL Authentication is turned on.
21 Jun 2017 21:11:28,048 INFO [ambari-client-thread-3329] Configuration:3001 -
Reading password from existing file
21 Jun 2017 21:11:30,937 ERROR [ambari-metrics-retrieval-service-thread-833]
URLStreamProvider:245 - Received HTTP 403 response from URL:
http://ip-172-30-0-117.us-west-2.compute.internal:50070/jmx
21 Jun 2017 21:11:30,940 ERROR [ambari-client-thread-3367]
URLStreamProvider:245 - Received HTTP 403 response from URL:
http://ip-172-30-0-135.us-west-2.compute.internal:8088/ws/v1/cluster/info
21 Jun 2017 21:11:30,979 ERROR [ambari-metrics-retrieval-service-thread-833]
URLStreamProvider:245 - Received HTTP 403 response from URL:
http://ip-172-30-0-135.us-west-2.compute.internal:8088/jmx
21 Jun 2017 21:11:30,980 ERROR [ambari-metrics-retrieval-service-thread-834]
URLStreamProvider:245 - Received HTTP 403 response from URL:
http://ip-172-30-0-117.us-west-2.compute.internal:50070/jmx?get=Hadoop:service=NameNode,name=FSNamesystem::tag.HAState
21 Jun 2017 21:11:30,990 ERROR [ambari-metrics-retrieval-service-thread-832]
URLStreamProvider:245 - Received HTTP 403 response from URL:
http://ip-172-30-0-135.us-west-2.compute.internal:19888/jmx{quote}
> Attempting to "Download all client configs" via ambari Actions menu, results
> in error
> -------------------------------------------------------------------------------------
>
> Key: AMBARI-21301
> URL: https://issues.apache.org/jira/browse/AMBARI-21301
> Project: Ambari
> Issue Type: Bug
> Components: ambari-infra
> Affects Versions: 2.5.0
> Environment: Ambari version: ambari-server-2.5.0.3-7.x86_64
> HDP version: 2.6.1.0-129
> Kerberos enabled: yes
> SSL for ambari is enabled
> Reporter: Ali Bajwa
> Priority: Critical
>
> Attempting to "Download all client configs" via ambari Actions menu, results
> in error.
> This is the URL that it opens:
> https://<ambari_host>:8443/api/v1/clusters/<mycluster>/components?format=client_config_tar
> Here is the error
> {code}
> "status" : 500,
> "message" : "org.apache.ambari.server.controller.spi.SystemException:
> /var/lib/ambari-server/data/tmp/INFRA_SOLR_CLIENT-configs.tar.gz (No such
> file or directory)"
> {code}
> Here are contents of the dir
> {quote}$ ls /var/lib/ambari-server/data/tmp/
> HBASE_CLIENT-configuration.json
> HCAT-configuration.json
> HDFS_CLIENT-configuration.json
> HDP-Sec-JMK-SME-117(CLUSTER)-configs.tar.gz
> HIVE_CLIENT-configuration.json
> INFRA_SOLR_CLIENT-configuration.json
> jetty-0.0.0.0-8443-ADMIN_VIEW.2.5.0.3.-_views_ADMIN_VIEW_2.5.0.3_INSTANCE-any-
> jetty-0.0.0.0-8443-CAPACITY-SCHEDULER.1.0.0.-_views_CAPACITY-SCHEDULER_1.0.0_AUTO_CS_INSTANCE-any-
> jetty-0.0.0.0-8443-FILES.1.0.0.-_views_FILES_1.0.0_AUTO_FILES_INSTANCE-any-
> jetty-0.0.0.0-8443-HIVE.1.5.0.-_views_HIVE_1.5.0_AUTO_HIVE_INSTANCE-any-
> jetty-0.0.0.0-8443-HIVE.2.0.0.-_views_HIVE_2.0.0_AUTO_HIVE20_INSTANCE-any-
> jetty-0.0.0.0-8443-TEZ.0.7.0.2.6.0.3-8.-_views_TEZ_0.7.0.2.6.0.3-8_TEZ_CLUSTER_INSTANCE-any-
> KERBEROS_CLIENT-configuration.json
> MAPREDUCE2_CLIENT-configuration.json
> PIG-configuration.json
> SLIDER-configuration.json
> TEZ_CLIENT-configuration.json
> YARN_CLIENT-configuration.json
> ZOOKEEPER_CLIENT-configuration.json{quote}
> Log doesn't show the error:
> {quote}21 Jun 2017 21:11:23,746 ERROR
> [ambari-metrics-retrieval-service-thread-833] URLStreamProvider:245 -
> Received HTTP 403 response from URL:
> http://ip-172-30-0-117.us-west-2.compute.internal:50070/jmx?get=Hadoop:service=NameNode,name=FSNamesystem::tag.HAState
> 21 Jun 2017 21:11:23,749 ERROR [ambari-metrics-retrieval-service-thread-832]
> URLStreamProvider:245 - Received HTTP 403 response from URL:
> http://ip-172-30-0-117.us-west-2.compute.internal:50070/jmx
> 21 Jun 2017 21:11:23,751 ERROR [ambari-client-thread-28]
> URLStreamProvider:245 - Received HTTP 403 response from URL:
> http://ip-172-30-0-135.us-west-2.compute.internal:8088/ws/v1/cluster/info
> 21 Jun 2017 21:11:23,752 ERROR [ambari-metrics-retrieval-service-thread-833]
> URLStreamProvider:245 - Received HTTP 403 response from URL:
> http://ip-172-30-0-135.us-west-2.compute.internal:8088/jmx
> 21 Jun 2017 21:11:23,754 ERROR [ambari-metrics-retrieval-service-thread-831]
> URLStreamProvider:245 - Received HTTP 403 response from URL:
> http://ip-172-30-0-135.us-west-2.compute.internal:19888/jmx
> 21 Jun 2017 21:11:28,047 INFO [ambari-client-thread-3329] Configuration:2985
> - Reading password from existing file
> 21 Jun 2017 21:11:28,048 INFO [ambari-client-thread-3329] Configuration:2996
> - API SSL Authentication is turned on.
> 21 Jun 2017 21:11:28,048 INFO [ambari-client-thread-3329] Configuration:3001
> - Reading password from existing file
> 21 Jun 2017 21:11:30,937 ERROR [ambari-metrics-retrieval-service-thread-833]
> URLStreamProvider:245 - Received HTTP 403 response from URL:
> http://ip-172-30-0-117.us-west-2.compute.internal:50070/jmx
> 21 Jun 2017 21:11:30,940 ERROR [ambari-client-thread-3367]
> URLStreamProvider:245 - Received HTTP 403 response from URL:
> http://ip-172-30-0-135.us-west-2.compute.internal:8088/ws/v1/cluster/info
> 21 Jun 2017 21:11:30,979 ERROR [ambari-metrics-retrieval-service-thread-833]
> URLStreamProvider:245 - Received HTTP 403 response from URL:
> http://ip-172-30-0-135.us-west-2.compute.internal:8088/jmx
> 21 Jun 2017 21:11:30,980 ERROR [ambari-metrics-retrieval-service-thread-834]
> URLStreamProvider:245 - Received HTTP 403 response from URL:
> http://ip-172-30-0-117.us-west-2.compute.internal:50070/jmx?get=Hadoop:service=NameNode,name=FSNamesystem::tag.HAState
> 21 Jun 2017 21:11:30,990 ERROR [ambari-metrics-retrieval-service-thread-832]
> URLStreamProvider:245 - Received HTTP 403 response from URL:
> http://ip-172-30-0-135.us-west-2.compute.internal:19888/jmx{quote}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)