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

Livy interpreter doesn't work in anonymous mode

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.7.0
    • Fix Version/s: 0.7.0
    • Component/s: None
    • Labels:
      None

      Description

      Livy interpreter should not pass proxy-user to livy server when it is anonymous mode

        Issue Links

          Activity

          Hide
          githubbot ASF GitHub Bot added a comment -

          GitHub user zjffdu opened a pull request:

          https://github.com/apache/zeppelin/pull/1938

          ZEPPELIN-2006. Livy interpreter doesn't work in anonymous mode

              1. What is this PR for?
                We should not pass proxy-user to livy server in anonymous mode, otherwise the livy session will be started as user anonymous.
              1. What type of PR is it?
                [Bug Fix]
              1. Todos
          • [ ] - Task
              1. What is the Jira issue?
              1. How should this be tested?
                Tested manually in anonymous mode.
              1. Screenshots (if appropriate)
              1. Questions:
          • Does the licenses files need update? No
          • Is there breaking changes for older versions? No
          • Does this needs documentation? No

          You can merge this pull request into a Git repository by running:

          $ git pull https://github.com/zjffdu/zeppelin ZEPPELIN-2006

          Alternatively you can review and apply these changes as the patch at:

          https://github.com/apache/zeppelin/pull/1938.patch

          To close this pull request, make a commit to your master/trunk branch
          with (at least) the following in the commit message:

          This closes #1938


          commit a6f7faf764b498b12c855a0f9a5c8f784a406bc9
          Author: Jeff Zhang <zjffdu@apache.org>
          Date: 2017-01-24T08:56:22Z

          ZEPPELIN-2006. Livy interpreter doesn't work in anonymous mode


          Show
          githubbot ASF GitHub Bot added a comment - GitHub user zjffdu opened a pull request: https://github.com/apache/zeppelin/pull/1938 ZEPPELIN-2006 . Livy interpreter doesn't work in anonymous mode What is this PR for? We should not pass proxy-user to livy server in anonymous mode, otherwise the livy session will be started as user anonymous. What type of PR is it? [Bug Fix] Todos [ ] - Task What is the Jira issue? https://issues.apache.org/jira/browse/ZEPPELIN-2006 How should this be tested? Tested manually in anonymous mode. Screenshots (if appropriate) Questions: Does the licenses files need update? No Is there breaking changes for older versions? No Does this needs documentation? No You can merge this pull request into a Git repository by running: $ git pull https://github.com/zjffdu/zeppelin ZEPPELIN-2006 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/zeppelin/pull/1938.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #1938 commit a6f7faf764b498b12c855a0f9a5c8f784a406bc9 Author: Jeff Zhang <zjffdu@apache.org> Date: 2017-01-24T08:56:22Z ZEPPELIN-2006 . Livy interpreter doesn't work in anonymous mode
          Hide
          githubbot ASF GitHub Bot added a comment -

          Github user zjffdu commented on the issue:

          https://github.com/apache/zeppelin/pull/1938

          @prabhjyotsingh Please help review. CI failure is not relevant. I have created https://issues.apache.org/jira/browse/ZEPPELIN-2007 for it

          Show
          githubbot ASF GitHub Bot added a comment - Github user zjffdu commented on the issue: https://github.com/apache/zeppelin/pull/1938 @prabhjyotsingh Please help review. CI failure is not relevant. I have created https://issues.apache.org/jira/browse/ZEPPELIN-2007 for it
          Hide
          githubbot ASF GitHub Bot added a comment -

          Github user prabhjyotsingh commented on the issue:

          https://github.com/apache/zeppelin/pull/1938

          This is for kerberos enabled environment, correct ?

          Show
          githubbot ASF GitHub Bot added a comment - Github user prabhjyotsingh commented on the issue: https://github.com/apache/zeppelin/pull/1938 This is for kerberos enabled environment, correct ?
          Hide
          githubbot ASF GitHub Bot added a comment -

          Github user zjffdu commented on the issue:

          https://github.com/apache/zeppelin/pull/1938

          No, impersonation works in both secured and unsecured enviroment. Without this PR, we still pass proxy-user `anonymous` to livy server. And this cause we launch the spark app via user `anonymous`. But it should the user `livy` in the anonymous mode.

          Show
          githubbot ASF GitHub Bot added a comment - Github user zjffdu commented on the issue: https://github.com/apache/zeppelin/pull/1938 No, impersonation works in both secured and unsecured enviroment. Without this PR, we still pass proxy-user `anonymous` to livy server. And this cause we launch the spark app via user `anonymous`. But it should the user `livy` in the anonymous mode.
          Hide
          githubbot ASF GitHub Bot added a comment -

          Github user prabhjyotsingh commented on the issue:

          https://github.com/apache/zeppelin/pull/1938

          Got it, good catch. Test on local, works as expected, LGTM.

          Show
          githubbot ASF GitHub Bot added a comment - Github user prabhjyotsingh commented on the issue: https://github.com/apache/zeppelin/pull/1938 Got it, good catch. Test on local, works as expected, LGTM.
          Hide
          githubbot ASF GitHub Bot added a comment -

          Github user khalidhuseynov commented on the issue:

          https://github.com/apache/zeppelin/pull/1938

          LGTM

          Show
          githubbot ASF GitHub Bot added a comment - Github user khalidhuseynov commented on the issue: https://github.com/apache/zeppelin/pull/1938 LGTM
          Hide
          githubbot ASF GitHub Bot added a comment -

          Github user prabhjyotsingh commented on the issue:

          https://github.com/apache/zeppelin/pull/1938

          Merging this if no more discussion.

          Show
          githubbot ASF GitHub Bot added a comment - Github user prabhjyotsingh commented on the issue: https://github.com/apache/zeppelin/pull/1938 Merging this if no more discussion.
          Hide
          githubbot ASF GitHub Bot added a comment -

          Github user asfgit closed the pull request at:

          https://github.com/apache/zeppelin/pull/1938

          Show
          githubbot ASF GitHub Bot added a comment - Github user asfgit closed the pull request at: https://github.com/apache/zeppelin/pull/1938
          Hide
          prabhjyotsingh Prabhjyot Singh added a comment -

          Issue resolved by pull request 1938.
          https://github.com/apache/zeppelin/pull/1938

          Show
          prabhjyotsingh Prabhjyot Singh added a comment - Issue resolved by pull request 1938. https://github.com/apache/zeppelin/pull/1938

            People

            • Assignee:
              zjffdu Jeff Zhang
              Reporter:
              zjffdu Jeff Zhang
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development