hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cdoug...@apache.org
Subject [1/3] hadoop git commit: HADOOP-14197. Fix ADLS doc for credential provider. Contributed by John Zhuge
Date Thu, 23 Mar 2017 19:18:33 GMT
Repository: hadoop
Updated Branches:
  refs/heads/branch-2 05148e33c -> 62b866572
  refs/heads/branch-2.8 88252e85a -> 5e794c74e
  refs/heads/trunk 03955612b -> c55195588


HADOOP-14197. Fix ADLS doc for credential provider. Contributed by John Zhuge


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

Branch: refs/heads/trunk
Commit: c55195588f5853b16d34cb6389cc6f84acc3edea
Parents: 0395561
Author: Chris Douglas <cdouglas@apache.org>
Authored: Thu Mar 23 12:17:27 2017 -0700
Committer: Chris Douglas <cdouglas@apache.org>
Committed: Thu Mar 23 12:17:27 2017 -0700

----------------------------------------------------------------------
 .../hadoop-azure-datalake/src/site/markdown/index.md | 15 ++++++++++-----
 1 file changed, 10 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/c5519558/hadoop-tools/hadoop-azure-datalake/src/site/markdown/index.md
----------------------------------------------------------------------
diff --git a/hadoop-tools/hadoop-azure-datalake/src/site/markdown/index.md b/hadoop-tools/hadoop-azure-datalake/src/site/markdown/index.md
index 3c4c70e..de8fda2 100644
--- a/hadoop-tools/hadoop-azure-datalake/src/site/markdown/index.md
+++ b/hadoop-tools/hadoop-azure-datalake/src/site/markdown/index.md
@@ -166,9 +166,9 @@ For additional reading on the credential provider API, see
 ##### Provisioning
 
 ```bash
-hadoop credential create dfs.adls.oauth2.refresh.token -value 123
+hadoop credential create dfs.adls.oauth2.client.id -value 123
     -provider localjceks://file/home/foo/adls.jceks
-hadoop credential create dfs.adls.oauth2.credential -value 123
+hadoop credential create dfs.adls.oauth2.refresh.token -value 123
     -provider localjceks://file/home/foo/adls.jceks
 ```
 
@@ -176,6 +176,10 @@ hadoop credential create dfs.adls.oauth2.credential -value 123
 
 ```xml
 <property>
+  <name>dfs.adls.oauth2.access.token.provider.type</name>
+  <value>RefreshToken</value>
+</property>
+<property>
   <name>hadoop.security.credential.provider.path</name>
   <value>localjceks://file/home/foo/adls.jceks</value>
   <description>Path to interrogate for protected credentials.</description>
@@ -186,9 +190,10 @@ hadoop credential create dfs.adls.oauth2.credential -value 123
 
 ```bash
 hadoop distcp
-    [-D hadoop.security.credential.provider.path=localjceks://file/home/user/adls.jceks]
-    hdfs://<NameNode Hostname>:9001/user/foo/007020615
-    adl://<Account Name>.azuredatalakestore.net/testDir/
+    [-D dfs.adls.oauth2.access.token.provider.type=RefreshToken
+     -D hadoop.security.credential.provider.path=localjceks://file/home/user/adls.jceks]
+    hdfs://<NameNode Hostname>:9001/user/foo/srcDir
+    adl://<Account Name>.azuredatalakestore.net/tgtDir/
 ```
 
 NOTE: You may optionally add the provider path property to the `distcp` command


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org


Mime
View raw message