liuxunorg opened a new pull request #178: SUBAMRINE-382. Output submarine 
server run log in travis
URL: https://github.com/apache/submarine/pull/178
 
 
   ### What is this PR for?
   Outputting the log of the submarine startup in the submarine-e2e test can 
help us check the reason why the submarine server cannot be started normally in 
travis.
   
   like, https://api.travis-ci.org/v3/job/648240038/log.txt
   You can see 
   ```
   ================= logs/submarine.log BEGIN =================
   2020-02-10 05:04:38,668 INFO  [main]: submarine.AbstractSubmarineIT 
(AbstractSubmarineIT.java:printSubmarineLog(183)) - SUBMARINE_SERVER_CLASSPATH: 
/home/travis/build/liuxunorg/submarine/submarine-dist/target/submarine-dist-0.4.0-SNAPSHOT-hadoop-2.9/submarine-dist-0.4.0-SNAPSHOT-hadoop-2.9/bin/../lib/*::/home/travis/build/liuxunorg/submarine/submarine-dist/target/submarine-dist-0.4.0-SNAPSHOT-hadoop-2.9/submarine-dist-0.4.0-SNAPSHOT-hadoop-2.9/conf
   log4j:ERROR Could not find value for key log4j.appender.EventCounter
   log4j:ERROR Could not instantiate appender named "EventCounter".
   20/02/10 05:04:37 [main]: INFO utils.SubmarineConfiguration: Load 
configuration from 
file:/home/travis/build/liuxunorg/submarine/submarine-dist/target/submarine-dist-0.4.0-SNAPSHOT-hadoop-2.9/submarine-dist-0.4.0-SNAPSHOT-hadoop-2.9/conf/submarine-site.xml
   [INFO ] 2020-02-10 05:04:37,556 
method:org.apache.submarine.server.SubmarineServer.main(SubmarineServer.java:78)
   Submarine server Host: 0.0.0.0
   [INFO ] 2020-02-10 05:04:37,556 
method:org.apache.submarine.server.SubmarineServer.main(SubmarineServer.java:80)
   Submarine server Port: 8080
   [INFO ] 2020-02-10 05:04:37,604 
method:org.eclipse.jetty.util.log.Log.initialized(Log.java:193)
   Logging initialized @705ms to org.eclipse.jetty.util.log.Slf4jLog
   [WARN ] 2020-02-10 05:04:37,896 
method:org.eclipse.jetty.server.ServerConnector.setSoLingerTime(ServerConnector.java:458)
   Ignoring deprecated socket close linger time
   [INFO ] 2020-02-10 05:04:38,060 
method:org.apache.submarine.server.SubmarineServer.setupWebAppContext(SubmarineServer.java:170)
   workbench web war file path is ../workbench-web-ng.war.
   [INFO ] 2020-02-10 05:04:38,445 
method:org.apache.submarine.server.workbench.websocket.NotebookServer.<init>(NotebookServer.java:76)
   NotebookServer instantiated: 
org.apache.submarine.server.workbench.websocket.NotebookServer@3943a2be
   ================= logs/submarine.log END =================
   ```
   
   
   
   ### What type of PR is it?
   [Improvement]
   
   ### Todos
   * [ ] - Task
   
   ### What is the Jira issue?
   * https://issues.apache.org/jira/browse/SUBMARINE-382
   
   ### How should this be tested?
   * https://travis-ci.org/liuxunorg/submarine/builds/648240030
   
   ### Screenshots (if appropriate)
   
   ### Questions:
   * Does the licenses files need update? No
   * Is there breaking changes for older versions? No
   * Does this needs documentation? No
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to