gearpump-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GEARPUMP-281) Put dockerfiles used in interation test into integrationtest/docker
Date Tue, 28 Feb 2017 06:05:45 GMT

    [ https://issues.apache.org/jira/browse/GEARPUMP-281?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15887355#comment-15887355
] 

ASF GitHub Bot commented on GEARPUMP-281:
-----------------------------------------

Github user huafengw commented on a diff in the pull request:

    https://github.com/apache/incubator-gearpump/pull/162#discussion_r103382701
  
    --- Diff: integrationtest/docker/README.md ---
    @@ -1,28 +1,23 @@
    -# Gearpump Launcher Docker Image
    -
    -The image helps developer to setup/test a local [Gearpump](https://github.com/apache/incubator-gearpump.git)
cluster quickly. The image is based on a minimal JRE8 environment with Python support. 
    -
    -## Usage
    -
    -Here are the commands to launch a cluster. You can launch as many worker containers as
you wish but only one master for the time being.
    -```
    -export GEARPUMP_HOME=/path/to/gearpump
    -
    -docker run -d \
    - -h master0 --name master0 \
    - -v $GEARPUMP_HOME:/opt/gearpump \
    - -e JAVA_OPTS=-Dgearpump.cluster.masters.0=master0:3000 \
    - -p 8090:8090 \
    - stanleyxu2005/gearpump-launcher \
    - master -ip master0 -port 3000
    -
    -docker run -d \
    - --link master0 \
    - -v $GEARPUMP_HOME:/opt/gearpump \
    - -e JAVA_OPTS=-Dgearpump.cluster.masters.0=master0:3000 \
    - stanleyxu2005/gearpump-launcher \
    - worker
    -
    -docker exec master0 gear info
    -docker exec master0 gear app -jar /path/to/userapp.jar [mainclass] [args]
    -```
    +This folder contains docker images definitions used in integration tests of Gearpump.
    +
    +
    +These include:
    +
    + * [The standalone single node Kafka cluster with Zookeeper](/kafka)
    + * [The Hadoop image](/hadoop)
    + * [The Gearpump Cluster Launcher and Storm Client](/gearpump)
    + * [Java 8 JRE image](/java)
    +
    +
    +We decided to fork spotify/kafka image, because the project does not maintain proper
tagging. 
    +For now our tests focus on Kafka 0.8.x, and the project does not support this version.

    +
    +Hadoop docker image (https://hub.docker.com/r/sequenceiq/hadoop-docker/) is well maintained.

    +We rely on version 2.6.0 and we feel there is no need to duplicate it.
    +
    +Gearpump Cluster Launcher  helps developer to setup/test a local Gearpump cluster quickly.

    +The image is based on a minimal JRE8 environment with Python support.
    +
    +We used to base Gearpump Cluster Launcher on errordeveloper/oracle-jre image but it stuck
on version 8u66-b17 and doesn't support tagging.
    +We also probably hit a Java bug (http://bugs.java.com/bugdatabase/view_bug.do?bug_id=8133205)
that requires never version of JRE.
    --- End diff --
    
    typo 'nerver' => 'newer'


> Put dockerfiles used in interation test into integrationtest/docker
> -------------------------------------------------------------------
>
>                 Key: GEARPUMP-281
>                 URL: https://issues.apache.org/jira/browse/GEARPUMP-281
>             Project: Apache Gearpump
>          Issue Type: Task
>          Components: integrationtest
>         Environment: N/A
>            Reporter: Karol Brejna
>            Assignee: Karol Brejna
>            Priority: Minor
>             Fix For: 0.8.3
>
>




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message