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

Java interpreter to use JShell API

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Interpreters
    • None

    Description

      When Zeppelin will move to JDK 11, re-write the Java interpreter to use the JShell API which will allow a better REPL experience.

      Current implementation is not ideal as a whole class with a main method is needed to run some simple java code, the better approach is to use a Java REPL API.

      With JShell API the user will be able to run multiple snippets across paragraph like the other interpreters such as Spark.

      JSchell API will support both sharing variables between paragraphs as well as using the ZeppelinContext for Zeppelin input/output support. At that point the Java interpreter will have comparable features to the other interpreters.

       Both Beam and Hazelcast Jet interpreters will have the same benefits once this enhancement has been implemented as they simply extend the JavaInterpreter.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              selvinsource Vincenzo Selvaggio
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: