[ 
https://issues.apache.org/jira/browse/HDDS-1299?focusedWorklogId=215920&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-215920
 ]

ASF GitHub Bot logged work on HDDS-1299:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 20/Mar/19 00:56
            Start Date: 20/Mar/19 00:56
    Worklog Time Spent: 10m 
      Work Description: hadoop-yetus commented on pull request #627: HDDS-1299. 
Support TokenIssuer interface for running jobs with OzoneFileSystem.
URL: https://github.com/apache/hadoop/pull/627#discussion_r267152746
 
 

 ##########
 File path: hadoop-ozone/dist/src/main/compose/ozonesecure-mr/README.md
 ##########
 @@ -0,0 +1,56 @@
+<!---
+  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. See accompanying LICENSE file.
+-->
+# Secure Docker-compose with KMS, Yarn RM and NM
+This docker compose allows to test Sample Map Reduce Jobs with OzoneFileSystem
+It is a superset of ozonesecure docker-compose, which add Yarn NM/RM in 
addition
+to Ozone OM/SCM/NM/DN and Kerberos KDC. 
+
+## Basic setup
+
+```
+docker-compose up -d
+```
+
+## Ozone Manager Setup
+
+```
+kinit -kt /etc/security/keytabs/testuser.keytab testuser/[email protected]
+
+ozone sh volume create /vol1
+ozone sh bucket create /vol1/bucket1
+ozone sh key put /vol1/bucket1/key1 LICENSE.txt
+
+ozone fs -ls o3fs://bucket1.vol1/
+```
+
+## Yarn Resource Manager Setup
+```
+kinit -kt /etc/security/keytabs/testuser.keytab testuser/[email protected]
+export HADOOP_MAPRED_HOME=/opt/hadoop/share/hadoop/mapreduce
+
+export 
HADOOP_CLASSPATH=$HADOOP_CLASSPATH:/opt/ozone/share/ozone/lib/hadoop-ozone-filesystem-lib-current-0.5.0-SNAPSHOT.jar
+
+hadoop fs -mkdir /user
+hadoop fs -mkdir /user/root
+
+
+```
+
+## Run Examples
+
+### WordCount
+
+```
+yarn jar $HADOOP_MAPRED_HOME/hadoop-mapreduce-examples-*.jar wordcount 
o3fs://bucket1.vol1/key1 o3fs://bucket1.vol1/key1.count 
 
 Review comment:
   whitespace:end of line
   
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 215920)
    Time Spent: 0.5h  (was: 20m)

> Support TokenIssuer interface for running jobs with OzoneFileSystem
> -------------------------------------------------------------------
>
>                 Key: HDDS-1299
>                 URL: https://issues.apache.org/jira/browse/HDDS-1299
>             Project: Hadoop Distributed Data Store
>          Issue Type: Sub-task
>            Reporter: Xiaoyu Yao
>            Assignee: Xiaoyu Yao
>            Priority: Blocker
>              Labels: pull-request-available
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> This ticket is opened to add TokenIssuer interface support to OzoneFileSystem 
> so that MR and Spark jobs can run with OzoneFileSystem in secure mode. 
>  
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to