Uploaded image for project: 'Zeppelin'
  1. Zeppelin
  2. ZEPPELIN-4377

Interpreter doesn't start if interpreter ID contains space

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.8.2, 0.9.0
    • Fix Version/s: 0.8.3, 0.9.0
    • Component/s: zeppelin-interpreter
    • Labels:
      None

      Description

      I was experimenting with JDBC interpreter for DSE's AlwaysOn SQL Service, and created a new interpreter in UI that had the name "JDBC (AOSS)". When I did use this interpreter in the notebook, the process didn't start because of the space in the command:

      java.lang.RuntimeException: /Users/ott/work/zeppelin/zeppelin-head/bin/interpreter.sh: eval: line 231: syntax error near unexpected token `(' /Users/ott/work/zeppelin/zeppelin-head/bin/interpreter.sh: eval: line 231: `/Users/ott/.jenv/versions/1.8/bin/java -Dfile.encoding=UTF-8 -Dlog4j.configuration=file:///Users/ott/work/zeppelin/zeppelin-head/conf/log4j.properties -Dzeppelin.log.file=/Users/ott/work/zeppelin/zeppelin-head/logs/zeppelin-interpreter-AOSS (JDBC)-ott-thorium.local.log -Xms1024m -Xmx1024m -XX:MaxPermSize=512m -cp :/Users/ott/work/zeppelin/zeppelin-head/local-repo/AOSS (JDBC)/*:/Users/ott/work/zeppelin/zeppelin-head/interpreter/jdbc/*:/Users/ott/work/zeppelin/zeppelin-head/zeppelin-interpreter/target/lib/*::/Users/ott/work/zeppelin/zeppelin-head/zeppelin-interpreter/target/classes:/Users/ott/work/zeppelin/zeppelin-head/zeppelin-interpreter/target/test-classes:/Users/ott/work/zeppelin/zeppelin-head/zeppelin-zengine/target/test-classes org.apache.zeppelin.interpreter.remote.RemoteInterpreterServer 10.151.0.177 55431 :' 
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                alexott Alex Ott
                Reporter:
                alexott Alex Ott
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 3.5h
                  3.5h