You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zeppelin.apache.org by "李观华 (Jira)" <ji...@apache.org> on 2021/09/07 10:39:00 UTC

[jira] [Created] (ZEPPELIN-5511) The incorrect use of Immediate

李观华 created ZEPPELIN-5511:
-----------------------------

             Summary: The incorrect use of Immediate
                 Key: ZEPPELIN-5511
                 URL: https://issues.apache.org/jira/browse/ZEPPELIN-5511
             Project: Zeppelin
          Issue Type: Improvement
          Components: zeppelin-server
    Affects Versions: 0.10.0
            Reporter: 李观华


incorrect use of Immediate.class when start zeppelin-server

 

setp1: add log code:
{code:java}
//java

public NotebookRepoSync(ZeppelinConfiguration conf) throws IOException {
  init(conf);
  // add code
  LOGGER.info("not boot repo sync:"+ this.hashCode());
}
{code}
 

step2: start server

step3: request api: [http://localhost:8080/api/notebook-repositories]

step4:  check the log, “not boot repo sync” will print twice,but not the same hashcode

 

so,the instance which new at start the server is never use!

ps:  after test, I found that it work because addClasses after new ServiceLocator



--
This message was sent by Atlassian Jira
(v8.3.4#803005)