大数据(Azkaban)-安装

azkaban-executor-server-2.5.0.tar.gz
    azkaban-sql-script-2.5.0.tar.gz
    azkaban-web-server-2.5.0.tar.gz

    /home/hadoop/applications/azkaban
    mkdir webserver
    mkdir executor 
    mkdir sql

    mv azkaban-web-server-2.5.0.tar.gz webserver/ 
    mv azkaban-executor-server-2.5.0.tar.gz executor/
    mv azkaban-sql-script-2.5.0.tar.gz sql/ 

    cd webserver/
    tar -xzvf azkaban-web-server-2.5.0.tar.gz
    cd ../executor/ 
    tar -xzvf azkaban-executor-server-2.5.0.tar.gz
    cd ../sql/ 
    tar -xzvf azkaban-sql-script-2.5.0.tar.gz 

    mysql -u root -proot
    create database azkaban;
    use azkaban;
    source  /home/hadoop/applications/azkaban/sql/azkaban-2.5.0/create-all-sql-2.5.0.sql

    keytool -keystore keystore -alias jetty -genkey -keyalg RSA
Enter keystore password:  
Re-enter new password: 
What is your first and last name?
  [Unknown]:  
What is the name of your organizational unit?
  [Unknown]:  
What is the name of your organization?
  [Unknown]:  
What is the name of your City or Locality?
  [Unknown]:  
What is the name of your State or Province?
  [Unknown]:  
What is the two-letter country code for this unit?
  [Unknown]:  CN
Is CN=Unknown, OU=Unknown, O=Unknown, L=Unknown, ST=Unknown, C=CN correct?
  [no]:  y

Enter key password for 
        (RETURN if same as keystore password):

将生成的keystore复制到webserver到根目录下

#web server config
web.resource.dir=web/                                                                                                                                                      
default.timezone.id=Asia/Shanghai                                                                                                                                          

#Azkaban UserManager class                                                                                                                                                 
user.manager.class=azkaban.user.XmlUserManager                                                                                                                             
user.manager.xml.file=conf/azkaban-users.xml                                                                                                                               

#Loader for projects                                                                                                                                                       
executor.global.properties=conf/global.properties                                                                                                                          
azkaban.project.dir=projects                                                                                                                                               

database.type=mysql                                                                                                                                                        
mysql.port=3306                                                                                                                                                            
mysql.host=192.168.58.5                                                                                                                                                    
mysql.database=azkaban                                                                                                                                                     
mysql.user=root                                                                                                                                                            
mysql.password=root                                                                                                                                                        
mysql.numconnections=100                                                                                                                                                   

# Velocity dev mode                                                                                                                                                        
velocity.dev.mode=false                                                                                                                                                    

# Azkaban Jetty server properties.                                                                                                                                         
jetty.maxThreads=25                                                                                                                                                        
jetty.ssl.port=8443                                                                                                                                                        
jetty.port=8081                                                                                                                                                            
jetty.keystore=keystore                                                                                                                                                    
jetty.password=password                                                                                                                                                    
jetty.keypassword=password                                                                                                                                               
jetty.truststore=keystore                                                                                                                                                  
jetty.trustpassword=password                                                                                                                                               

# Azkaban Executor settings                                                                                                                                                
executor.port=12321                                                                                                                                                        

# mail settings                                                                                                                                                            
mail.sender=no@163.com                                                                                                                                            
mail.host=smtp.163.com                                                                                                                                                     
mail.user=no@163.com                                                                                                                                              
mail.password=password                                                                                                                                                    
job.failure.email=no@163.com                                                                                                                                      
job.success.email=                                                                                                                                                         

lockdown.create.projects=false                                                                                                                                             

cache.directory=cache      


#executor server cofnig
default.timezone.id=Asia/Shanghai

# Azkaban JobTypes Plugins
azkaban.jobtype.plugin.dir=plugins/jobtypes

#Loader for projects
executor.global.properties=conf/global.properties
azkaban.project.dir=projects

database.type=mysql
mysql.port=3306
mysql.host=192.168.58.5
mysql.database=azkaban
mysql.user=root
mysql.password=root
mysql.numconnections=100

# Azkaban Executor settings
executor.maxThreads=50
executor.port=12321
executor.flow.threads=30
启动:必须在相应的根目录下
cd /home/hadoop/applications/azkaban/executor/azkaban-executor-2.5.0
nohup bin/azkaban-executor-start.sh 1>./log/std.out 2>./log/err.out 

cd /home/hadoop/applications/azkaban/webserver/azkaban-web-2.5.0   
nohup bin/azkaban-web-start.sh  1>./log/std.out 2>./log/err.out

你可能感兴趣的:(Tool)