You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Elek, Marton (JIRA)" <ji...@apache.org> on 2017/12/01 16:36:00 UTC
[jira] [Commented] (HADOOP-15083) Create base image for running
hadoop in docker containers
[ https://issues.apache.org/jira/browse/HADOOP-15083?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16274593#comment-16274593 ]
Elek, Marton commented on HADOOP-15083:
---------------------------------------
This image is already under testing on the HDFS-7240 branch.
To test:
1. Apply the patch to a new empty branch:
{code}
git checkout --orphan docker/runner
git commit --allow-empty -m "HADOOP-15083. new branch for the docker/runner image
{code}
And now you can apply the attached patch as ususal.
2. Build the image
{code}
./build.sh
{code}
Note: with dockerhub automated builds the build.sh won't be called. It is just a helper for local development (and rat check)
3. Test it with HDFS-7240
{code}
git checkout HDFS-7240
mvn install -DskipTests -DskipShade -Pdist -Dmaven.javadoc.skip=true
cd dev-support/compose/ozone
#replace elek/hadoop-runner with apache/hadoop-runner [1]
docker-compose up -d
firefox http://localhost:9874
firefox http://localhost:9876
{code}
[1]: While it's under review I uploaded the proposed version to the dockerhub under elek to make it easier to test
> Create base image for running hadoop in docker containers
> ---------------------------------------------------------
>
> Key: HADOOP-15083
> URL: https://issues.apache.org/jira/browse/HADOOP-15083
> Project: Hadoop Common
> Issue Type: Sub-task
> Reporter: Elek, Marton
> Assignee: Elek, Marton
> Attachments: HADOOP-15083.001.patch
>
>
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org