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。
作者:大数据和人工智能躺过的坑
出处:http://www.cnblogs.com/zlslch/
本文版权归作者和博客园共有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文链接,否则保留追究法律责任的权利。
如果您认为这篇文章还不错或者有所收获,您可以通过右边的“打赏”功能 打赏我一杯咖啡【物质支持】,也可以点击右下角的【好文要顶】按钮【精神支持】,因为这两种支持都是我继续写作,分享的最大动力!
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】凌霞软件回馈社区,博客园 & 1Panel & Halo 联合会员上线
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步