Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-1782

Fix 4.x-HBase-1.x compilation error

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.0.0
    • Fix Version/s: 4.0.0
    • Labels:
      None

      Description

      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.0:compile (default-compile) on project phoenix-core: Compilation failure: Compilation failure:
      [ERROR] /home/tdsilva/phoenix-dev/phoenix-core/src/main/java/org/apache/phoenix/hbase/index/scanner/FilteredKeyValueScanner.java:[38,8] org.apache.phoenix.hbase.index.scanner.FilteredKeyValueScanner is not abstract and does not override abstract method getNextIndexedKey() in org.apache.hadoop.hbase.regionserver.KeyValueScanner
      [ERROR] /home/tdsilva/phoenix-dev/phoenix-core/src/main/java/org/apache/phoenix/hbase/index/scanner/FilteredKeyValueScanner.java:[166,19] getNextIndexedKey() in org.apache.phoenix.hbase.index.scanner.FilteredKeyValueScanner cannot implement getNextIndexedKey() in org.apache.hadoop.hbase.regionserver.KeyValueScanner
      [ERROR] return type byte[] is not compatible with org.apache.hadoop.hbase.Cell
      [ERROR] /home/tdsilva/phoenix-dev/phoenix-core/src/main/java/org/apache/hadoop/hbase/regionserver/IndexHalfStoreFileReader.java:[143,35] <anonymous org.apache.hadoop.hbase.regionserver.IndexHalfStoreFileReader$1> is not abstract and does not override abstract method getNextIndexedKey() in org.apache.hadoop.hbase.io.hfile.HFileScanner
      [ERROR] /home/tdsilva/phoenix-dev/phoenix-core/src/main/java/org/apache/hadoop/hbase/regionserver/IndexHalfStoreFileReader.java:[390,27] getNextIndexedKey() in <anonymous org.apache.hadoop.hbase.regionserver.IndexHalfStoreFileReader$1> cannot implement getNextIndexedKey() in org.apache.hadoop.hbase.io.hfile.HFileScanner
      [ERROR] return type byte[] is not compatible with org.apache.hadoop.hbase.Cell

        Attachments

        1. PHOENIX-1782.patch
          2 kB
          Thomas D'Silva

          Activity

            People

            • Assignee:
              tdsilva Thomas D'Silva
              Reporter:
              tdsilva Thomas D'Silva
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: