问题一:Unable to build
I’m running: ./gradlew clean build installDist
azkaban.executor.ExecutorDaoTest > classMethod FAILED
java.sql.SQLException: Table "EXECUTION_LOGS" already exists; SQL statement:
CREATE TABLE execution_logs (
exec_id INT NOT NULL,
name VARCHAR(128),
attempt INT,
enc_type TINYINT,
start_byte INT,
end_byte INT,
log LONGBLOB,
upload_time BIGINT,
PRIMARY KEY (exec_id, name, attempt, start_byte)
) [42101-193] Query: CREATE TABLE execution_logs (
exec_id INT NOT NULL,
name VARCHAR(128),
attempt INT,
enc_type TINYINT,
start_byte INT,
end_byte INT,
log LONGBLOB,
upload_time BIGINT,
PRIMARY KEY (exec_id, name, attempt, start_byte)
) Parameters: []
at org.apache.commons.dbutils.AbstractQueryRunner.rethrow(AbstractQueryRunner.java:363)
at org.apache.commons.dbutils.QueryRunner.update(QueryRunner.java:490)
at org.apache.commons.dbutils.QueryRunner.update(QueryRunner.java:376)
at azkaban.db.DatabaseSetup.runTableScripts(DatabaseSetup.java:102)
at azkaban.db.DatabaseSetup.createTables(DatabaseSetup.java:82)
at azkaban.db.DatabaseSetup.updateDatabase(DatabaseSetup.java:57)
at azkaban.test.Utils.initTestDB(Utils.java:36)
at azkaban.executor.ExecutorDaoTest.setUp(ExecutorDaoTest.java:40)
azkaban.executor.ExecutorDaoTest > classMethod FAILED
java.lang.NullPointerException
at azkaban.executor.ExecutorDaoTest.destroyDB(ExecutorDaoTest.java:46)
azkaban.executor.ExecutionFlowDaoTest > classMethod FAILED
java.sql.SQLException: Table "EXECUTION_LOGS" already exists; SQL statement:
CREATE TABLE execution_logs (
exec_id INT NOT NULL,
name VARCHAR(128),
attempt INT,
enc_type TINYINT,
start_byte INT,
end_byte INT,
log LONGBLOB,
upload_time BIGINT,
PRIMARY KEY (exec_id, name, attempt, start_byte)
) [42101-193] Query: CREATE TABLE execution_logs (
exec_id INT NOT NULL,
name VARCHAR(128),
attempt INT,
enc_type TINYINT,
start_byte INT,
end_byte INT,
log LONGBLOB,
upload_time BIGINT,
PRIMARY KEY (exec_id, name, attempt, start_byte)
) Parameters: []
at org.apache.commons.dbutils.AbstractQueryRunner.rethrow(AbstractQueryRunner.java:363)
at org.apache.commons.dbutils.QueryRunner.update(QueryRunner.java:490)
at org.apache.commons.dbutils.QueryRunner.update(QueryRunner.java:376)
at azkaban.db.DatabaseSetup.runTableScripts(DatabaseSetup.java:102)
at azkaban.db.DatabaseSetup.createTables(DatabaseSetup.java:82)
at azkaban.db.DatabaseSetup.updateDatabase(DatabaseSetup.java:57)
at azkaban.test.Utils.initTestDB(Utils.java:36)
at azkaban.executor.ExecutionFlowDaoTest.setUp(ExecutionFlowDaoTest.java:56)
azkaban.executor.ExecutionFlowDaoTest > classMethod FAILED
java.lang.NullPointerException
at azkaban.executor.ExecutionFlowDaoTest.destroyDB(ExecutionFlowDaoTest.java:62)
解决
./gradlew clean build installDist -x test
问题二 azkaban-web-start.sh无法正常启动
ERROR AzkabanWebServerModule:66 - Could not instantiate UserManager azkaban.u
解决:
https://groups.google.com/forum/#!topic/azkaban-dev/xQu_PxI-gUg
I am new with azkaban, i am also trying to start azkaban web server but i am facing error "temp directory must be set!" how can i set that, i am new with azkaban.
for starting azkaban web server, i am using below command
./bin/azkaban-web-start.sh
即需要使用bin/azkaban-web-start.sh 进行启动,不能azkaban-web-start.sh ,估计是个Bug