[ https://issues.apache.org/jira/browse/MAPREDUCE-1286?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12791598#action_12791598 ]
Yuri Pradkin commented on MAPREDUCE-1286: ----------------------------------------- OK, can somebody commit this please? It's kind of trivial, but all the more reasons to close it. > 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.