zoukankan      html  css  js  c++  java
  • azkaban-executor启动时出现conf/global.properties (No such file or directory)的问题解决(图文详解)

     问题详情

     

    2017/07/06 00:23:06.723 +0800 INFO [FlowRunnerManager] [Azkaban] Cleaning recently finished
    2017/07/06 00:23:06.724 +0800 INFO [FlowRunnerManager] [Azkaban] Cleaning old projects
    2017/07/06 00:23:06.724 +0800 INFO [FlowRunnerManager] [Azkaban] Cleaning old execution dirs
    Exception in thread "main" java.io.FileNotFoundException: conf/global.properties (No such file or directory)
        at java.io.FileInputStream.open(Native Method)
        at java.io.FileInputStream.<init>(FileInputStream.java:146)
        at azkaban.utils.Props.<init>(Props.java:88)
        at azkaban.utils.Props.<init>(Props.java:74)
        at azkaban.execapp.AzkabanExecutorServer.<init>(AzkabanExecutorServer.java:107)
        at azkaban.execapp.AzkabanExecutorServer.main(AzkabanExecutorServer.java:184)

     解决办法

     

    [hadoop@master conf]$ pwd
    /home/hadoop/app/azkaban/azkaban-executor-2.5.0/conf
    [hadoop@master conf]$ ll
    total 8
    -rw-r--r-- 1 hadoop hadoop  55 Apr 22  2014 azkaban.private.properties
    -rw-r--r-- 1 hadoop hadoop 467 May  1 15:34 azkaban.properties
    -rw-r--r-- 1 hadoop hadoop   0 Apr 22  2014 global.properties
    [hadoop@master conf]$ 

     

    executor.global.properties=/home/hadoop/app/azkaban/azkaban-executor-2.5.0/conf/global.properties

    2017/07/06 00:27:39.529 +0800 INFO [FlowRunnerManager] [Azkaban] Cleaning old execution dirs
    2017/07/06 00:27:39.629 +0800 INFO [AzkabanExecutorServer] [Azkaban] Registering MBeans...
    2017/07/06 00:27:39.767 +0800 INFO [AzkabanExecutorServer] [Azkaban] Bean azkaban.jmx.JmxJettyServer registered.
    2017/07/06 00:27:39.795 +0800 INFO [AzkabanExecutorServer] [Azkaban] Bean azkaban.jmx.JmxFlowRunnerManager registered.
    2017/07/06 00:27:39.795 +0800 INFO [log] [Azkaban] jetty-6.1.26
    2017/07/06 00:27:40.064 +0800 INFO [log] [Azkaban] Started SocketConnector@0.0.0.0:12321
    2017/07/06 00:27:40.065 +0800 INFO [AzkabanExecutorServer] [Azkaban] Azkaban Executor Server started on port 12321
    2017/07/06 00:28:06.757 +0800 INFO [FlowRunnerManager] [Azkaban] Cleaning old projects

       若大家,后台启动,则加上-d。

  • 相关阅读:
    Unity3D 事件
    Unity3D 动画回调方法
    Unity3D优化总结
    Unity3D 第一人称控制器 C#脚本
    TCP/IP与IETF的RFC
    linux内核调优参考
    nginx_tcp_proxy代理酸酸乳
    Gitlab+Jenkins实现自动部署
    inotifywait命令详解及安装
    yum无法安装nginx,报错内容为1:nginx-1.14.2-1.el7_4.ngx.x86_64: [Errno 5] [Errno 2] 没有那个文件或目录
  • 原文地址:https://www.cnblogs.com/zlslch/p/7124229.html
Copyright © 2011-2022 走看看