我无法在服务部分下的 Kylo UI 上获得 HDFS、Hive 和 Spark。
有没有人对此有任何想法。
请查看服务监视器插件及其配置文件的文档。有两个部分,一个用于 CDH (Cloudera),另一个用于 HDP (Hortonworks)。
CDH
安装服务监视器插件 jar/opt/kylo/kylo-services/plugin
并在/opt/kylo/kylo-services/conf/
.
cp /opt/kylo/setup/plugins/kylo-service-monitor-cloudera-service-<version>.jar /opt/kylo/kylo-services/plugin
chown kylo:kylo /opt/kylo/kylo-services/plugin/kylo-service-monitor-cloudera-service-<version>.jar
/opt/kylo/kylo-services/conf/cloudera.properties
创建属于用户 Kylo 运行的服务配置文件。根据 Cloudera Manager 的配置填充这些属性并根据需要更改值。请注意cloudera.services.status
定义 Kylo 将监控的集群服务的属性。
clouderaRestClientConfig.username=cloudera
clouderaRestClientConfig.password=cloudera
clouderaRestClientConfig.serverUrl=127.0.0.1
clouderaRestClientConfig.port=7180
cloudera.services.status=HDFS/[DATANODE,NAMENODE,SECONDARYNAMENODE],HIVE/[HIVEMETASTORE,HIVESERVER2],YARN,SQOOP`
重启 Kylo 服务
service kylo-services restart
高密度板
安装服务监视器插件 jar/opt/kylo/kylo-services/plugin
并在/opt/kylo/kylo-services/conf/
.
cp /opt/kylo/setup/plugins/kylo-service-monitor-ambari-<version>.jar /opt/kylo/kylo-services/plugin
chown kylo:kylo /opt/kylo/kylo-services/plugin/kylo-service-monitor-ambari-<version>.jar
/opt/kylo/kylo-services/conf/ambari.properties
创建属于用户 Kylo 运行的服务配置文件。根据您的 Ambari 配置填充这些属性并根据需要更改值。请注意ambari.services.status
定义 Kylo 将监控的集群服务的属性。
ambariRestClientConfig.host=127.0.0.1
ambariRestClientConfig.port=8080
ambariRestClientConfig.username=admin
ambariRestClientConfig.password=admin
ambari.services.status=HDFS/[DATANODE,NAMENODE,SECONDARYNAMENODE],HIVE/[HIVEMETASTORE,HIVESERVER2],YARN,SQOOP
重启 Kylo 服务
service kylo-services restart
根据您使用的是 CDH 还是 HDP,需要安装一些服务插件。
http://kylo.readthedocs.io/en/latest/how-to-guides/ServiceMonitorPlugins.html
安装插件 JAR 文件:
cp /opt/kylo/setup/plugins/kylo-service-monitor-cloudera-service-<version>.jar /opt/kylo/kylo-services/plugin
chown kylo:kylo /opt/kylo/kylo-services/plugin/kylo-service-monitor-cloudera-service-<version>.jar
创建一个/opt/kylo/kylo-services/conf/cloudera.properties
配置文件:
clouderaRestClientConfig.username=cloudera
clouderaRestClientConfig.password=cloudera
clouderaRestClientConfig.serverUrl=127.0.0.1
clouderaRestClientConfig.port=7180
cloudera.services.status=HDFS/[DATANODE,NAMENODE,SECONDARYNAMENODE],HIVE/[HIVEMETASTORE,HIVESERVER2],YARN,SQOOP
然后重启 Kylo:
sudo service kylo-services restart
安装插件 JAR 文件:
cp /opt/kylo/setup/plugins/kylo-service-monitor-ambari-<version>.jar /opt/kylo/kylo-services/plugin
chown kylo:kylo /opt/kylo/kylo-services/plugin/kylo-service-monitor-ambari-<version>.jar
创建一个/opt/kylo/kylo-services/conf/ambari.properties
配置文件:
ambariRestClientConfig.host=127.0.0.1
ambariRestClientConfig.port=8080
ambariRestClientConfig.username=admin
ambariRestClientConfig.password=admin
ambari.services.status=HDFS/[DATANODE,NAMENODE,SECONDARYNAMENODE],HIVE/[HIVEMETASTORE,HIVESERVER2],YARN,SQOOP
然后重启 Kylo:
sudo service kylo-services restart