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

ASF GitHub Bot logged work on GOBBLIN-1317:
-------------------------------------------

                Author: ASF GitHub Bot
            Created on: 10/Dec/20 01:00
            Start Date: 10/Dec/20 01:00
    Worklog Time Spent: 10m 
      Work Description: hanghangliu commented on a change in pull request #3154:
URL: https://github.com/apache/incubator-gobblin/pull/3154#discussion_r539763402



##########
File path: gobblin-docker/gobblin-recipes/kafka-hdfs/docker-compose.yml
##########
@@ -0,0 +1,127 @@
+#
+# 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:
+  gobblin-standalone:
+    image: apache/gobblin:latest
+    volumes:
+      - "${LOCAL_JOB_DIR}:/tmp/gobblin-standalone/jobs"
+  zookeeper:
+    image: wurstmeister/zookeeper
+    ports:
+      - "2181:2181"
+  kafka:
+    image: wurstmeister/kafka
+    ports:
+      - "9092:9092"
+    environment:
+      KAFKA_ADVERTISED_HOST_NAME: "kafka"
+      KAFKA_ADVERTISED_PORT: "9092"
+      KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181
+      KAFKA_CREATE_TOPICS: "test:1:1"
+    volumes:
+      - /var/run/docker.sock:/var/run/docker.sock
+
+  namenode:
+    image: bde2020/hadoop-namenode:1.1.0-hadoop2.7.1-java8
+    container_name: namenode
+    volumes:
+      - hadoop_namenode:/hadoop/dfs/name
+    environment:
+      - CLUSTER_NAME=test_cluster
+    env_file:
+      - ./hadoop.env
+    ports:
+      - "9870:9870"
+
+  resourcemanager:
+    image: bde2020/hadoop-resourcemanager:1.1.0-hadoop2.7.1-java8
+    container_name: resourcemanager
+    restart: on-failure
+    depends_on:

Review comment:
       Version 3 no longer supports the CONDITION form of depends_on.
   
   depends_on is sill needed here since we want to start services in dependency 
order
   




----------------------------------------------------------------
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: 522488)
    Time Spent: 3h 40m  (was: 3.5h)

> Add Docker Recipes and Documentations
> -------------------------------------
>
>                 Key: GOBBLIN-1317
>                 URL: https://issues.apache.org/jira/browse/GOBBLIN-1317
>             Project: Apache Gobblin
>          Issue Type: Improvement
>            Reporter: Hanghang Liu
>            Priority: Major
>          Time Spent: 3h 40m
>  Remaining Estimate: 0h
>
> Add documentation to run Gobblin on docker end to end, with latest version.
> Add docker recipes including example Wikipedias job, from/to Kafka and HDFS 
> ingestion. Add guidance for these recipes.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to