Azkaban无法启动错误Error: Could not find or load main class 12321
1 错误日志
Using Hadoop from /mnt/software/hadoop-2.6.0-cdh5.16.1 bin/internal/../.. /mnt/software/jdk1.8.0_201/lib/dt.jar:/mnt/software/jdk1.8.0_201/lib/tools.jar::bin/internal/../../lib/activation-1.1.jar:bin/internal/../../lib/aopalliance-1.0.jar:bin/internal/../../lib/az-core-3.48.0-1-gc25fb03a.jar:bin/internal/../../lib/azkaban-common-3.48.0-1-gc25fb03a.jar:bin/internal/../../lib/azkaban-db-3.48.0-1-gc25fb03a.jar:bin/internal/../../lib/azkaban-exec-server-3.48.0-1-gc25fb03a.jar:bin/internal/../../lib/azkaban-hadoop-security-plugin-3.48.0-1-gc25fb03a.jar:bin/internal/../../lib/azkaban-spi-3.48.0-1-gc25fb03a.jar:bin/internal/../../lib/c3p0-0.9.1.1.jar:bin/internal/../../lib/commons-codec-1.9.jar:bin/internal/../../lib/commons-collections-3.2.2.jar:bin/internal/../../lib/commons-dbcp2-2.1.1.jar:bin/internal/../../lib/commons-dbutils-1.5.jar:bin/internal/../../lib/commons-fileupload-1.2.1.jar:bin/internal/../../lib/commons-io-2.4.jar:bin/internal/../../lib/commons-jexl-2.1.1.jar:bin/internal/../../lib/commons-lang-2.6.jar:bin/internal/../../lib/commons-logging-1.2.jar:bin/internal/../../lib/commons-math3-3.0.jar:bin/internal/../../lib/commons-pool2-2.4.2.jar:bin/internal/../../lib/gson-2.8.1.jar:bin/internal/../../lib/guava-21.0.jar:bin/internal/../../lib/guice-4.1.0.jar:bin/internal/../../lib/httpclient-4.5.3.jar:bin/internal/../../lib/httpcore-4.4.6.jar:bin/internal/../../lib/jackson-core-asl-1.9.5.jar:bin/internal/../../lib/jackson-mapper-asl-1.9.5.jar:bin/internal/../../lib/javax.inject-1.jar:bin/internal/../../lib/jetty-6.1.26.jar:bin/internal/../../lib/jetty-util-6.1.26.jar:bin/internal/../../lib/joda-time-2.0.jar:bin/internal/../../lib/jopt-simple-4.3.jar:bin/internal/../../lib/jsr305-3.0.2.jar:bin/internal/../../lib/kafka-clients-0.10.0.0.jar:bin/internal/../../lib/kafka-log4j-appender-0.10.0.0.jar:bin/internal/../../lib/log4j-1.2.17.jar:bin/internal/../../lib/lz4-1.3.0.jar:bin/internal/../../lib/mail-1.4.5.jar:bin/internal/../../lib/metrics-core-3.1.0.jar:bin/internal/../../lib/metrics-jvm-3.1.0.jar:bin/internal/../../lib/mysql-connector-java-5.1.28.jar:bin/internal/../../lib/quartz-2.2.1.jar:bin/internal/../../lib/servlet-api-2.5-20081211.jar:bin/internal/../../lib/slf4j-api-1.7.21.jar:bin/internal/../../lib/slf4j-log4j12-1.7.21.jar:bin/internal/../../lib/snakeyaml-1.18.jar:bin/internal/../../lib/snappy-java-1.1.2.4.jar:bin/internal/../../lib/velocity-1.7.jar:bin/internal/../../extlib/*.jar:bin/internal/../../plugins/*/*.jar:/mnt/software/hadoop-2.6.0-cdh5.16.1/conf:/mnt/software/hadoop-2.6.0-cdh5.16.1/* Starting AzkabanExecutorServer on port 12321 12321 ... Error: Could not find or load main class 12321 ~
2 解决方案
A 检查自己的配置文件是否有多个端口配置
B 换个端口试一下,看看是否能够启动