Repository: incubator-hivemall Updated Branches: refs/heads/master 75e1a4fcf -> a31d0aab3
Fix documents Project: http://git-wip-us.apache.org/repos/asf/incubator-hivemall/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-hivemall/commit/5706273f Tree: http://git-wip-us.apache.org/repos/asf/incubator-hivemall/tree/5706273f Diff: http://git-wip-us.apache.org/repos/asf/incubator-hivemall/diff/5706273f Branch: refs/heads/master Commit: 5706273f7846a81e9eb5cbffe6eeceb04301ba88 Parents: bffd2c7 Author: amaya <[email protected]> Authored: Wed Apr 26 00:34:32 2017 +0900 Committer: amaya <[email protected]> Committed: Wed Apr 26 00:34:32 2017 +0900 ---------------------------------------------------------------------- docs/gitbook/docker/getting_started.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-hivemall/blob/5706273f/docs/gitbook/docker/getting_started.md ---------------------------------------------------------------------- diff --git a/docs/gitbook/docker/getting_started.md b/docs/gitbook/docker/getting_started.md index 31e14b2..a1a4da5 100644 --- a/docs/gitbook/docker/getting_started.md +++ b/docs/gitbook/docker/getting_started.md @@ -35,9 +35,9 @@ This page introduces how to run Hivemall on Docker. `docker-compose -f resources/docker/docker-compose.yml build` -## Build using docker engine +## Build using docker command - `docker build -f resources/docker/Dockerfile` + `docker build -f resources/docker/Dockerfile .` # 2. Run container @@ -52,17 +52,17 @@ This page introduces how to run Hivemall on Docker. 2. Run `docker run -it ${docker_image_id}`. Refer [Docker reference](https://docs.docker.com/engine/reference/run/) for the command detail. -# 3. Run Hivemall on Docker +# 3. Build Hivemall - 1. type `hive` to run (see `.hiverc` loads Hivemall functions) + In the container, Hivemall resource is stored in `$HIVEMALL_PATH`. + You can build Hivemall package by `cd $HIVEMALL_PATH && ./bin/build.sh`. + +# 4. Run Hivemall on Docker + + 1. Type `hive` to run (see `.hiverc` loads Hivemall functions) 2. Try your Hivemall queries! ## Load data into HDFS (optional) You can find an example script to load data into HDFS in `./bin/prepare_iris.sh`. The script loads iris dataset into `iris` database. - -## Build Hivemall (optional) - - In the container, Hivemall resource is stored in `$HIVEMALL_PATH`. - You can build Hivemall package by `cd $HIVEMALL_PATH && ./bin/build.sh`.
