hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ravi Gummadi (JIRA)" <j...@apache.org>
Subject [jira] Commented: (MAPREDUCE-572) If #link is missing from uri format of -cacheArchive then streaming does not throw error.
Date Mon, 24 May 2010 08:22:24 GMT

    [ https://issues.apache.org/jira/browse/MAPREDUCE-572?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12870527#action_12870527
] 

Ravi Gummadi commented on MAPREDUCE-572:
----------------------------------------

Patch looks good to me.
Very minor comment:

{code}
if (frag1.equalsIgnoreCase(frag2))
  return false;
{code}
Please add curly braces for the if statement.


> If #link is missing from uri format of -cacheArchive then streaming does not throw error.
> -----------------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-572
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-572
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: contrib/streaming
>            Reporter: Karam Singh
>            Assignee: Amareshwari Sriramadasu
>            Priority: Minor
>             Fix For: 0.22.0
>
>         Attachments: patch-572.txt
>
>
> Ran hadoop streaming command as -:
> bin/hadoop jar contrib/streaming/hadoop-*-streaming.jar -input in -output out -mapper
"xargs cat"  -reducer "bin/cat" -cahceArchive hdfs://h:p/pathofJarFile
> Streaming submits job to jobtracker and map fails.
> For similar with -cacheFile -:
> bin/hadoop jar contrib/streaming/hadoop-*-streaming.jar -input in -output out -mapper
"xargs cat"  -reducer "bin/cat" -cahceFile hdfs://h:p/pathofFile
> followinng error is repoerted back -:
> [
> You need to specify the uris as hdfs://host:port/#linkname,Please specify a different
link name for all of your caching URIs
> ]
> Streaming should check about present #link after uri of cacheArchive and should throw
proper error .

-- 
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