hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yuri Pradkin (JIRA)" <j...@apache.org>
Subject [jira] Created: (MAPREDUCE-1286) Quotes in environment HADOOP_CLIENT_OPTS confuse parsing if this env is concatenated with something else
Date Wed, 09 Dec 2009 18:52:18 GMT
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


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.


Mime
View raw message