You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@eagle.apache.org by ha...@apache.org on 2016/04/06 11:20:26 UTC

incubator-eagle git commit: update development-in-sandbox.md

Repository: incubator-eagle
Updated Branches:
  refs/heads/document 0ea130efe -> 431ce9c49


update development-in-sandbox.md

Changes
* update development-in-sandbox.md to let user know how to build the project and how to copy the package file into the sandbox.
* add new doc work-with-configed sandbox.md
* Update deployment-in-sandbox.md
* clean up.
* add new doc for working with configured sandbox

Author: JingGe
Reviewer: Hao Chen <ha...@apache.org>

Closes #135.


Project: http://git-wip-us.apache.org/repos/asf/incubator-eagle/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-eagle/commit/431ce9c4
Tree: http://git-wip-us.apache.org/repos/asf/incubator-eagle/tree/431ce9c4
Diff: http://git-wip-us.apache.org/repos/asf/incubator-eagle/diff/431ce9c4

Branch: refs/heads/document
Commit: 431ce9c4930ef6aab8ab090a263614633af97294
Parents: 0ea130e
Author: jinge <ge...@gmail.com>
Authored: Sun Apr 3 14:46:29 2016 +0800
Committer: Hao Chen <ha...@apache.org>
Committed: Wed Apr 6 17:18:52 2016 +0800

----------------------------------------------------------------------
 website/_config.yml                     |  2 ++
 website/deployment-in-sandbox.md        | 14 ++++++++++----
 website/work-with-configured-sandbox.md | 12 ++++++++++++
 3 files changed, 24 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/431ce9c4/website/_config.yml
----------------------------------------------------------------------
diff --git a/website/_config.yml b/website/_config.yml
index 0bb112e..5675b49 100644
--- a/website/_config.yml
+++ b/website/_config.yml
@@ -31,6 +31,8 @@ documentations:
     links:
       - title: Deploy Eagle in Sandbox
         url: /docs/deployment-in-sandbox.html
+      - title: Work with configured Sandbox
+        url: /docs/work-with-configured-sandbox.html
       - title: Deploy Eagle in the Production
         url: /docs/deployment-in-production.html
       - title: Stream Log Data into Kafka

http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/431ce9c4/website/deployment-in-sandbox.md
----------------------------------------------------------------------
diff --git a/website/deployment-in-sandbox.md b/website/deployment-in-sandbox.md
index 5e862f0..365cf37 100644
--- a/website/deployment-in-sandbox.md
+++ b/website/deployment-in-sandbox.md
@@ -36,15 +36,21 @@ To install Eagle on a sandbox you need to run a HDP sandbox image in a virtual m
 
     * **Option 1**: Download eagle jar from [here](http://66.211.190.194/eagle-0.1.0.tar.gz).
 
-    * **Option 2**: Build form source code [eagle github](https://github.com/eBay/Eagle). After successful build, ‘eagle-xxx-bin.tar.gz’ will be generated under `./eagle-assembly/target`
+    * **Option 2**: Build form source code [eagle github](https://github.com/eBay/Eagle). After successful build, ‘eagle-xxx-bin.tar.gz’ will be generated under `./eagle-assembly/target` (please refer to[Setup Development Environment on Mac](https://github.com/apache/incubator-eagle/blob/master/eagle-tutorial/SetupDevelopmentEnvOnMac.md) if you have any issues during the maven build.)
 
           # installed npm is required before compiling
           $ mvn clean install -DskipTests=true
+          
 * **Copy and extract the package to sandbox**
 
-      #extract
-      $ tar -zxvf eagle-0.1.0-bin.tar.gz
-      $ mv eagle-0.1.0 /usr/hdp/current/eagle
+      # copy the file to the sandbox. Please run this command on your local machine. 
+      # you will be asked for the password. Please enter "hadoop" - the default password for root in the sandbox
+      <local_machine>$ scp <eagle_path>/eagle-assembly/target/eagle-xxx-bin.tar.gz -p 2222 root@<sandbox_IP>:/usr/hdp/current
+
+      # Now you can login into the sandbox, got the hdp/current directory and extract the package
+      $ cd /usr/hdp/current
+      $ tar -zxvf eagle-0.3.0-bin.tar.gz
+      $ mv eagle-0.3.0 eagle
 
 <br/>
 

http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/431ce9c4/website/work-with-configured-sandbox.md
----------------------------------------------------------------------
diff --git a/website/work-with-configured-sandbox.md b/website/work-with-configured-sandbox.md
new file mode 100644
index 0000000..9386502
--- /dev/null
+++ b/website/work-with-configured-sandbox.md
@@ -0,0 +1,12 @@
+---
+layout: doc
+title:  "Work with configed Sandbox"
+permalink: /docs/work-with-configured-sandbox.html
+---
+
+After Eagle has been deployed into the sandbox and all configuration has been done, you should have no issue to have a running eagle on your machine. But if you restart the sandbox, following steps have to be done to let you have the running eagle again:
+
+    * You should use a web browser and login into Ambari and start HBase, Kafka, and Storm there. Please wait until all of them are running. It will take some time.
+    * login into the sandbox via terminal and run $ /usr/hdp/current/eagle/bin/eagle-service start.
+    * You can use e.g. $ps au | grep eagle to check if the eagle service is running.
+