You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@zeppelin.apache.org by mo...@apache.org on 2016/11/29 22:18:36 UTC

zeppelin git commit: [HOT FIX] Fix broken link to userimpersonation.html

Repository: zeppelin
Updated Branches:
  refs/heads/master 234c42bdb -> c4e7fabf0


[HOT FIX] Fix broken link to userimpersonation.html

### What is this PR for?
https://github.com/apache/zeppelin/pull/1554 added a `processenduser.md`, but the navigation menu different name on it's link `userimpersonation.html`

This PR changes filename from `processenduser.md` to `userimpersonation.md`.

### What type of PR is it?
Hot Fix

### Todos
* [x] - Change file name

### What is the Jira issue?
https://github.com/apache/zeppelin/pull/1554

### How should this be tested?
build docs and navigate "Interpreter -> Interpreter User Impersonation"

### Screenshots (if appropriate)

### Questions:
* Does the licenses files need update? no
* Is there breaking changes for older versions? no
* Does this needs documentation? no

Author: Lee moon soo <mo...@apache.org>

Closes #1704 from Leemoonsoo/fix_link and squashes the following commits:

8ede96e [Lee moon soo] Change filename


Project: http://git-wip-us.apache.org/repos/asf/zeppelin/repo
Commit: http://git-wip-us.apache.org/repos/asf/zeppelin/commit/c4e7fabf
Tree: http://git-wip-us.apache.org/repos/asf/zeppelin/tree/c4e7fabf
Diff: http://git-wip-us.apache.org/repos/asf/zeppelin/diff/c4e7fabf

Branch: refs/heads/master
Commit: c4e7fabf081353a4b85bda24ab1783bd61da0632
Parents: 234c42b
Author: Lee moon soo <mo...@apache.org>
Authored: Tue Nov 29 13:58:43 2016 -0800
Committer: Lee moon soo <mo...@apache.org>
Committed: Tue Nov 29 14:18:31 2016 -0800

----------------------------------------------------------------------
 docs/manual/processenduser.md    | 66 -----------------------------------
 docs/manual/userimpersonation.md | 66 +++++++++++++++++++++++++++++++++++
 2 files changed, 66 insertions(+), 66 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/zeppelin/blob/c4e7fabf/docs/manual/processenduser.md
----------------------------------------------------------------------
diff --git a/docs/manual/processenduser.md b/docs/manual/processenduser.md
deleted file mode 100644
index 363c62d..0000000
--- a/docs/manual/processenduser.md
+++ /dev/null
@@ -1,66 +0,0 @@
----
-layout: page
-title: "Run zeppelin interpreter process as web front end user"
-description: "Set up zeppelin interpreter process as web front end user."
-group: manual
----
-<!--
-Licensed under the Apache License, Version 2.0 (the "License");
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
--->
-{% include JB/setup %}
-
-## Run zeppelin interpreter process as web front end user
-
- * Enable shiro auth in shiro.ini
-
-```
-[users]
-user1 = password1, role1
-user2 = password2, role2
-```
-
- * Enable password-less ssh for the user you want to impersonate (say user1).
-
-```
-adduser user1
-#ssh-keygen (optional if you don't already have generated ssh-key.
-ssh user1@localhost mkdir -p .ssh
-cat ~/.ssh/id_rsa.pub | ssh user1@localhost 'cat >> .ssh/authorized_keys'
-```
-
- * Start zeppelin server.
- 
-<hr>
-<div class="row">
-  <div class="col-md-12">
-         <b> Screenshot </b>
-         <br /><br />
-  </div>
-  <div class="col-md-12" >
-      <a data-lightbox="compiler" href="../assets/themes/zeppelin/img/screenshots/user-impersonation.gif">
-        <img class="img-responsive" src="../assets/themes/zeppelin/img/screenshots/user-impersonation.gif" />
-      </a>
-    
-  </div>
-</div>
-<hr>
- 
- * Go to interpreter setting page, and enable "User Impersonate" in any of the interpreter (in my example its shell interpreter)
- 
- * Test with a simple paragraph
-
-```
-%sh
-whoami
-```
-

http://git-wip-us.apache.org/repos/asf/zeppelin/blob/c4e7fabf/docs/manual/userimpersonation.md
----------------------------------------------------------------------
diff --git a/docs/manual/userimpersonation.md b/docs/manual/userimpersonation.md
new file mode 100644
index 0000000..363c62d
--- /dev/null
+++ b/docs/manual/userimpersonation.md
@@ -0,0 +1,66 @@
+---
+layout: page
+title: "Run zeppelin interpreter process as web front end user"
+description: "Set up zeppelin interpreter process as web front end user."
+group: manual
+---
+<!--
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+{% include JB/setup %}
+
+## Run zeppelin interpreter process as web front end user
+
+ * Enable shiro auth in shiro.ini
+
+```
+[users]
+user1 = password1, role1
+user2 = password2, role2
+```
+
+ * Enable password-less ssh for the user you want to impersonate (say user1).
+
+```
+adduser user1
+#ssh-keygen (optional if you don't already have generated ssh-key.
+ssh user1@localhost mkdir -p .ssh
+cat ~/.ssh/id_rsa.pub | ssh user1@localhost 'cat >> .ssh/authorized_keys'
+```
+
+ * Start zeppelin server.
+ 
+<hr>
+<div class="row">
+  <div class="col-md-12">
+         <b> Screenshot </b>
+         <br /><br />
+  </div>
+  <div class="col-md-12" >
+      <a data-lightbox="compiler" href="../assets/themes/zeppelin/img/screenshots/user-impersonation.gif">
+        <img class="img-responsive" src="../assets/themes/zeppelin/img/screenshots/user-impersonation.gif" />
+      </a>
+    
+  </div>
+</div>
+<hr>
+ 
+ * Go to interpreter setting page, and enable "User Impersonate" in any of the interpreter (in my example its shell interpreter)
+ 
+ * Test with a simple paragraph
+
+```
+%sh
+whoami
+```
+