soicem commented on PR #4441:
URL: https://github.com/apache/zeppelin/pull/4441#issuecomment-1229478898

   Hello @jongyoul.  sorry for late.
   
   I want to add a programmatic interpreter of livy 0.7.1 by referring to 
existing code. So, I tried to run the existing test 
code(LivyInterpreterIT.java), checkPreCondition funtion passed, but the code 
related to cluster below is blocked.
   
   ```java
   @BeforeClass
     public static void setUp() {
       if (!checkPreCondition()) {
         return;
       }
       cluster = Cluster$.MODULE$.get();
   ```
   
   `ERROR [2022-08-28 23:49:35,116] ({main} Logging.scala[error]:52) - Failed 
to initialize cluster.
   org.scalatest.exceptions.TestFailedDueToTimeoutException: The code passed to 
eventually never returned normally. Attempted 302 times over 30.083785471 
seconds. Last failure message: assertion failed: MiniLivyMain hasn't started 
yet..
        at 
org.scalatest.concurrent.Eventually$class.tryTryAgain$1(Eventually.scala:420)
        at 
org.scalatest.concurrent.Eventually$class.eventually(Eventually.scala:438)
        at org.scalatest.concurrent.Eventually$.eventually(Eventually.scala:478)
        at 
org.scalatest.concurrent.Eventually$class.eventually(Eventually.scala:307)
        at org.scalatest.concurrent.Eventually$.eventually(Eventually.scala:478)
        at 
org.apache.livy.test.framework.MiniCluster.start(MiniCluster.scala:327)
        at 
org.apache.livy.test.framework.MiniCluster.runLivy(MiniCluster.scala:254)
        at 
org.apache.livy.test.framework.MiniCluster.deploy(MiniCluster.scala:235)
        at 
org.apache.livy.test.framework.Cluster$.liftedTree1$1(Cluster.scala:107)
        at 
org.apache.livy.test.framework.Cluster$.cluster$lzycompute(Cluster.scala:99)
        at org.apache.livy.test.framework.Cluster$.cluster(Cluster.scala:97)
        at org.apache.livy.test.framework.Cluster$.get(Cluster.scala:121)
        at 
org.apache.zeppelin.livy.LivyInterpreterIT.setUp(LivyInterpreterIT.java:59)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at 
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
        at 
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
        at 
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
        at 
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24)
        at 
org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
        at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
        at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
        at 
com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:69)
        at 
com.intellij.rt.junit.IdeaTestRunner$Repeater$1.execute(IdeaTestRunner.java:38)
        at 
com.intellij.rt.execution.junit.TestsRepeater.repeat(TestsRepeater.java:11)
        at 
com.intellij.rt.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:35)
        at 
com.intellij.rt.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:235)
        at com.intellij.rt.junit.JUnitStarter.main(JUnitStarter.java:54)
   Caused by: java.lang.AssertionError: assertion failed: MiniLivyMain hasn't 
started yet.
   `
   
   Do you know how to configure cluster?  Thank you for the support!


-- 
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.

To unsubscribe, e-mail: dev-unsubscr...@zeppelin.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to