You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@submarine.apache.org by li...@apache.org on 2019/11/30 03:57:05 UTC
[submarine] branch master updated: SUBMARINE-306. Add some steps of
creating a image of mini-submarine
This is an automated email from the ASF dual-hosted git repository.
liuxun pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/submarine.git
The following commit(s) were added to refs/heads/master by this push:
new c5b6665 SUBMARINE-306. Add some steps of creating a image of mini-submarine
c5b6665 is described below
commit c5b6665ad7cb8e9eea82fc63b311bf71a9315682
Author: Eros <sa...@gmail.com>
AuthorDate: Fri Nov 29 22:44:02 2019 +0800
SUBMARINE-306. Add some steps of creating a image of mini-submarine
### What is this PR for?
Add some steps to build a personal image of mini-submarine.
### What type of PR is it?
Improvement
### Todos
* [ ] - Task
### What is the Jira issue?
https://issues.apache.org/jira/projects/SUBMARINE/issues/SUBMARINE-306
### How should this be tested?
https://travis-ci.org/apache/submarine/builds/618603483
### Screenshots (if appropriate)
### Questions:
* Does the licenses files need update? Yes/No
* Is there breaking changes for older versions? Yes/No
* Does this needs documentation? Yes/No
Author: Eros <sa...@gmail.com>
Author: Eroschang <43...@users.noreply.github.com>
Closes #116 from Eroschang/SUBMARINE-306 and squashes the following commits:
d36b4a9 [Eroschang] Update README.md
eeec69a [Eros] Add some steps of creating a image of mini-submarine.
---
dev-support/mini-submarine/README.md | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/dev-support/mini-submarine/README.md b/dev-support/mini-submarine/README.md
index 185e54f..e85b01b 100644
--- a/dev-support/mini-submarine/README.md
+++ b/dev-support/mini-submarine/README.md
@@ -31,8 +31,24 @@ docker pull hadoopsubmarine/mini-submarine:0.3.0-SNAPSHOT
#### Create image by yourself
> You may need a VPN if your network is limited
+1.Clone the source code of Submarine
+```
+git clone https://github.com/apache/submarine.git
+```
+
+2.Build Submarine
+```
+cd ./submarine
+mvn clean install package -DskipTests
+```
+
+3.Build image of mini-submarine
+> You can download in advance of these three kind of compressed file for building :
+> zookeeper-3.4.14.tar.gz , hadoop-2.9.2.tar.gz , spark-2.4.4-bin-hadoop2.7.tgz
+> and put them into "submarine/dev-support/mini-submarine/"
```
+cd submarine/dev-support/mini-submarine/
./build_mini-submarine.sh
```
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@submarine.apache.org
For additional commands, e-mail: dev-help@submarine.apache.org