hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Purtell (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-11885) Provide a Dockerfile to easily build and run HBase from source
Date Sat, 06 Sep 2014 00:14:29 GMT

    [ https://issues.apache.org/jira/browse/HBASE-11885?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14123872#comment-14123872

Andrew Purtell commented on HBASE-11885:

In the example URLs provided for getting JDK and Maven binaries, the resources are outside
of Apache infrastructure. That's no problem as those are user supplied settings. However in
the Dockerfile when checking out HBase we probably should not rely on third party resources.
Therefore I propose:

For 0.98:
+RUN git clone http://git.apache.org/hbase.git -b 0.98

For branch-1:
+RUN git clone http://git.apache.org/hbase.git -b branch-1

For master:
+RUN git clone http://git.apache.org/hbase.git -b master

The downside of this change is git.apache.org is substantially slower than github.com, although
the clones do eventually succeed. 

> Provide a Dockerfile to easily build and run HBase from source
> --------------------------------------------------------------
>                 Key: HBASE-11885
>                 URL: https://issues.apache.org/jira/browse/HBASE-11885
>             Project: HBase
>          Issue Type: New Feature
>            Reporter: Dima Spivak
>            Assignee: Dima Spivak
>         Attachments: HBASE-11885.patch, HBASE-11885_v2.patch
> [A recent email to dev@|http://mail-archives.apache.org/mod_mbox/hbase-dev/201408.mbox/%3CCAAef%2BM4q%3Da8Dqxe_EHSFTueY%2BXxz%2BtTe%2BJKsWWbXjhB_Pz7oSA%40mail.gmail.com%3E]
highlighted the difficulty that new users can face in getting HBase compiled from source and
running locally. I'd like to provide a Dockerfile that would allow anyone with Docker running
on a machine with a reasonably current Linux kernel to do so with ease.

This message was sent by Atlassian JIRA

View raw message