Bigtop
  1. Bigtop
  2. BIGTOP-875

hadoop-smoke is broken because of missed dependency

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.5.0
    • Fix Version/s: 0.6.0
    • Component/s: Tests
    • Labels:
      None

      Description

      hadoop-smoke test artifact can't be compiled in 0.6.0

      org.codehaus.groovy.control.messages.SyntaxErrorMessage@44c6b80e
      /home/cos/work/wandisco/bigtop/bigtop-tests/test-artifacts/hadoop/src/main/groovy/org/apache/bigtop/itest/hadoop/mapreduce/TestHadoopSmoke.groovy: 28 Groovy:unable to resolve class org.apache.hadoop.hdfs.DFSConfigKeys
      ----------
      1. ERROR in /home/cos/work/wandisco/bigtop/bigtop-tests/test-artifacts/hadoop/src/main/groovy/org/apache/bigtop/itest/hadoop/hdfs/TestCLI.java (at line 28)
      import org.apache.hadoop.hdfs.DFSConfigKeys;
      ^^^^^^^^^^^^^^^^^^^^^^
      The import org.apache.hadoop.hdfs cannot be resolved
      ----------
      2. ERROR in /home/cos/work/wandisco/bigtop/bigtop-tests/test-artifacts/hadoop/src/main/groovy/org/apache/bigtop/itest/hadoop/hdfs/TestCLI.java (at line 29)
      import org.apache.hadoop.hdfs.HdfsConfiguration;
      ^^^^^^^^^^^^^^^^^^^^^^
      The import org.apache.hadoop.hdfs cannot be resolved
      ----------
      3. ERROR in /home/cos/work/wandisco/bigtop/bigtop-tests/test-artifacts/hadoop/src/main/groovy/org/apache/bigtop/itest/hadoop/hdfs/TestCLI.java (at line 47)
      conf = new HdfsConfiguration();
      ^^^^^^^^^^^^^^^^^
      HdfsConfiguration cannot be resolved to a type
      ----------
      4. ERROR in /home/cos/work/wandisco/bigtop/bigtop-tests/test-artifacts/hadoop/src/main/groovy/org/apache/bigtop/itest/hadoop/hdfs/TestCLI.java (at line 53)
      sug = conf.get(DFSConfigKeys.DFS_PERMISSIONS_SUPERUSERGROUP_KEY);
      ^^^^^^^^^^^^^
      DFSConfigKeys cannot be resolved to a variable
      ----------
      ----------
      5. ERROR in /home/cos/work/wandisco/bigtop/bigtop-tests/test-artifacts/hadoop/src/main/groovy/org/apache/bigtop/itest/hadoop/mapreduce/TestHadoopSmoke.groovy (at line 28)
      import org.apache.hadoop.hdfs.DFSConfigKeys
      ^
      Groovy:unable to resolve class org.apache.hadoop.hdfs.DFSConfigKeys

      1. BIGTOP-875.patch
        0.5 kB
        Konstantin Boudnik

        Activity

        Hide
        Konstantin Boudnik added a comment -

        The org.apache.hadoop.hadoop-hdfs needs to be added to the dependencies.

        Show
        Konstantin Boudnik added a comment - The org.apache.hadoop.hadoop-hdfs needs to be added to the dependencies.
        Hide
        Konstantin Boudnik added a comment -

        This would do.

        Show
        Konstantin Boudnik added a comment - This would do.
        Hide
        Roman Shaposhnik added a comment -

        +1 – please commit!

        Show
        Roman Shaposhnik added a comment - +1 – please commit!
        Hide
        Konstantin Boudnik added a comment -

        Pushed as 4b2117f

        Show
        Konstantin Boudnik added a comment - Pushed as 4b2117f

          People

          • Assignee:
            Konstantin Boudnik
            Reporter:
            Konstantin Boudnik
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development