Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
3.4.0
-
None
Description
Prior to running a node.js command, a TMPDIR environment variable is set - hadoop/package.json at 11d144d2284be29da1f49e163db0763636dcf058 ยท apache/hadoop (github.com)
"build:mvn": "TMPDIR=tmp node/node ./node_modules/ember-cli/bin/ember build -prod"
This causes the command execution to fail on Windows since environment variables are set using the set command on Windows. The equivalent command on Windows would be -
"build:mvn": "set TMPDIR=tmp; node/node ./node_modules/ember-cli/bin/ember build -prod"
There's no cross platform way to set the environment variables. Thus, we need to be able to chose either of the commands based on the platform where Hadoop gets built on.
Attachments
Issue Links
- is a child of
-
HADOOP-17193 Compile Hadoop on Windows natively
- Open
- links to