[ 
https://issues.apache.org/jira/browse/HADOOP-6257?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Philip Zeyliger updated HADOOP-6257:
------------------------------------

    Attachment: HADOOP-6257.patch

Trivial rename.

BTW, the conflict showed up in the recent HADOOP-6231.  And I ran into it 
because hadoop-hdfs-hdfswithmr-test's driver was finding the wrong 
TestFileSystem.

{code}
$ bin/hadoop jar lib/hadoop-hdfs-hdfswithmr-test-0.21.0-dev.jar 
java.lang.NoSuchMethodException: 
org.apache.hadoop.fs.TestFileSystem.main([Ljava.lang.String;)
        at java.lang.Class.getMethod(Class.java:1605)
        at 
org.apache.hadoop.util.ProgramDriver$ProgramDescription.<init>(ProgramDriver.java:56)
        at org.apache.hadoop.util.ProgramDriver.addClass(ProgramDriver.java:99)
        at 
org.apache.hadoop.test.HdfsWithMRTestDriver.<init>(HdfsWithMRTestDriver.java:47)
        at 
org.apache.hadoop.test.HdfsWithMRTestDriver.<init>(HdfsWithMRTestDriver.java:39)
        at 
org.apache.hadoop.test.HdfsWithMRTestDriver.main(HdfsWithMRTestDriver.java:77)
        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)
An example program must be given as the first argument.
Valid program names are:
  nnbench: A benchmark that stresses the namenode.
{code}


> Two TestFileSystem classes are confusing hadoop-hdfs-hdfwithmr
> --------------------------------------------------------------
>
>                 Key: HADOOP-6257
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6257
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: build, fs, test
>            Reporter: Philip Zeyliger
>            Priority: Minor
>         Attachments: HADOOP-6257.patch
>
>
> I propose to rename 
> hadoop-common/src/test/core/org/apache/hadoop/fs/TestFileSystem.java -> 
> src/test/core/org/apache/hadoop/fs/TestFileSystemCaching.java.  Otherwise, it 
> conflicts with 
> hadoop-hdfs/src/test/hdfs-with-mr/org/apache/hadoop/fs/TestFileSystem.java.

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

Reply via email to