apex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sas...@apache.org
Subject [2/4] incubator-apex-core git commit: Describe setting HADOOP_HOME globally
Date Fri, 08 Apr 2016 00:41:24 GMT
Describe setting HADOOP_HOME globally

Project: http://git-wip-us.apache.org/repos/asf/incubator-apex-core/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-apex-core/commit/ef61f102
Tree: http://git-wip-us.apache.org/repos/asf/incubator-apex-core/tree/ef61f102
Diff: http://git-wip-us.apache.org/repos/asf/incubator-apex-core/diff/ef61f102

Branch: refs/heads/master
Commit: ef61f102713f4b1d563b1054e5830e5b4346d39b
Parents: 2c061f8
Author: Munagala V. Ramanath <ram@datatorrent.com>
Authored: Wed Apr 6 09:35:46 2016 -0700
Committer: Munagala V. Ramanath <ram@datatorrent.com>
Committed: Wed Apr 6 09:35:46 2016 -0700

 docs/apex_development_setup.md | 14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)

diff --git a/docs/apex_development_setup.md b/docs/apex_development_setup.md
index a154faa..42fe520 100644
--- a/docs/apex_development_setup.md
+++ b/docs/apex_development_setup.md
@@ -103,8 +103,13 @@ On Windows, an additional file, `winutils.exe`, is required; download
it from
 and unpack the archive to, say, `C:\hadoop`; this file should be present under
 `hadoop-common-2.2.0-bin-master\bin` within it.
-You can now run unit tests from the command line by specifying the maven
-property `hadoop.home.dir`, for example:
+Set the `HADOOP_HOME` environment variable system-wide to
+`c:\hadoop\Software\hadoop-common-2.2.0-bin-master` as described at:
You should now be able to run unit tests normally.
+If you prefer not to set the variable globally, you can set it on the command line or within
+your IDE. For example, on the command line, specify the maven
+property `hadoop.home.dir`:
     mvn -Dhadoop.home.dir=c:\hadoop\Software\hadoop-common-2.2.0-bin-master test
@@ -113,15 +118,14 @@ or set the environment variable separately:
     set HADOOP_HOME=c:\hadoop\Software\hadoop-common-2.2.0-bin-master
     mvn test
-To run unit tests from within your IDE, set the `HADOOP_HOME` environment
-variable to the path to the root of the unpacked archive and then run the desired
+Within your IDE, set the environment variable and then run the desired
 unit test in the usual way. For example, with NetBeans you can add:
 at _Properties &#8658; Actions &#8658; Run project &#8658; Set Properties_.
-Similarly, in Eclipse (Mars) add the HADOOP_HOME environment variable to the
+Similarly, in Eclipse (Mars) add it to the
 project properties at _Properties &#8658; Run/Debug Settings &#8658; ApplicationTest
 &#8658; Environment_ tab.

View raw message