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

Restart interpreter throws 401 for non admin users

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Bug
    • 0.8.0
    • None
    • None
    • None

    Description

      I have the following shiro.ini file with admin / non admin roles :

      #/api/version = anon
      /api/interpreter/** = authc, roles[admin]
      /api/configurations/** = authc, roles[admin]
      /api/credential/** = authc, roles[admin]
      #/** = anon
      /** = authc

      Only admin users should have rights to edit interpreter config which works fine.

      At some point, regular users should be able to restart their own interpreters (spark is this case) from the nb page but the pop-up just show an error (exactly : (nothing is the log) and the process stay there.

      I believe is due to the restriction on /api/interpreter uri as I get a 401.

      Did the same with an admin user and works fine, the interpreter process is killed and lazily restarted when a cell is executed.

      https://drive.google.com/file/d/0B4flaCIh3sQHdUIwR1Jfel9KWG8/view?usp=sharing

      Attachments

        1. IMG_4360.JPG
          353 kB
          Jongyoul Lee

        Activity

          People

            Unassigned Unassigned
            gvd07 Guillaume Van Delsen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: