Re: when agent sync service scripts

2018-05-20 Thread xiang . dai
In my case, i define a stack and install a service. For start/stop, i need to do some test, so i edit service script under stack. Then restart server, not sync. Then restart agent, still not. Does it need time to sync or it is real-time? From: "David Quiroga"

Re: Operating System matching redhat7 could not be found

2018-05-19 Thread xiang . dai
, components=null, mirrorsList=null, unique=false, ambariManagedRepositories=true, applicableServices= ]]} From: "xiang dai" <xiang@sky-data.cn> To: "user" <user@ambari.apache.org> Sent: Saturday, May 19, 2018 9:30:32 AM Subject: Re: Operating System matching re

when agent sync service scripts

2018-05-19 Thread xiang . dai
I install a custom stack in VM, then i want to update some codes for a installed service. But when i restart server, the codes in agent does not update. Then i restart agent, still failed. So when agent sync service scripts? Thanks

Re: Operating System matching redhat7 could not be found

2018-05-18 Thread xiang . dai
nternal.AbstractAuthorizedResourceProvider.updateResources(AbstractAuthorizedResourceProvider.java:301) at org.apache.ambari.server.controller.internal.ClusterControllerImpl.updateResources(ClusterControllerImpl.java:319) at org.apache.ambari.server.api.services.persistence.PersistenceManagerImpl.update(PersistenceManagerImpl.java:125) at org.apache.ambari.

Re: Operating System matching redhat7 could not be found

2018-05-18 Thread xiang . dai
ce.PersistenceManagerImpl.update(PersistenceManagerImpl.java:125) at org.apache.ambari.server.api.handlers.UpdateHandler.persist(UpdateHandler.java:45) From: "xiang dai" < xiang@sky-data.cn > To: "user" < user@ambari.apache.org > Sent: Thursday, May 17, 2018 4:29:14

Re: Operating System matching redhat7 could not be found

2018-05-17 Thread xiang . dai
) at org.apache.ambari.server.api.handlers.UpdateHandler.persist(UpdateHandler.java:45) From: "xiang dai" <xiang@sky-data.cn> To: "user" <user@ambari.apache.org> Sent: Thursday, May 17, 2018 4:29:14 PM Subject: Re: Operating System matching redhat7 could not be found Add some clue: 17 May 2018 1

Re: Operating System matching redhat7 could not be found

2018-05-17 Thread xiang . dai
='&'] org.apache.ambari.server.api.predicate.InvalidQueryException: Unexpected token encountered in query string. Last Token Type=PROPERTY_OPERAND, Current Token[type=LOGICAL_OPERATOR, value='&'] at org.apache.ambari.server.api.predicate.QueryParser$TokenHandler.handleToken(QueryParser.java:351) From: "xiang dai" <

Operating System matching redhat7 could not be found

2018-05-16 Thread xiang . dai
Hi! I met a confused issue: when i use vagrant to test, all work. when i change to my hosts, below waring show: org.apache.ambari.server.controller.spi.SystemException: Operating System matching redhat7 could not be found And UI hang. The question is that both VM and hosts are Centos7,

Re: metrics can not work as expected

2018-05-06 Thread xiang . dai
I just download them and make my own repo including them. Then, i install them with ambari UI. From: "Siddharth Wagle" To: "user" Sent: Saturday, May 5, 2018 11:07:12 PM Subject: Re: metrics can not work as expected ​Collector is not

Re: metrics do not show

2018-05-06 Thread xiang . dai
There is no conf: [root@dx-a ~]# less /etc/ambari-metrics/conf/metrics_grafana.ini /etc/ambari-metrics/conf/metrics_grafana.ini: No such file or directory [root@dx-a ~]# yum list | grep grafana ambari-metrics-grafana.x86_64 2.6.1.0-143 @dx-ambari I download pkgs and make my own repo

Re: metrics do not show

2018-05-06 Thread xiang . dai
There is no conf: [root@dx-a ~]# less /etc/ambari-metrics/conf/metrics_grafana.ini /etc/ambari-metrics/conf/metrics_grafana.ini: No such file or directory [root@dx-a ~]# yum list | grep grafana ambari-metrics-grafana.x86_64 2.6.1.0-143 @dx-ambari I download pkgs and make my own repo

metrics can not work as expected

2018-05-05 Thread xiang . dai
Hi! I tested installation on my vbox, it works well, then i move it to a server which run many services. When install, it failed at check service status. I checked ambari-metrics-collector.log and found below error: 2018-05-05 08:16:03,536 INFO org.apache.phoenix.metrics.Metrics:

Re: metrics do not show

2018-05-05 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:

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

How to use installed zookeeper to install Ambari Metrics

2018-03-01 Thread xiang . dai
Hi! I have a cluster which has installed zookeeper, and i want to use Ambari to manage it. Also, Ambari Metrics is so cool that i want to add it to my cluster. Is it possible? If so, how to make it?

how to support multi languages

2018-02-08 Thread xiang . dai
Hi! I am kind of new to Ambari, and it is a wonderful tool to deploy hadoop env. I have a question that how can i use other language to show in web. Is there a easy way to do it? Thanks

How to write service scripts in shell

2018-01-03 Thread xiang . dai
Hi! I am new about ambari and want to add customized services. I am used to writing scripts in shell. I read docs at ambari and seems that ambari support use shell to write service scripts. But i do not find any examples. All service scripts in ambari repo are in python. Could