Member since
06-29-2015
47
Posts
8
Kudos Received
2
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
1523 | 02-08-2021 08:52 AM | |
1671 | 03-16-2017 04:52 PM |
02-10-2017
08:23 PM
1 Kudo
Everytime I try to access Grafana and/or browse through it, I see below error in "grafana.log": 2017/02/10 15:14:14 [middleware.go:145 initContextWithBasicAuth()] [E] Invalid Basic Auth Header: Invalid basic auth header
2017/02/10 15:14:14 [I] Completed 10.128.211.106 admin "GET /api/datasources/proxy/1/ws/v1/timeline/metrics HTTP/1.1" 401 Unauthorized 39 bytes in 43us
If I make "auth.basc=false" I'm getting below error: Connecting (POST) to myserver.com:3000/api/datasources
Http response: 403 Forbidden
Http data: {"message":"Permission denied"}
Ambari Metrics Grafana data source creation failed.
It's a new install on HDP stack: 2.4.3.0 with Kerberos and SPNEGO is enabled I had such issue with HDP 2.3.4 but the suggested workaround is not working with 2.4.3.0: https://community.hortonworks.com/questions/59160/grafana-initcontextwithbasicauth-e-invalid-basic-a.html
... View more
Labels:
10-13-2016
06:03 PM
1 Kudo
Hi, I'm running a distcopy from one cluster to another and getting below error in the destination namenode log file. 2016-10-13 12:48:09,260 WARN
blockmanagement.BlockPlacementPolicy
(BlockPlacementPolicyDefault.java:chooseTarget(385)) - Failed to place enough
replicas, still in need of 1 to reach 2 (unavailableStorages=[DISK],
storagePolicy=BlockStoragePolicy{HOT:7, storageTypes=[DISK],
creationFallbacks=[], replicationFallbacks=[ARCHIVE]}, newBlock=true) All
required storage types are unavailable:
unavailableStorages=[DISK], storagePolicy=BlockStoragePolicy{HOT:7,
storageTypes=[DISK], creationFallbacks=[], replicationFallbacks=[ARCHIVE]} In the destination cluster, I'm able to write to hdfs. Cluster health is green. I also see these .distcp.tmp* file in the destination cluster: hdfs dfs -ls /mstr/f_opt_wifi_ap_mth_chc/
Found 24 items
-rw-r----- 3 hdfs hdfs 0 2016-10-13 11:00 /mstr/f_opt_wifi_ap_mth_chc/.distcp.tmp.attempt_1476280811282_0259_m_000000_0
-rw-r----- 3 hdfs hdfs 0 2016-10-13 11:00 /mstr/f_opt_wifi_ap_mth_chc/.distcp.tmp.attempt_1476280811282_0259_m_000001_0
-rw-r----- 3 hdfs hdfs 0 2016-10-13 11:00 /mstr/f_opt_wifi_ap_mth_chc/.distcp.tmp.attempt_1476280811282_0259_m_000002_0
... View more
Labels:
- Labels:
-
Apache Hadoop
10-11-2016
01:43 PM
@Aravindan Vijayan That worked. Thanks for your help.
... View more
10-06-2016
10:40 PM
@Aravindan Vijayan Yes. Actually our Ambari server is kerberoised too. hadoop.http.filter.initializers = org.apache.hadoop.security.AuthenticationFilterInitializer hadoop.http.authentication.type = kerberos
... View more
10-06-2016
06:52 PM
@Aravindan Vijayan Sorry i forgot mention, i did restart the ambari server and agent on all nodes. Just now, I've restarted all metrics-collector and still facing the same error. root@host:ambari-agent> grep -A3 'XmlConfig("core-site.xml"' /var/lib/ambari-agent/cache/common-services/AMBARI_METRICS/0.1.0/package/scripts/ams.py
XmlConfig("core-site.xml",
conf_dir=params.ams_collector_conf_dir,
configurations=params.config['configurations']['core-site'],
configuration_attributes=params.config['configuration_attributes']['core-site'],
--
XmlConfig("core-site.xml",
conf_dir=params.hbase_conf_dir,
configurations=params.config['configurations']['core-site'],
configuration_attributes=params.config['configuration_attributes']['core-site'],
--
XmlConfig("core-site.xml",
conf_dir=params.ams_collector_conf_dir,
configurations=truncated_core_site,
configuration_attributes=params.config['configuration_attributes']['core-site'],
--
XmlConfig("core-site.xml",
conf_dir=params.hbase_conf_dir,
configurations=truncated_core_site,
configuration_attributes=params.config['configuration_attributes']['core-site'],
... View more
10-05-2016
03:24 PM
@Aravindan Vijayan Thanks for your response. Based on the JIRA the fix is replacing the "ams.py" script. Actually I've replaced the script in /var/lib/ambari-server/resources/common-services/AMBARI_METRICS/0.1.0/package/scripts/ and restarted Ambari Metrics. However I'm still facing the same issue. ambari-metrics-monitor> grep -A3 'XmlConfig("core-site.xml"' /var/lib/ambari-server/resources/common-services/AMBARI_METRICS/0.1.0/package/scripts/ams.py
XmlConfig("core-site.xml",
conf_dir=params.ams_collector_conf_dir,
configurations=params.config['configurations']['core-site'],
configuration_attributes=params.config['configuration_attributes']['core-site'],
--
XmlConfig("core-site.xml",
conf_dir=params.hbase_conf_dir,
configurations=params.config['configurations']['core-site'],
configuration_attributes=params.config['configuration_attributes']['core-site'],
--
XmlConfig("core-site.xml",
conf_dir=params.ams_collector_conf_dir,
configurations=truncated_core_site,
configuration_attributes=params.config['configuration_attributes']['core-site'],
--
XmlConfig("core-site.xml",
conf_dir=params.hbase_conf_dir,
configurations=truncated_core_site,
configuration_attributes=params.config['configuration_attributes']['core-site'], I've also noticed below error in ambari-metrics-monitor.out file. 2016-09-21 21:35:18,778 [INFO] emitter.py:91 - server: http://ip:6188/ws/v1/timeline/metrics
2016-09-21 21:35:18,780 [WARNING] emitter.py:74 - Error sending metrics to server. HTTP Error 401: Authentication required
2016-09-21 21:35:18,780 [WARNING] emitter.py:80 - Retrying after 5 ... https://issues.apache.org/jira/browse/AMBARI-14384 Our metrics collector server is part of the cluster.
... View more
10-03-2016
03:05 PM
Yes, SPENGO is enabled. I do not see any useful logs with "Debug" logging. root@myhost:conf> grep ';level' ams-grafana.ini # ;level = Info ;level = Debug
... View more
09-29-2016
07:33 PM
I've installed Grafana through Ambari 2.4.1.0 on HDP 2.3.4. The datasource is "AMBARI_METRICS". When I try to validate the datasource, I'm getting below error: 2016/09/28 17:05:56 [middleware.go:145 initContextWithBasicAuth()] [E] Invalid Basic Auth Header: Invalid basic auth header
2016/09/28 17:05:56 [I] Completed 10.128.211.106 admin "GET /api/datasources/proxy/1/ws/v1/timeline/metrics/metadata HTTP/1.1" 401 Unauthorized 39 bytes in 102us datasource info: Url = http://hostip:6188 access = proxy http Auth = unchecked with credentials= unchecked ------- If I change the auth.basic=false, Grafana service fails to start. We have kerberos installed in our cluster.
... View more
Labels:
09-16-2016
08:13 PM
2 Kudos
Where is the repo for Ambari 2.4? I was unable to find it.
... View more
Labels:
- Labels:
-
Apache Ambari
08-03-2016
06:55 PM
@Kuldeep Kulkarni I've all these properties in place. Tez view is working fine, however it's not showing any jobs after we implemented kerberos.
... View more
- « Previous
- Next »