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 "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org> on 2008/10/18 01:10:45 UTC

[jira] Commented: (HADOOP-4448) "hadoop jar" runs wrong jar file in case of name clash

    [ https://issues.apache.org/jira/browse/HADOOP-4448?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12640695#action_12640695 ] 

Tsz Wo (Nicholas), SZE commented on HADOOP-4448:
------------------------------------------------

Does it work if the full class name, e.g. org.apache.hadoop.examples.Sort, is used?

> "hadoop  jar" runs wrong jar file in case of name clash
> -------------------------------------------------------
>
>                 Key: HADOOP-4448
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4448
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: util
>         Environment: RHEL Linux
>            Reporter: John DeTreville
>             Fix For: 0.17.3
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> Imagine I run a command as follows:
>     hadoop jar test.jar
> Let's imagine that my main module in test.jar is named Sort.
> Let's also imagine that some jar file in my CLASSPATH contains a module also named Sort, which also defines main.
> Hadoop will run THAT jar file, not the one I specified.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.