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

Konstantin Boudnik commented on HADOOP-6394:
--------------------------------------------

HDFS build is failing after this modification:
{noformat}
compile-hdfs-test:
    [javac] Compiling 143 source files to /home/cos/work/Hdfs/build/test/classes
    [javac] 
/home/cos/work/Hdfs/src/test/hdfs/org/apache/hadoop/fs/TestHDFSFileContextMainOperations.java:102:
 cannot find symbol
    [javac] symbol  : method getTestRootPath(java.lang.String)
    [javac] location: class 
org.apache.hadoop.fs.TestHDFSFileContextMainOperations
    [javac]     Path src1 = 
getTestRootPath("test/testOldRenameWithQuota/srcdir/src1");
    [javac]                 ^
    [javac] 
/home/cos/work/Hdfs/src/test/hdfs/org/apache/hadoop/fs/TestHDFSFileContextMainOperations.java:103:
 cannot find symbol
    [javac] symbol  : method getTestRootPath(java.lang.String)
    [javac] location: class 
org.apache.hadoop.fs.TestHDFSFileContextMainOperations
    [javac]     Path src2 = 
getTestRootPath("test/testOldRenameWithQuota/srcdir/src2");
...
{noformat}

Hopefully it will be addressed by HDFS-840

> Helper class for FileContext tests
> ----------------------------------
>
>                 Key: HADOOP-6394
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6394
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: test
>    Affects Versions: 0.21.0, 0.22.0
>            Reporter: Jitendra Nath Pandey
>            Assignee: Jitendra Nath Pandey
>             Fix For: 0.22.0
>
>         Attachments: HADOOP-6394.1.patch, HADOOP-6394.2.patch, 
> HADOOP-6394.3.patch, HADOOP-6394.5.patch
>
>
>     A helper class for FileContext tests should contain common methods which 
> can be used in many unit tests, so that every unit test doesn't have to 
> re-implement these functionality.
> Examples of such methods:
>   createFile(FileContext fc, Path path, int numBlocks, int blockSize)  //To 
> create a file with number of blocks and block-size passed.
>   getTestRootPath(FileContext fc)

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