HBase
  1. HBase
  2. HBASE-5284

TestLogRolling.java doesn't compile against the latest 0.23.1-SNAPSHOT

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 0.92.0
    • Fix Version/s: None
    • Component/s: test
    • Labels:
      None

      Description

      Here's how to reproduce:

      $ mvn clean -DskipTests -Dhadoop.profile=23 -Dinstall site assembly:assembly -Dmaven.repo.local=/home/rvs/.m2/repository
      ........
      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.0.2:testCompile (default-testCompile) on project hbase: Compilation failure
      [ERROR] /home/rvs/src/bigtop/output/hbase/hbase-0.92.0/src/test/java/org/apache/hadoop/hbase/regionserver/wal/TestLogRolling.java:[341,33] cannot find symbol
      [ERROR] symbol  : variable dnRegistration
      [ERROR] location: class org.apache.hadoop.hdfs.server.datanode.DataNode
      [ERROR] -> [Help 1]
      

        Issue Links

          Activity

          Hide
          Andrew Purtell added a comment -

          This is being addressed as part of HBASE-5212, but I don't think we need to close this as a dup. Split handling of the two problems into these separate issues.

          Show
          Andrew Purtell added a comment - This is being addressed as part of HBASE-5212 , but I don't think we need to close this as a dup. Split handling of the two problems into these separate issues.
          Hide
          Roman Shaposhnik added a comment -

          FWIW: I believe this is also related to HDFS-1670

          Show
          Roman Shaposhnik added a comment - FWIW: I believe this is also related to HDFS-1670
          Hide
          Ted Yu added a comment -

          I think this is the 3rd JIRA logged on compilation against 0.23
          The first was HBASE-5191 and second was HBASE-5212.

          The trick is that while we make the code compile against 0.23, we have to make the tests pass for hadoop 1.
          See some more details in HBASE-5191

          Show
          Ted Yu added a comment - I think this is the 3rd JIRA logged on compilation against 0.23 The first was HBASE-5191 and second was HBASE-5212 . The trick is that while we make the code compile against 0.23, we have to make the tests pass for hadoop 1. See some more details in HBASE-5191
          Hide
          Roman Shaposhnik added a comment -

          Perhaps, given that the tests in this class are predicated on HDFS-826 it might make sense to disable it for 0.23 profile.

          Show
          Roman Shaposhnik added a comment - Perhaps, given that the tests in this class are predicated on HDFS-826 it might make sense to disable it for 0.23 profile.

            People

            • Assignee:
              Unassigned
              Reporter:
              Roman Shaposhnik
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:

                Development