Gyeongtae Park created ZEPPELIN-6131:
----------------------------------------

             Summary: Error occurred when modifying Elasticsearch interpreter 
port
                 Key: ZEPPELIN-6131
                 URL: https://issues.apache.org/jira/browse/ZEPPELIN-6131
             Project: Zeppelin
          Issue Type: Bug
            Reporter: Gyeongtae Park
            Assignee: Gyeongtae Park
             Fix For: 0.12.0


*Error explanation*

There was an issue where the port was treated as a string and included {{`.0`}} 
when modifying the port of the Elasticsearch interpreter.

 

*Error message*
{code:java}
org.apache.zeppelin.interpreter.InterpreterException: 
java.lang.NumberFormatException: For input string: "9200.0"
        at 
org.apache.zeppelin.interpreter.LazyOpenInterpreter.open(LazyOpenInterpreter.java:77)
        at 
org.apache.zeppelin.interpreter.remote.RemoteInterpreterServer$InterpretJob.jobRun(RemoteInterpreterServer.java:808)
        at 
org.apache.zeppelin.interpreter.remote.RemoteInterpreterServer$InterpretJob.jobRun(RemoteInterpreterServer.java:716)
        at org.apache.zeppelin.scheduler.Job.run(Job.java:187)
        at 
org.apache.zeppelin.scheduler.AbstractScheduler.runJob(AbstractScheduler.java:136)
        at 
org.apache.zeppelin.scheduler.FIFOScheduler.lambda$runJobInScheduler$0(FIFOScheduler.java:42)
        at 
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
        at 
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
        at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: java.lang.NumberFormatException: For input string: "9200.0"
        at 
java.base/java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
        at java.base/java.lang.Integer.parseInt(Integer.java:652)
        at java.base/java.lang.Integer.parseInt(Integer.java:770)
        at 
org.apache.zeppelin.elasticsearch.client.HttpBasedClient.<init>(HttpBasedClient.java:67)
        at 
org.apache.zeppelin.elasticsearch.ElasticsearchInterpreter.open(ElasticsearchInterpreter.java:136)
        at 
org.apache.zeppelin.interpreter.LazyOpenInterpreter.open(LazyOpenInterpreter.java:71)
        ... 8 more

 {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to