问题详情
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。