You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Jakob Homan (JIRA)" <ji...@apache.org> on 2010/08/17 04:11:18 UTC

[jira] Updated: (HDFS-678) add test for different URI.schemas in TestGlobPaths.java to support changes in HADOOP-6286

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

Jakob Homan updated HDFS-678:
-----------------------------

    Status: Open  (was: Patch Available)

Unfortunately, the patch has fallen off of trunk:
{noformat}
compile-hdfs-test:
    [javac] Compiling 175 source files to /Users/jhoman/work/git/hadoop-hdfs/build/test/classes
    [javac] /Users/jhoman/work/git/hadoop-hdfs/src/test/hdfs/org/apache/hadoop/fs/TestFCGlobPaths.java:387: cannot fin
d symbol
    [javac] symbol  : method getFileContext(org.apache.hadoop.fs.FileSystem)
    [javac] location: class org.apache.hadoop.fs.FileContext
    [javac]     FileContext dfs_fc = FileContext.getFileContext(fs);
    [javac]                                     ^
    [javac] /Users/jhoman/work/git/hadoop-hdfs/src/test/hdfs/org/apache/hadoop/fs/TestFCGlobPaths.java:389: cannot fin
d symbol
    [javac] symbol  : method getFileContext(org.apache.hadoop.fs.FileSystem)
    [javac] location: class org.apache.hadoop.fs.FileContext
    [javac]     FileContext local_fc = FileContext.getFileContext(lfs);
    [javac]                                       ^
    [javac] /Users/jhoman/work/git/hadoop-hdfs/src/test/hdfs/org/apache/hadoop/fs/TestFCGlobPaths.java:475: cannot fin
d symbol
    [javac] symbol  : method getFileContext(org.apache.hadoop.fs.FileSystem)
    [javac] location: class org.apache.hadoop.fs.FileContext
    [javac]     FileContext fc = FileContext.getFileContext(aFS);
    [javac]                                 ^
    [javac] /Users/jhoman/work/git/hadoop-hdfs/src/test/hdfs/org/apache/hadoop/fs/TestFCGlobPaths.java:491: cannot fin
d symbol
    [javac] symbol  : method getFileContext(org.apache.hadoop.fs.FileSystem)
    [javac] location: class org.apache.hadoop.fs.FileContext
    [javac]     FileContext fc = FileContext.getFileContext(fs);
{noformat}
It would be good to have these tests, however.  Boris, can you update the patch?  Canceling for now.

> add test for different URI.schemas in  TestGlobPaths.java to support changes in HADOOP-6286 
> --------------------------------------------------------------------------------------------
>
>                 Key: HDFS-678
>                 URL: https://issues.apache.org/jira/browse/HDFS-678
>             Project: Hadoop HDFS
>          Issue Type: Test
>          Components: test
>            Reporter: Boris Shkolnik
>            Assignee: Boris Shkolnik
>         Attachments: HDFS-678-1.patch, HDFS-678.patch
>
>
> add one more test to verify correct handling of URI in filecontext.glob
> Also switch from using FS to FileContext for the tests.
> Also remove deprecated methods.

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