azkaban启动时报错

报错

6.0/conf:/home/hadoop/hadoop-2.6.0/*:/conf:/lib/*
[root@itcast01 bin]# Invalid maximum heap size: -Xmx4G
The specified size exceeds the maximum representable size.
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit

解决

是自己在启动配置中的大小超出;设置azkaban-web-start.sh中Xmx4G改成512M;

AZKABAN_OPTS="-Xmx512M"

同理,在启动executor的时候也会报错,同样改为512M,

而上面的命令bin./azkaban-web-start.sh换成在bin下启动./azkaban-web-start.sh出现报错关键在于Caused by: java.lang.IllegalArgumentException: User xml file conf/azkaban-users.xml doesn’t exist.

原因是在

vi azkaban.properties中,路径写的是相对路径,所以如果不改动路径,那么就得在正确的路径下启动命令,如在server中启动,用bin./azkaban-web-start.sh

猜你喜欢

转载自blog.csdn.net/qq_35688140/article/details/84640317
今日推荐