You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Amar Kamat (JIRA)" <ji...@apache.org> on 2009/08/07 11:49:14 UTC
[jira] Created: (HADOOP-6178) GenericOptionsParser should ignore
symlinks from archive filenames
GenericOptionsParser should ignore symlinks from archive filenames
------------------------------------------------------------------
Key: HADOOP-6178
URL: https://issues.apache.org/jira/browse/HADOOP-6178
Project: Hadoop Common
Issue Type: Bug
Components: util
Reporter: Amar Kamat
http://hadoop.apache.org/common/docs/r0.20.0/streaming.html#Large+files+and+archives+in+Hadoop+Streaming example doesnt work as expected.
Stack trace :
{code}
trunk$ ./bin/hadoop jar build/contrib/streaming/hadoop-0.21.0-dev-streaming.jar -D mapred.map.tasks=1 \
-D mapred.reduce.tasks=1 -D mapred.job.name="Experiment" \
-archives 'hdfs://namenode:port/user/me/cachedir.jar#testlink' -input input -output output -mapper "xargs cat" -reducer "cat"
java.io.FileNotFoundException: File hdfs://namenode:port/user/me/cachedir.jar#testlink does not exist.
at org.apache.hadoop.util.GenericOptionsParser.validateFiles(GenericOptionsParser.java:349)
at org.apache.hadoop.util.GenericOptionsParser.processGeneralOptions(GenericOptionsParser.java:275)
at org.apache.hadoop.util.GenericOptionsParser.parseGeneralOptions(GenericOptionsParser.java:375)
at org.apache.hadoop.util.GenericOptionsParser.<init>(GenericOptionsParser.java:153)
at org.apache.hadoop.util.GenericOptionsParser.<init>(GenericOptionsParser.java:138)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:59)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:79)
at org.apache.hadoop.streaming.HadoopStreaming.main(HadoopStreaming.java:50)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.hadoop.util.RunJar.main(RunJar.java:160)
{code}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (HADOOP-6178) GenericOptionsParser should ignore
symlinks from archive filenames
Posted by "Amareshwari Sriramadasu (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-6178?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Amareshwari Sriramadasu resolved HADOOP-6178.
---------------------------------------------
Resolution: Duplicate
Fixed in MAPREDUCE-787
> GenericOptionsParser should ignore symlinks from archive filenames
> ------------------------------------------------------------------
>
> Key: HADOOP-6178
> URL: https://issues.apache.org/jira/browse/HADOOP-6178
> Project: Hadoop Common
> Issue Type: Bug
> Components: util
> Reporter: Amar Kamat
>
> http://hadoop.apache.org/common/docs/r0.20.0/streaming.html#Large+files+and+archives+in+Hadoop+Streaming example doesnt work as expected.
> Stack trace :
> {code}
> trunk$ ./bin/hadoop jar build/contrib/streaming/hadoop-0.21.0-dev-streaming.jar -D mapred.map.tasks=1 \
> -D mapred.reduce.tasks=1 -D mapred.job.name="Experiment" \
> -archives 'hdfs://namenode:port/user/me/cachedir.jar#testlink' -input input -output output -mapper "xargs cat" -reducer "cat"
> java.io.FileNotFoundException: File hdfs://namenode:port/user/me/cachedir.jar#testlink does not exist.
> at org.apache.hadoop.util.GenericOptionsParser.validateFiles(GenericOptionsParser.java:349)
> at org.apache.hadoop.util.GenericOptionsParser.processGeneralOptions(GenericOptionsParser.java:275)
> at org.apache.hadoop.util.GenericOptionsParser.parseGeneralOptions(GenericOptionsParser.java:375)
> at org.apache.hadoop.util.GenericOptionsParser.<init>(GenericOptionsParser.java:153)
> at org.apache.hadoop.util.GenericOptionsParser.<init>(GenericOptionsParser.java:138)
> at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:59)
> at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:79)
> at org.apache.hadoop.streaming.HadoopStreaming.main(HadoopStreaming.java:50)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.apache.hadoop.util.RunJar.main(RunJar.java:160)
> {code}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.