準備azkaban的安裝包
配置mysql
配置azkaban web server-》為azkaban建立使用者、資料庫、設定許可權等
create database azkaban;
create user 'azkaban'@'%' identified by 'azkaban';
grant select,insert,update,delete on azkaban.* to 'azkaban'@'%' with grant option;
flush privileges;
select user,host from mysql.user;
sudo service mysqld restart
-》執行相關的sql建立對應表(三個sql檔案是安裝包解壓後的sql包中包含的)
source create-all-sql-0.1.0-snapshot.sql
source update.active_executing_flows.3.0.sql;
source update.execution_flows.3.0.sql;
進入到web目錄下、生成認證金鑰
修改web配置檔案keytool -keystore keystore -alias jetty -genkey -keyalg rsa
密碼輸入:123456
enter keystore password:
re-enter new password:
what is your first and last name?
[unknown]: zhangsan
what is the name of your organizational unit?
[unknown]: zhangsan
what is the name of your organization?
[unknown]: zhangsan
what is the name of your city or locality?
[unknown]: hangzhou
what is the name of your state or province?
[unknown]: zhejiang
what is the two-letter country code for this unit?
[unknown]: cn
is cn=huadian, ou=huadian, o=huadian, l=zhejiang, st=jiaxing, c=cn correct?
[no]: yes
enter key password for (return if same as keystore password):
re-enter new password:
conf/azkaban.properties
default.timezone.id=asia/shanghai
mysql.host=******x主機名
預設開啟了ssl,訪問時必須通過https來訪問8443埠
如果不想使用https,可以關閉ssl
jetty.ssl.use=false;
jetty.password=123456
jetty.keypassword=123456
jetty.trustpassword=123456
配置日誌相關新增log4j配置
log4j.rootlogger=info,c
-》配置execute
進入到/azkaban-exec-server-0.1.0-snapshot下面
修改配置檔案:conf/azkaban.properties
default.timezone.id=asia/shanghai
mysql.port=3306
mysql.host=bigdata-hpsk01.huadian.com
mysql.database=azkaban
關閉記憶體檢查
vi plugins/jobtypes/commonprivate.properties
memcheck.enabled=false
-》啟動登入
啟動web server
bin/azkaban-web-start.sh
啟動executor
bin/azkaban-executor-start.sh
登入azkaban/azkaban
Azkaban集群部署教程
1 將azkaban db 3.84.4.tar.gz,azkaban exec server 3.84.4.tar.gz,azkaban web server 3.84.4.tar.gz上傳到hadoop102的 opt software路徑 2 新建 opt module azkaban目錄,並...
mongodb安裝安裝教程(詳細)
安裝 mongodb服務 通過執行bin mongod.exe,使用 install選項來安裝服務,使用 config選項來指定之前建立的配置檔案。cmd進入d mongodb server 3.4 bin mongod.exe config d mongodb server 3.4 mongo.c...
詳細Redis安裝 教程
linux下 安裝redis準備工作 執行命令前要確保能連線外網 ping www.baidu.com yum install gcc c 由於redis是基於c語言的資料工具所以要有c 的支援 後台啟動 cd redis 5.0.7 cp redis.conf redis cd redis vi ...