You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Yuri Pradkin (JIRA)" <ji...@apache.org> on 2009/12/09 19:54:18 UTC
[jira] Updated: (MAPREDUCE-1286) Quotes in environment
HADOOP_CLIENT_OPTS confuse parsing if this env is concatenated with
something else
[ https://issues.apache.org/jira/browse/MAPREDUCE-1286?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yuri Pradkin updated MAPREDUCE-1286:
------------------------------------
Attachment: mr-1286
just remove quotes
> Quotes in environment HADOOP_CLIENT_OPTS confuse parsing if this env is concatenated with something else
> --------------------------------------------------------------------------------------------------------
>
> Key: MAPREDUCE-1286
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-1286
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: task
> Affects Versions: 0.20.2
> Environment: Linux F12; streaming
> Reporter: Yuri Pradkin
> Assignee: Yuri Pradkin
> Attachments: mr-1286
>
>
> I use streaming and in the perl-reducer I write to hdfs using a pipe to hdfs -put - .... It turns out that because TaskRunner sets the environment HADOOP_CLIENT_OPTS in double quotes, when hdfs shell script concatenates these with something else, the command fails: .e.g java -Dblah=x -Dfoo=y "-Dhadoop.tasklog.taskid=z -Dhadoop.tasklog.totalLogFileSize=s"...
> Since I don't see any reason to have these double quotes in the original code; I propose they're removed.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.