metrics do not show

2018-05-04 Thread xiang . dai
Hi! 

I build 2.6.1 ambari server and agent following docs. 

Then I succeed in installing zookeeper and ambari-metrics, and metrics in 
dashborad looks very good. 

But i find that metrics in AMBARI-METRICS and metrics in hosts can not show. 

I check the log but do not find error. 

Did i miss something import? 

Could someone help me? 

Thanks 


Re: metrics do not show

2018-05-04 Thread Aravindan Vijayan
Hi Xiang,

If you have Grafana installed, can you check if the System-Servers and 
System-Home dashboard show data?

--
Thanks and Regards,
Aravindan Vijayan

From: "xiang@sky-data.cn" 
Reply-To: "user@ambari.apache.org" 
Date: Friday, May 4, 2018 at 12:51 AM
To: user 
Subject: metrics do not show

But i find that metrics in AMBARI-METRICS and metrics in hosts can not show.




use krb-conf section to set udp_preference_limit = 1

2018-05-04 Thread Lian Jiang
Hi,

According to
https://community.hortonworks.com/content/supportkb/149955/errorcould-not-configure-server-because-sasl-confi.html,
I need "udp_preference_limit = 1" for zookeeper to work with kerberos.

How can I set this property using krb5-conf section in ambari blueprint?
Thanks for any hint.


Re: use krb-conf section to set udp_preference_limit = 1

2018-05-04 Thread Sandor Molnar
Hi,

To allow end users setting ‘udp_preference_limit’ to 1 we implemented the 
following change:
https://github.com/apache/ambari/pull/129

This will be available in 2.7.

Cheers,
Sandor

From: Lian Jiang 
Reply-To: "user@ambari.apache.org" 
Date: Friday, May 4, 2018 at 11:57 PM
To: "user@ambari.apache.org" 
Subject: use krb-conf section to set udp_preference_limit = 1

Hi,

According to
https://community.hortonworks.com/content/supportkb/149955/errorcould-not-configure-server-because-sasl-confi.html,
 I need "udp_preference_limit = 1" for zookeeper to work with kerberos.
How can I set this property using krb5-conf section in ambari blueprint? Thanks 
for any hint.


Re: use krb-conf section to set udp_preference_limit = 1

2018-05-04 Thread Lian Jiang
Thanks. So the workaround for now is to use krb5.conf unmanaged by ambari?

On Fri, May 4, 2018 at 3:28 PM, Sandor Molnar 
wrote:

> Hi,
>
>
>
> To allow end users setting ‘udp_preference_limit’ to 1 we implemented the
> following change:
>
> https://github.com/apache/ambari/pull/129
>
>
>
> This will be available in 2.7.
>
>
>
> Cheers,
>
> Sandor
>
>
>
> *From: *Lian Jiang 
> *Reply-To: *"user@ambari.apache.org" 
> *Date: *Friday, May 4, 2018 at 11:57 PM
> *To: *"user@ambari.apache.org" 
> *Subject: *use krb-conf section to set udp_preference_limit = 1
>
>
>
> Hi,
>
> According to
> https://community.hortonworks.com/content/supportkb/149955/
> errorcould-not-configure-server-because-sasl-confi.html, I need
> "udp_preference_limit = 1" for zookeeper to work with kerberos.
>
> How can I set this property using krb5-conf section in ambari blueprint?
> Thanks for any hint.
>


does kerberos 1.15.1 need renew initial tickets to avoid GSSException?

2018-05-04 Thread Lian Jiang
Hi,

I got GSSException when using hdfs command in my kerberonized HDP2.6
cluster.

java.io.IOException: Failed on local exception: java.io.IOException:
javax.security.sasl.SaslException: GSS initiate failed [Caused by
GSSException: No valid credentials provided (Mechanism level: Failed to
find any Kerberos tgt)]; Host Details : local host is: "
test-namenode.subnet1.hadoop.oraclevcn.com/10.0.1.68"; destination host is:
"test-namenode.subnet1.hadoop.oraclevcn.com":8020;

 According to
https://www.cloudera.com/documentation/enterprise/5-8-x/topics/cm_sg_sec_troubleshooting.html,
it is because the initial tickets generated by kerberos >= 1.8.1 do not
work for Oracle JDK 6 Update 26 and earlier.

Is this still an issue for java1.8 used in my cluster? Do I still need
"renewable = true" in my krb5.conf to generate renewable initial tickets
and then manually renew them to work with java 1.8?

Thanks for any hint.


Re: metrics do not show

2018-05-04 Thread xiang . dai
I found below wwaring: 
2018-05-05 06:19:30,393 WARN org.apache.hadoop.metrics2.impl.MetricsConfig: 
Cannot locate configuration: tried 
hadoop-metrics2-phoenix.properties,hadoop-metrics2.properties 


From: "Aravindan Vijayan"  
To: "user"  
Sent: Friday, May 4, 2018 9:02:46 PM 
Subject: Re: metrics do not show 



Hi Xiang, 



If you have Grafana installed, can you check if the System-Servers and 
System-Home dashboard show data? 




-- 


Thanks and Regards, 


Aravindan Vijayan 




From: "xiang@sky-data.cn"  
Reply-To: "user@ambari.apache.org"  
Date: Friday, May 4, 2018 at 12:51 AM 
To: user  
Subject: metrics do not show 





But i find that metrics in AMBARI-METRICS and metrics in hosts can not show.