You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Trupti Dhavle (JIRA)" <ji...@apache.org> on 2012/06/27 22:40:44 UTC
[jira] [Created] (HADOOP-8536) Problem with -Dproperty=value option
on windows hadoop
Trupti Dhavle created HADOOP-8536:
-------------------------------------
Summary: Problem with -Dproperty=value option on windows hadoop
Key: HADOOP-8536
URL: https://issues.apache.org/jira/browse/HADOOP-8536
Project: Hadoop Common
Issue Type: Bug
Reporter: Trupti Dhavle
While running the java examples the -Dproperty=value option to the hadoop command is not getting read correctly.
TERASORT COMMAND:
C:\hdp\branch-1-win\bin\hadoop jar C:\hdp\branch-1-win\build\hadoop-examples-1.1.0-SNAPSHOT.jar terasort -Dmapreduce.reduce.input.limit=-1 teraInputDir teraOutputDir
Error-
12/06/27 10:28:26 INFO terasort.TeraSort: starting
org.apache.hadoop.mapred.InvalidInputException: Input path does not exist: hdfs://localhost:8020/user/Administrator/-1
It tries to look into directory named -1 instead of teraInputDir
On setting "echo on" in the cmd scripts, I noticed that the "=" sign disappears in the command passed to JVM-
terasort -Dmapreduce.reduce.input.limit -1 teraInputDir teraOutputDir
In order to make it read properly quotes around “-Dproperty=value” are required to be used.
This JIRA is to track fixing this issue.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (HADOOP-8536) Problem with -Dproperty=value
option on windows hadoop
Posted by "Bikas Saha (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-8536?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bikas Saha resolved HADOOP-8536.
--------------------------------
Resolution: Duplicate
Dup of HADOOP-8739
> Problem with -Dproperty=value option on windows hadoop
> ------------------------------------------------------
>
> Key: HADOOP-8536
> URL: https://issues.apache.org/jira/browse/HADOOP-8536
> Project: Hadoop Common
> Issue Type: Bug
> Reporter: Trupti Dhavle
>
> While running the java examples the -Dproperty=value option to the hadoop command is not getting read correctly.
> TERASORT COMMAND:
> C:\hdp\branch-1-win\bin\hadoop jar C:\hdp\branch-1-win\build\hadoop-examples-1.1.0-SNAPSHOT.jar terasort -Dmapreduce.reduce.input.limit=-1 teraInputDir teraOutputDir
> Error-
> 12/06/27 10:28:26 INFO terasort.TeraSort: starting
> org.apache.hadoop.mapred.InvalidInputException: Input path does not exist: hdfs://localhost:8020/user/Administrator/-1
> It tries to look into directory named -1 instead of teraInputDir
> On setting "echo on" in the cmd scripts, I noticed that the "=" sign disappears in the command passed to JVM-
> terasort -Dmapreduce.reduce.input.limit -1 teraInputDir teraOutputDir
> In order to make it read properly quotes around “-Dproperty=value” are required to be used.
> This JIRA is to track fixing this issue.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira