Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-14458

Add missing imports to TestAliyunOSSFileSystemContract.java

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • None
    • 3.0.0-alpha4, 2.9.1
    • fs/oss, test
    • None

    Description

      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:testCompile (default-testCompile) on project hadoop-aliyun: Compilation failure: Compilation failure:
      [ERROR] /Users/mliu/Workspace/hadoop/hadoop-tools/hadoop-aliyun/src/test/java/org/apache/hadoop/fs/aliyun/oss/TestAliyunOSSFileSystemContract.java:[71,5] cannot find symbol
      [ERROR]   symbol:   method assertTrue(java.lang.String,boolean)
      [ERROR]   location: class org.apache.hadoop.fs.aliyun.oss.TestAliyunOSSFileSystemContract
      [ERROR] /Users/mliu/Workspace/hadoop/hadoop-tools/hadoop-aliyun/src/test/java/org/apache/hadoop/fs/aliyun/oss/TestAliyunOSSFileSystemContract.java:[90,5] cannot find symbol
      [ERROR]   symbol:   method assertTrue(java.lang.String,boolean)
      [ERROR]   location: class org.apache.hadoop.fs.aliyun.oss.TestAliyunOSSFileSystemContract
      [ERROR] /Users/mliu/Workspace/hadoop/hadoop-tools/hadoop-aliyun/src/test/java/org/apache/hadoop/fs/aliyun/oss/TestAliyunOSSFileSystemContract.java:[91,5] cannot find symbol
      [ERROR]   symbol:   method assertTrue(java.lang.String,boolean)
      [ERROR]   location: class org.apache.hadoop.fs.aliyun.oss.TestAliyunOSSFileSystemContract
      [ERROR] /Users/mliu/Workspace/hadoop/hadoop-tools/hadoop-aliyun/src/test/java/org/apache/hadoop/fs/aliyun/oss/TestAliyunOSSFileSystemContract.java:[92,5] cannot find symbol
      [ERROR]   symbol:   method assertTrue(java.lang.String,boolean)
      [ERROR]   location: class org.apache.hadoop.fs.aliyun.oss.TestAliyunOSSFileSystemContract
      [ERROR] /Users/mliu/Workspace/hadoop/hadoop-tools/hadoop-aliyun/src/test/java/org/apache/hadoop/fs/aliyun/oss/TestAliyunOSSFileSystemContract.java:[93,5] cannot find symbol
      [ERROR]   symbol:   method assertTrue(java.lang.String,boolean)
      [ERROR]   location: class org.apache.hadoop.fs.aliyun.oss.TestAliyunOSSFileSystemContract
      [ERROR] /Users/mliu/Workspace/hadoop/hadoop-tools/hadoop-aliyun/src/test/java/org/apache/hadoop/fs/aliyun/oss/TestAliyunOSSFileSystemContract.java:[95,5] cannot find symbol
      [ERROR]   symbol:   method assertTrue(java.lang.String,boolean)
      [ERROR]   location: class org.apache.hadoop.fs.aliyun.oss.TestAliyunOSSFileSystemContract
      [ERROR] /Users/mliu/Workspace/hadoop/hadoop-tools/hadoop-aliyun/src/test/java/org/apache/hadoop/fs/aliyun/oss/TestAliyunOSSFileSystemContract.java:[96,5] cannot find symbol
      [ERROR]   symbol:   method assertTrue(java.lang.String,boolean)
      [ERROR]   location: class org.apache.hadoop.fs.aliyun.oss.TestAliyunOSSFileSystemContract
      [ERROR] /Users/mliu/Workspace/hadoop/hadoop-tools/hadoop-aliyun/src/test/java/org/apache/hadoop/fs/aliyun/oss/TestAliyunOSSFileSystemContract.java:[98,5] cannot find symbol
      [ERROR]   symbol:   method assertTrue(java.lang.String,boolean)
      [ERROR]   location: class org.apache.hadoop.fs.aliyun.oss.TestAliyunOSSFileSystemContract
      [ERROR] /Users/mliu/Workspace/hadoop/hadoop-tools/hadoop-aliyun/src/test/java/org/apache/hadoop/fs/aliyun/oss/TestAliyunOSSFileSystemContract.java:[99,5] cannot find symbol
      [ERROR]   symbol:   method assertTrue(java.lang.String,boolean)
      [ERROR]   location: class org.apache.hadoop.fs.aliyun.oss.TestAliyunOSSFileSystemContract
      [ERROR] /Users/mliu/Workspace/hadoop/hadoop-tools/hadoop-aliyun/src/test/java/org/apache/hadoop/fs/aliyun/oss/TestAliyunOSSFileSystemContract.java:[115,7] cannot find symbol
      [ERROR]   symbol:   method fail(java.lang.String)
      [ERROR]   location: class org.apache.hadoop.fs.aliyun.oss.TestAliyunOSSFileSystemContract
      [ERROR] /Users/mliu/Workspace/hadoop/hadoop-tools/hadoop-aliyun/src/test/java/org/apache/hadoop/fs/aliyun/oss/TestAliyunOSSFileSystemContract.java:[129,7] cannot find symbol
      [ERROR]   symbol:   method fail(java.lang.String)
      [ERROR]   location: class org.apache.hadoop.fs.aliyun.oss.TestAliyunOSSFileSystemContract
      [ERROR] /Users/mliu/Workspace/hadoop/hadoop-tools/hadoop-aliyun/src/test/java/org/apache/hadoop/fs/aliyun/oss/TestAliyunOSSFileSystemContract.java:[143,7] cannot find symbol
      [ERROR]   symbol:   method fail(java.lang.String)
      [ERROR]   location: class org.apache.hadoop.fs.aliyun.oss.TestAliyunOSSFileSystemContract
      [ERROR] /Users/mliu/Workspace/hadoop/hadoop-tools/hadoop-aliyun/src/test/java/org/apache/hadoop/fs/aliyun/oss/TestAliyunOSSFileSystemContract.java:[163,7] cannot find symbol
      [ERROR]   symbol:   method fail(java.lang.String)
      [ERROR]   location: class org.apache.hadoop.fs.aliyun.oss.TestAliyunOSSFileSystemContract
      [ERROR] /Users/mliu/Workspace/hadoop/hadoop-tools/hadoop-aliyun/src/test/java/org/apache/hadoop/fs/aliyun/oss/TestAliyunOSSFileSystemContract.java:[178,7] cannot find symbol
      [ERROR]   symbol:   method fail(java.lang.String)
      [ERROR]   location: class org.apache.hadoop.fs.aliyun.oss.TestAliyunOSSFileSystemContract
      [ERROR] /Users/mliu/Workspace/hadoop/hadoop-tools/hadoop-aliyun/src/test/java/org/apache/hadoop/fs/aliyun/oss/TestAliyunOSSFileSystemContract.java:[188,5] cannot find symbol
      [ERROR]   symbol:   method assertTrue(java.lang.String,boolean)
      [ERROR]   location: class org.apache.hadoop.fs.aliyun.oss.TestAliyunOSSFileSystemContract
      [ERROR] /Users/mliu/Workspace/hadoop/hadoop-tools/hadoop-aliyun/src/test/java/org/apache/hadoop/fs/aliyun/oss/TestAliyunOSSFileSystemContract.java:[189,5] cannot find symbol
      [ERROR]   symbol:   method assertFalse(java.lang.String,boolean)
      [ERROR]   location: class org.apache.hadoop.fs.aliyun.oss.TestAliyunOSSFileSystemContract
      [ERROR] /Users/mliu/Workspace/hadoop/hadoop-tools/hadoop-aliyun/src/test/java/org/apache/hadoop/fs/aliyun/oss/TestAliyunOSSFileSystemContract.java:[194,5] cannot find symbol
      [ERROR]   symbol:   method assertTrue(java.lang.String,boolean)
      [ERROR]   location: class org.apache.hadoop.fs.aliyun.oss.TestAliyunOSSFileSystemContract
      [ERROR] /Users/mliu/Workspace/hadoop/hadoop-tools/hadoop-aliyun/src/test/java/org/apache/hadoop/fs/aliyun/oss/TestAliyunOSSFileSystemContract.java:[196,5] cannot find symbol
      [ERROR]   symbol:   method assertFalse(java.lang.String,boolean)
      [ERROR]   location: class org.apache.hadoop.fs.aliyun.oss.TestAliyunOSSFileSystemContract
      [ERROR] /Users/mliu/Workspace/hadoop/hadoop-tools/hadoop-aliyun/src/test/java/org/apache/hadoop/fs/aliyun/oss/TestAliyunOSSFileSystemContract.java:[200,7] cannot find symbol
      [ERROR]   symbol:   method assertTrue(java.lang.String,boolean)
      [ERROR]   location: class org.apache.hadoop.fs.aliyun.oss.TestAliyunOSSFileSystemContract
      [ERROR] /Users/mliu/Workspace/hadoop/hadoop-tools/hadoop-aliyun/src/test/java/org/apache/hadoop/fs/aliyun/oss/TestAliyunOSSFileSystemContract.java:[208,5] cannot find symbol
      [ERROR]   symbol:   method assertFalse(boolean)
      [ERROR]   location: class org.apache.hadoop.fs.aliyun.oss.TestAliyunOSSFileSystemContract
      [ERROR] /Users/mliu/Workspace/hadoop/hadoop-tools/hadoop-aliyun/src/test/java/org/apache/hadoop/fs/aliyun/oss/TestAliyunOSSFileSystemContract.java:[210,5] cannot find symbol
      [ERROR]   symbol:   method assertTrue(boolean)
      [ERROR]   location: class org.apache.hadoop.fs.aliyun.oss.TestAliyunOSSFileSystemContract
      [ERROR] /Users/mliu/Workspace/hadoop/hadoop-tools/hadoop-aliyun/src/test/java/org/apache/hadoop/fs/aliyun/oss/TestAliyunOSSFileSystemContract.java:[213,7] cannot find symbol
      [ERROR]   symbol:   method fail(java.lang.String)
      [ERROR]   location: class org.apache.hadoop.fs.aliyun.oss.TestAliyunOSSFileSystemContract
      [ERROR] -> [Help 1]
      [ERROR]
      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
      [ERROR] Re-run Maven using the -X switch to enable full debug logging.
      [ERROR]
      [ERROR] For more information about the errors and possible solutions, please read the following articles:
      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
      [ERROR]
      [ERROR] After correcting the problems, you can resume the build with the command
      [ERROR]   mvn <goals> -rf :hadoop-aliyun
      

      Attachments

        1. HADOOP-14458.000.patch
          1 kB
          Mingliang Liu

        Issue Links

          Activity

            People

              liuml07 Mingliang Liu
              liuml07 Mingliang Liu
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: