启动azkaban时出现User xml file conf/azkaban-users.xml doesn't exist问题解决(图文详解)
问题详情
[hadoop@master azkaban]$ ll total 12 drwxrwxr-x 2 hadoop hadoop 4096 May 1 12:04 azkaban-2.5.0 drwxrwxr-x 10 hadoop hadoop 4096 May 1 15:43 azkaban-executor-2.5.0 drwxrwxr-x 9 hadoop hadoop 4096 May 1 15:35 azkaban-web-2.5.0 [hadoop@master azkaban]$ cd azkaban-web-2.5.0/ [hadoop@master azkaban-web-2.5.0]$ ll total 164 -rw-rw-r-- 1 hadoop hadoop 47932 May 21 12:47 azkaban-access.log -rw-r--r-- 1 hadoop hadoop 105 Apr 22 2014 azkaban.version -rw-rw-r-- 1 hadoop hadoop 73408 May 21 12:47 azkaban-webserver.log drwxr-xr-x 2 hadoop hadoop 4096 Apr 22 2014 bin drwxr-xr-x 2 hadoop hadoop 4096 May 1 15:27 conf -rw-rw-r-- 1 hadoop hadoop 0 May 21 20:22 currentpid drwxr-xr-x 2 hadoop hadoop 4096 May 1 14:43 extlib -rw-rw-r-- 1 hadoop hadoop 2211 May 1 14:39 keystore drwxr-xr-x 2 hadoop hadoop 4096 May 1 14:29 lib drwxr-xr-x 2 hadoop hadoop 4096 Apr 22 2014 plugins drwxrwxr-x 6 hadoop hadoop 4096 May 21 12:38 temp drwxr-xr-x 6 hadoop hadoop 4096 May 1 14:29 web [hadoop@master azkaban-web-2.5.0]$ cd bin/ [hadoop@master bin]$ ll total 16 -rwxr-xr-x 1 hadoop hadoop 161 Apr 22 2014 azkaban-web-shutdown.sh -rwxr-xr-x 1 hadoop hadoop 1275 Apr 22 2014 azkaban-web-start.sh -rwxr-xr-x 1 hadoop hadoop 116 Apr 22 2014 schedule2trigger.sh -rwxr-xr-x 1 hadoop hadoop 118 Apr 22 2014 start-web.sh [hadoop@master bin]$ ./azkaban-web-start.sh
lib/commons-dbcp-1.4.jar:./../lib/commons-dbutils-1.5.jar:./../lib/commons-email-1.2.jar:./../lib/commons-fileupload-1.2.1.jar:./../lib/commons-io-2.4.jar:./../lib/commons-jexl-2.1.1.jar:./../lib/commons-lang-2.6.jar:./../lib/commons-logging-1.1.1.jar:./../lib/commons-pool-1.6.jar:./../lib/guava-13.0.1.jar:./../lib/h2-1.3.170.jar:./../lib/httpclient-4.2.1.jar:./../lib/httpcore-4.2.1.jar:./../lib/jackson-core-asl-1.9.5.jar:./../lib/jackson-mapper-asl-1.9.5.jar:./../lib/jetty-6.1.26.jar:./../lib/jetty-util-6.1.26.jar:./../lib/joda-time-2.0.jar:./../lib/jopt-simple-4.3.jar:./../lib/junit-4.8.jar:./../lib/log4j-1.2.16.jar:./../lib/mail-1.4.5.jar:./../lib/mysql-connector-java-5.1.28.jar:./../lib/servlet-api-2.5.jar:./../lib/slf4j-api-1.6.1.jar:./../lib/slf4j-log4j12-1.6.4.jar:./../lib/velocity-1.7.jar:./../lib/velocity-tools-2.0.jar:./../extlib/mysql-connector-java-5.1.21.jar:./../plugins/*/*.jar:/home/hadoop/app/hadoop-2.6.0/conf:/home/hadoop/app/hadoop-2.6.0/*:/home/hadoop/app/hive/conf:/home/hadoop/app/hive/lib/* [hadoop@master bin]$ 2017/07/05 23:58:24.545 +0800 ERROR [AzkabanWebServer] [Azkaban] Starting Jetty Azkaban Executor... 2017/07/05 23:58:24.633 +0800 INFO [AzkabanServer] [Azkaban] Loading azkaban settings file from ./../conf 2017/07/05 23:58:24.634 +0800 INFO [AzkabanServer] [Azkaban] Loading azkaban properties file 2017/07/05 23:58:24.967 +0800 INFO [AzkabanWebServer] [Azkaban] Setting up Jetty Https Server with port:8443 and numThreads:25 SLF4J: Class path contains multiple SLF4J bindings. SLF4J: Found binding in [jar:file:/home/hadoop/app/azkaban/azkaban-web-2.5.0/lib/slf4j-log4j12-1.6.4.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/home/hadoop/app/hive-1.0.0/lib/hive-jdbc-1.0.0-standalone.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation. 2017/07/05 23:58:25.362 +0800 INFO [log] [Azkaban] Logging to org.slf4j.impl.Log4jLoggerAdapter(org.mortbay.log) via org.mortbay.log.Slf4jLog 2017/07/05 23:58:26.426 +0800 INFO [AzkabanWebServer] [Azkaban] Loading user manager class azkaban.user.XmlUserManager 2017/07/05 23:58:26.427 +0800 ERROR [AzkabanWebServer] [Azkaban] Could not instantiate UserManager azkaban.user.XmlUserManager Exception in thread "main" java.lang.RuntimeException: java.lang.reflect.InvocationTargetException at azkaban.webapp.AzkabanWebServer.loadUserManager(AzkabanWebServer.java:230) at azkaban.webapp.AzkabanWebServer.<init>(AzkabanWebServer.java:181) at azkaban.webapp.AzkabanWebServer.main(AzkabanWebServer.java:726) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:526) at azkaban.webapp.AzkabanWebServer.loadUserManager(AzkabanWebServer.java:226) ... 2 more Caused by: java.lang.IllegalArgumentException: User xml file conf/azkaban-users.xml doesn't exist. at azkaban.user.XmlUserManager.parseXMLFile(XmlUserManager.java:87) at azkaban.user.XmlUserManager.<init>(XmlUserManager.java:81) ... 7 more
先ctrl + c停止它,
[hadoop@master conf]$ pwd /home/hadoop/app/azkaban/azkaban-web-2.5.0/conf [hadoop@master conf]$ ll total 8 -rw-r--r-- 1 hadoop hadoop 1023 May 1 15:12 azkaban.properties -rw-r--r-- 1 hadoop hadoop 330 May 1 15:18 azkaban-users.xml [hadoop@master conf]$
user.manager.xml.file=/home/hadoop/app/azkaban/azkaban-web-2.5.0/conf/azkaban-users.xml
然后,接着
[hadoop@master ~]$ su root Password: [root@master hadoop]# cd [root@master ~]# service mysqld start Starting mysqld: [ OK ] [root@master ~]#
2017/07/06 00:06:17.988 +0800 INFO [log] [Azkaban] jetty-6.1.26 2017/07/06 00:06:18.228 +0800 WARN [log] [Azkaban] failed SslSocketConnector@0.0.0.0:8443: java.io.FileNotFoundException: /home/hadoop/app/azkaban/azkaban-web-2.5.0/bin/keystore (No such file or directory) 2017/07/06 00:06:18.228 +0800 WARN [log] [Azkaban] failed Server@294a671: java.io.FileNotFoundException: /home/hadoop/app/azkaban/azkaban-web-2.5.0/bin/keystore (No such file or directory) 2017/07/06 00:06:18.228 +0800 WARN [AzkabanWebServer] [Azkaban] java.io.FileNotFoundException: /home/hadoop/app/azkaban/azkaban-web-2.5.0/bin/keystore (No such file or directory) /home/hadoop/app/azkaban/azkaban-web-2.5.0/bin/keystore (No such file or directory)
方法一:
# Azkaban Jetty server properties. jetty.maxThreads=25 jetty.ssl.port=8443 jetty.port=8071 jetty.keystore=/home/hadoop/app/azkaban/azkaban-web-2.5.0/keystore jetty.password=mysteel jetty.keypassword=mysteel jetty.truststore=/home/hadoop/app/azkaban/azkaban-web-2.5.0/keystore jetty.trustpassword=mysteel
接着,出现,这界面怎么这么丑,跟平常不一样。
具体解决,见
azkaban web ui界面出现异常诡异“丑”界面的问题解决(图文详解)
欢迎大家,加入我的微信公众号:大数据躺过的坑 免费给分享
同时,大家可以关注我的个人博客:
http://www.cnblogs.com/zlslch/ 和 http://www.cnblogs.com/lchzls/
人生苦短,我愿分享。本公众号将秉持活到老学到老学习无休止的交流分享开源精神,汇聚于互联网和个人学习工作的精华干货知识,一切来于互联网,反馈回互联网。
目前研究领域:大数据、机器学习、深度学习、人工智能、数据挖掘、数据分析。 语言涉及:Java、Scala、Python、Shell、Linux等 。同时还涉及平常所使用的手机、电脑和互联网上的使用技巧、问题和实用软件。 只要你一直关注和呆在群里,每天必须有收获
以及对应本平台的QQ群:161156071(大数据躺过的坑)
作者:大数据和人工智能躺过的坑
出处:http://www.cnblogs.com/zlslch/
本文版权归作者和博客园共有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文链接,否则保留追究法律责任的权利。
如果您认为这篇文章还不错或者有所收获,您可以通过右边的“打赏”功能 打赏我一杯咖啡【物质支持】,也可以点击右下角的【好文要顶】按钮【精神支持】,因为这两种支持都是我继续写作,分享的最大动力!