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

Multiple interpreters of the same component are not working

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 0.6.0
    • None
    • None

    Description

      PART 1 :
      Zeppelin allows to declare any interpreter as many times as we want. However, when another interpreter of the same component (say hive with name hive2) is created with different settings and tried to run any paragraph with that interpreter, it throws an error saying "interpreter not found".
      This does is independent of specific interpreter (like spark,etc), i.e., this bug is common for other interpreters, too.

      Reproduce :
      1. Create a new interpreter from Interpreter page (say name : hive2, Interpreter : hive, with new verifiable settings).
      2. Open a notebook and try to run a paragraph with this new interpreter.
      Example :
      %hive2
      show tables

      This loses the logical functionality of multiple interpreters.

      PART 2 :
      Also, after the execution is failed, if tried to run the same paragraph with same interpreter and any other code, no response is observed.
      This paragraph runs if and only if the interpreter is changed to some recognized interpreter.
      Do the steps 1 and 2 from above.
      3. Try to run it again and monitor activity from Inspect page's network option.
      4. Change the interpreter name to some '%hive3' and run. (Still no response).
      5. Now, change it to %sh and run. It will run.
      This is some strange behavior.

      Attachments

        1. creating_interpreter.png
          309 kB
          Sagar Kulkarni
        2. running_paragraph.png
          268 kB
          Sagar Kulkarni
        3. used_bind_interpreter.png
          276 kB
          Sagar Kulkarni

        Activity

          People

            Unassigned Unassigned
            sagarkulkarni3592 Sagar Kulkarni
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: