问题详情
[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
接着,出现,这界面怎么这么丑,跟平常不一样。
本文转自大数据躺过的坑博客园博客,原文链接:http://www.cnblogs.com/zlslch/p/7124193.html,如需转载请自行联系原作者