[ 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