Apache Eagle安装配置指南
来源:互联网 发布:淘宝数据魔方在哪 编辑:程序博客网 时间:2024/05/04 09:34
Apache Eagle开源没多久,网上关于安装它的文章几乎没有,在此我献上自己的安装步骤供大家参考。
官网安装文档地址:http://goeagle.io/docs/deployment-in-production.html
官网的安装大体步骤都没问题,只是在配置的时候需要注意几点。
1.环境依赖
HBase: 0.98 or later
Storm: 0.9.3 or later
Kafka: 0.8.x or later
Zookeeper: 3.4.5
Java: 1.7.x
Spark,用于用户模型训练
Logstash-1.5.5
2.Kafka配置
启动kafka前需要先配置kafka中的zookeeper地址
./kafka-server-start.sh ../config/server.properties &
创建eagle需要的topic
./kafka-topics.sh --create --zookeeper slave02.mesos:2181,slave03.mesos:2181,slave04.mesos:2181 --replication-factor 1 --partitions 1 --topic Demo_hdfs_audit_log
3.配置eagle
修改bin/eagle-env.sh
修改conf/eagle-service.conf
# eagle configurationeagle{ # eagle web service configuration service{ # storage type: ["hbase","jdbc"] # default is "hbase" storage-type="hbase" # hbase configuration: hbase.zookeeper.quorum # default is "localhost" hbase-zookeeper-quorum="slave02.mesos,slave03.mesos,slave04.mesos" # hbase configuration: hbase.zookeeper.property.clientPort # default is 2181 hbase-zookeeper-property-clientPort=2181 # hbase configuration: zookeeper.znode.parent # default is "/hbase" zookeeper-znode-parent="/hbase" }}新建一个conf/Demo-hdfsAuditLog-application.conf
hadoop@master conf]$ cat Demo-hdfsAuditLog-application.conf { "envContextConfig" : { "env" : "storm", "mode" : "cluster", "topologyName" : "Demo-hdfsAuditLog-topology", "stormConfigFile" : "security-auditlog-storm.yaml", "parallelismConfig" : { "kafkaMsgConsumer" : 1, "hdfsAuditLogAlertExecutor*" : 1 } }, "dataSourceConfig": { "topic" : "Demo_hdfs_audit_log", "zkConnection" : "slave02.mesos:2181,slave03.mesos:2181,slave04.mesos:2181", "zkConnectionTimeoutMS" : 15000, "fetchSize" : 1048586, "deserializerClass" : "eagle.security.auditlog.HdfsAuditLogKafkaDeserializer", "transactionZKServers" : "slave02.mesos,slave03.mesos,slave04.mesos", "transactionZKPort" : 2181, "transactionZKRoot" : "/consumers", "consumerGroupId" : "eagle.hdfsaudit.consumer", "transactionStateUpdateMS" : 2000 }, "alertExecutorConfigs" : { "hdfsAuditLogAlertExecutor" : { "parallelism" : 1, "partitioner" : "eagle.alert.policy.DefaultPolicyPartitioner", "needValidation" : "true" } }, "eagleProps" : { "site" : "Demo", "dataSource": "hdfsAuditLog", "dataJoinPollIntervalSec" : 30, "mailHost" : "tendcloud.com", "mailSmtpPort":"25", "mailDebug" : "true", "eagleService": { "host": "master.mesos", "port": 9099 "username": "admin", "password": "secret" } }, "dynamicConfigSource" : { "enabled" : true, "initDelayMillis" : 0, "delayMillis" : 30000 }}注意配置这里面的eagleService的host
4.启动
创建hbase表
bin/eagle-service-init.sh
启动eagle web service
bin/eagle-service.sh start
引入metadata
bin/eagle-topology-init.sh
5.登陆eagle web
http://ip:9099/eagle-service
用户名admin,密码secret
Storm中的topology
至于添加policy和site等过程请参见官网。
最后的web页面如下:
1 0
- Apache Eagle安装配置指南
- Apache eagle 安装配置全步骤
- apache eagle 安装
- SVN集成Apache安装配置指南
- 服务器证书安装配置指南(Apache)
- Apache Traffic Server安装配置指南
- Apache Eagle搭建测试
- Apache Eagle上线问题解决
- HateMath的EAGLE系列软件安装和配置教程
- Apache Eagle成为顶级项目
- Apache基本配置指南
- Apache https 配置指南
- Apache https 配置指南
- Apache基本配置指南
- Apache Httpd在linux环境下安装配置指南
- 服务器证书安装配置指南(Apache for Linux)
- Apache完全安装指南
- Apache完全安装指南
- 办公室站队的一地鸡毛
- Linq与lamda写法对比
- txt文档批量向MySQL导入数据
- 多个AsyncTask任务串并行简单分析
- VS2008 根据文件的命名不同,选择不同的编译模式
- Apache Eagle安装配置指南
- Automatic Shader Simplification Using Surface Signal Approximation
- 5.4 渲染管线概述
- 【Android】问题记录2015-11-10
- 黑马程序员——异常
- Codeforces Round #328 (Div. 2) B. The Monster and the Squirrel(math)
- django模型中manytomanyfield的含义
- 自己写的一个servlet Dispatchar,便于在osgi使用(二)
- 基于离散图模型的人工视觉简介