The page reported an error when uploading
Installation Failed
Error Chunking during uploading files to db
View web-server log:
2021/11/26 11:20:38.253 +0800 INFO [ProjectManagerServlet] [Azkaban] Installation Failed.
azkaban.project.ProjectManagerException: Error Chunking during uploading files to db...
at azkaban.project.JdbcProjectImpl.uploadFileInChunks(JdbcProjectImpl.java:383)
at azkaban.project.JdbcProjectImpl.lambda$uploadProjectFile$1(JdbcProjectImpl.java:226)
at azkaban.db.DatabaseOperator.transaction(DatabaseOperator.java:95)
at azkaban.project.JdbcProjectImpl.uploadProjectFile(JdbcProjectImpl.java:234)
at azkaban.storage.DatabaseStorage.putProject(DatabaseStorage.java:58)
at azkaban.storage.ProjectStorageManager.uploadProject(ProjectStorageManager.java:106)
at azkaban.project.AzkabanProjectLoader.persistProject(AzkabanProjectLoader.java:221)
at azkaban.project.AzkabanProjectLoader.uploadProject(AzkabanProjectLoader.java:146)
at azkaban.project.ProjectManager.uploadProject(ProjectManager.java:507)
at azkaban.webapp.servlet.ProjectManagerServlet.ajaxHandleUpload(ProjectManagerServlet.java:1828)
at azkaban.webapp.servlet.ProjectManagerServlet.handleUpload(ProjectManagerServlet.java:2001)
at azkaban.webapp.servlet.ProjectManagerServlet.handleMultiformPost(ProjectManagerServlet.java:211)
at azkaban.webapp.servlet.LoginAbstractAzkabanServlet.doPost(LoginAbstractAzkabanServlet.java:308)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:770)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:401)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:326)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:945)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:756)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228)
at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
Can’t see what the problem is, then go to the code:
good guy, give me the exception directly
you can only roughly see that an error is reported when executing SQL
although I don’t know what the specific error is, I guess it’s the problem of database settings, because Azkaban uploads in other environments are normal.
View official documents: https://azkaban.readthedocs.io/en/latest/getStarted.html#database-Setup
the database settings are indeed missing. In addition, this problem can be solved