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

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

                Author: ASF GitHub Bot
            Created on: 30/May/19 11:42
            Start Date: 30/May/19 11:42
    Worklog Time Spent: 10m 
      Work Description: elek commented on pull request #869: HDDS-1607. Create 
smoketest for non-secure mapreduce example
URL: https://github.com/apache/hadoop/pull/869#discussion_r288957788
 
 

 ##########
 File path: hadoop-ozone/dist/src/main/compose/ozone-mr/docker-compose.yaml
 ##########
 @@ -0,0 +1,95 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you 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.
+
+version: "3"
+services:
+  datanode:
+    image: apache/hadoop-runner
+    volumes:
+      - ../..:/opt/hadoop
+    ports:
+      - 9864
+    command: ["/opt/hadoop/bin/ozone","datanode"]
+    env_file:
+      - docker-config
+  om:
+    image: apache/hadoop-runner
+    hostname: om
+    volumes:
+      - ../..:/opt/hadoop
+    ports:
+      - 9874:9874
+    environment:
+      WAITFOR: scm:9876
+      ENSURE_OM_INITIALIZED: /data/metadata/om/current/VERSION
+    env_file:
+      - docker-config
+    command: ["/opt/hadoop/bin/ozone","om"]
+  s3g:
+    image: apache/hadoop-runner
+    hostname: s3g
+    volumes:
+      - ../..:/opt/hadoop
+    ports:
+      - 9878:9878
+    env_file:
+      - ./docker-config
+    command: ["/opt/hadoop/bin/ozone","s3g"]
+  scm:
+    image: apache/hadoop-runner:latest
+    hostname: scm
+    volumes:
+      - ../..:/opt/hadoop
+    ports:
+      - 9876:9876
+    env_file:
+      - docker-config
+    environment:
+      ENSURE_SCM_INITIALIZED: /data/metadata/scm/current/VERSION
+    command: ["/opt/hadoop/bin/ozone","scm"]
+  rm:
+    image: ${HADOOP_IMAGE}:${HADOOP_VERSION}
+    hostname: rm
+    volumes:
+      - ../..:/opt/ozone
+    ports:
+      - 8088:8088
+    env_file:
+      - ./docker-config
+    environment:
+      HADOOP_CLASSPATH: 
/opt/ozone/share/ozone/lib/hadoop-ozone-filesystem-lib-current-0.5.0-SNAPSHOT.jar
+    command: ["yarn", "resourcemanager"]
+  nm:
+    image: ${HADOOP_IMAGE}:${HADOOP_VERSION}
+    hostname: nm
+    volumes:
+      - ../..:/opt/ozone
+    env_file:
+      - ./docker-config
+    environment:
+      HADOOP_CLASSPATH: 
/opt/ozone/share/ozone/lib/hadoop-ozone-filesystem-lib-current-0.5.0-SNAPSHOT.jar
+      WAIT_FOR: rm:8088
+    command: ["yarn","nodemanager"]
+  dns:
 
 Review comment:
   My biggest problem was the usage of the yarn ui because it uses internal 
DNS. If you open localhost:8088 (yarn ui) and click to the logs it redirects 
you to an internal dns (one of the nm ui)
   
   With using this internal DNS server you can add 127.0.0.1 to your 
resolve.conf and access all the containers based on the internal names (at 
least on linux).
   
   I am fine with removing it, but it can be convenient to use it (Or I can 
comment it out to make it optional).
 
----------------------------------------------------------------
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: 250906)
    Time Spent: 50m  (was: 40m)

> Create smoketest for non-secure mapreduce example
> -------------------------------------------------
>
>                 Key: HDDS-1607
>                 URL: https://issues.apache.org/jira/browse/HDDS-1607
>             Project: Hadoop Distributed Data Store
>          Issue Type: Improvement
>            Reporter: Elek, Marton
>            Assignee: Elek, Marton
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> We had multiple problems earlier with the classpath separation and the 
> internal ozonefs classloader. Before fixing all the issues I propose to 
> create a smoketest to detect if the classpath separation is broken again .
> As a first step I created an smoketest/ozone-mr environment (based on the  
> work of [~xyao], which is secure) and a smoketest 
> Possible follow-up works:
>  * Adapt the test.sh for the ozonesecure-mr
>  * Include test runs with older hadoop versions 



--
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