HBase
  1. HBase
  2. HBASE-7833

0.94 does not compile with Hadoop-0.20.205 and 0.22.0

    Details

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

      Description

      0.94 is supposed to work with 0.20.205 and 0.22 if I am not wrong. We should document this.

        Issue Links

          Activity

          Enis Soztutar created issue -
          Hide
          Enis Soztutar added a comment -
          $ mvn clean  compile -Dhadoop.version=0.20.205.0 
          ...
          
          ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile (default-compile) on project hbase: Compilation failure: Compilation failure:
          [ERROR] /Users/enis/projects/hbase-0.94/src/main/java/org/apache/hadoop/hbase/zookeeper/ZKUtil.java:[41,53] cannot find symbol
          [ERROR] symbol  : class KerberosUtil
          [ERROR] location: package org.apache.hadoop.security.authentication.util
          [ERROR] /Users/enis/projects/hbase-0.94/src/main/java/org/apache/hadoop/hbase/zookeeper/ZKUtil.java:[248,32] cannot find symbol
          [ERROR] symbol  : variable KerberosUtil
          [ERROR] location: class org.apache.hadoop.hbase.zookeeper.ZKUtil.JaasConfiguration
          [ERROR] /Users/enis/projects/hbase-0.94/src/main/java/org/apache/hadoop/hbase/fs/HFileSystem.java:[193,13] cannot find symbol
          [ERROR] symbol  : method createNonRecursive(org.apache.hadoop.fs.Path,boolean,int,short,long,org.apache.hadoop.util.Progressable)
          [ERROR] location: class org.apache.hadoop.fs.FileSystem
          [ERROR] /Users/enis/projects/hbase-0.94/src/main/java/org/apache/hadoop/hbase/regionserver/CompactionTool.java:[356,7] cannot find symbol
          [ERROR] symbol  : method setMapSpeculativeExecution(boolean)
          [ERROR] location: class org.apache.hadoop.mapreduce.Job
          

          and

          $ mvn clean compile -Dhadoop.profile=22 -Dhadoop.version=0.22.0 
          ...
          
          [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile (default-compile) on project hbase: Compilation failure: Compilation failure:
          [ERROR] /Users/enis/projects/hbase-0.94/src/main/java/org/apache/hadoop/hbase/io/hfile/Compression.java:[36,36] cannot find symbol
          [ERROR] symbol  : class DoNotPool
          [ERROR] location: package org.apache.hadoop.io.compress
          [ERROR] /Users/enis/projects/hbase-0.94/src/main/java/org/apache/hadoop/hbase/zookeeper/ZKUtil.java:[41,53] package org.apache.hadoop.security.authentication.util does not exist
          [ERROR] /Users/enis/projects/hbase-0.94/src/main/java/org/apache/hadoop/hbase/io/hfile/Compression.java:[352,56] cannot find symbol
          [ERROR] symbol  : class DoNotPool
          [ERROR] location: class org.apache.hadoop.hbase.io.hfile.Compression.Algorithm
          [ERROR] /Users/enis/projects/hbase-0.94/src/main/java/org/apache/hadoop/hbase/zookeeper/ZKUtil.java:[248,32] cannot find symbol
          [ERROR] symbol  : variable KerberosUtil
          [ERROR] location: class org.apache.hadoop.hbase.zookeeper.ZKUtil.JaasConfiguration
          [ERROR] /Users/enis/projects/hbase-0.94/src/main/java/org/apache/hadoop/hbase/fs/HFileSystem.java:[193,13] cannot find symbol
          [ERROR] symbol  : method createNonRecursive(org.apache.hadoop.fs.Path,boolean,int,short,long,org.apache.hadoop.util.Progressable)
          [ERROR] location: class org.apache.hadoop.fs.FileSystem
          [ERROR] /Users/enis/projects/hbase-0.94/src/main/java/org/apache/hadoop/hbase/mapreduce/LoadIncrementalHFiles.java:[272,21] cannot find symbol
          [ERROR] symbol  : method cancel(org.apache.hadoop.conf.Configuration)
          [ERROR] location: class org.apache.hadoop.security.token.Token<capture#418 of ?>
          
          
          Show
          Enis Soztutar added a comment - $ mvn clean compile -Dhadoop.version=0.20.205.0 ... ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile ( default -compile) on project hbase: Compilation failure: Compilation failure: [ERROR] /Users/enis/projects/hbase-0.94/src/main/java/org/apache/hadoop/hbase/zookeeper/ZKUtil.java:[41,53] cannot find symbol [ERROR] symbol : class KerberosUtil [ERROR] location: package org.apache.hadoop.security.authentication.util [ERROR] /Users/enis/projects/hbase-0.94/src/main/java/org/apache/hadoop/hbase/zookeeper/ZKUtil.java:[248,32] cannot find symbol [ERROR] symbol : variable KerberosUtil [ERROR] location: class org.apache.hadoop.hbase.zookeeper.ZKUtil.JaasConfiguration [ERROR] /Users/enis/projects/hbase-0.94/src/main/java/org/apache/hadoop/hbase/fs/HFileSystem.java:[193,13] cannot find symbol [ERROR] symbol : method createNonRecursive(org.apache.hadoop.fs.Path, boolean , int , short , long ,org.apache.hadoop.util.Progressable) [ERROR] location: class org.apache.hadoop.fs.FileSystem [ERROR] /Users/enis/projects/hbase-0.94/src/main/java/org/apache/hadoop/hbase/regionserver/CompactionTool.java:[356,7] cannot find symbol [ERROR] symbol : method setMapSpeculativeExecution( boolean ) [ERROR] location: class org.apache.hadoop.mapreduce.Job and $ mvn clean compile -Dhadoop.profile=22 -Dhadoop.version=0.22.0 ... [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile ( default -compile) on project hbase: Compilation failure: Compilation failure: [ERROR] /Users/enis/projects/hbase-0.94/src/main/java/org/apache/hadoop/hbase/io/hfile/Compression.java:[36,36] cannot find symbol [ERROR] symbol : class DoNotPool [ERROR] location: package org.apache.hadoop.io.compress [ERROR] /Users/enis/projects/hbase-0.94/src/main/java/org/apache/hadoop/hbase/zookeeper/ZKUtil.java:[41,53] package org.apache.hadoop.security.authentication.util does not exist [ERROR] /Users/enis/projects/hbase-0.94/src/main/java/org/apache/hadoop/hbase/io/hfile/Compression.java:[352,56] cannot find symbol [ERROR] symbol : class DoNotPool [ERROR] location: class org.apache.hadoop.hbase.io.hfile.Compression.Algorithm [ERROR] /Users/enis/projects/hbase-0.94/src/main/java/org/apache/hadoop/hbase/zookeeper/ZKUtil.java:[248,32] cannot find symbol [ERROR] symbol : variable KerberosUtil [ERROR] location: class org.apache.hadoop.hbase.zookeeper.ZKUtil.JaasConfiguration [ERROR] /Users/enis/projects/hbase-0.94/src/main/java/org/apache/hadoop/hbase/fs/HFileSystem.java:[193,13] cannot find symbol [ERROR] symbol : method createNonRecursive(org.apache.hadoop.fs.Path, boolean , int , short , long ,org.apache.hadoop.util.Progressable) [ERROR] location: class org.apache.hadoop.fs.FileSystem [ERROR] /Users/enis/projects/hbase-0.94/src/main/java/org/apache/hadoop/hbase/mapreduce/LoadIncrementalHFiles.java:[272,21] cannot find symbol [ERROR] symbol : method cancel(org.apache.hadoop.conf.Configuration) [ERROR] location: class org.apache.hadoop.security.token.Token<capture#418 of ?>
          Enis Soztutar made changes -
          Field Original Value New Value
          Link This issue relates to HBASE-7832 [ HBASE-7832 ]
          Hide
          stack added a comment -

          Yeah, we were supposed to work against these versions. I'd be fine w/ this being a 'known issue' given folks are not running these versions that I know of – and if they are we would encourage them not to (could add a footnote on it to your new hadoop versions section in refguide).

          Show
          stack added a comment - Yeah, we were supposed to work against these versions. I'd be fine w/ this being a 'known issue' given folks are not running these versions that I know of – and if they are we would encourage them not to (could add a footnote on it to your new hadoop versions section in refguide).
          Enis Soztutar made changes -
          Link This issue is related to HBASE-7834 [ HBASE-7834 ]
          Hide
          Lars Hofhansl added a comment -

          Unless there is a really simple way to make 0.94 work with these version (no hard-to-verify reflection huh-hah) I'd say we should close this.

          Show
          Lars Hofhansl added a comment - Unless there is a really simple way to make 0.94 work with these version (no hard-to-verify reflection huh-hah) I'd say we should close this.
          Hide
          stack added a comment -

          Lars Hofhansl Should doc it though as Enis Soztutar says. Currently we have this. Would just be changing some of the params: http://hbase.apache.org/book.html#hadoop

          Show
          stack added a comment - Lars Hofhansl Should doc it though as Enis Soztutar says. Currently we have this. Would just be changing some of the params: http://hbase.apache.org/book.html#hadoop
          Hide
          stack added a comment -

          Agree close it; let someone ask for it if they need it.

          Show
          stack added a comment - Agree close it; let someone ask for it if they need it.
          Hide
          stack added a comment -

          Here is what I committed to the book.

          Show
          stack added a comment - Here is what I committed to the book.
          stack made changes -
          Attachment 7833.txt [ 12570932 ]
          Hide
          stack added a comment -

          Resolving because in refguide it says 0.94 does not support these versions.

          Show
          stack added a comment - Resolving because in refguide it says 0.94 does not support these versions.
          stack made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Assignee stack [ stack ]
          Resolution Fixed [ 1 ]
          Lars Hofhansl made changes -
          Component/s documentation [ 12312132 ]
          Hide
          Lars Hofhansl added a comment -

          Thanks Stack.

          Show
          Lars Hofhansl added a comment - Thanks Stack.
          Hide
          Enis Soztutar added a comment -

          Thanks Lars, Stack. Agreed that if nobody is interested we should not spend cycles.

          Show
          Enis Soztutar added a comment - Thanks Lars, Stack. Agreed that if nobody is interested we should not spend cycles.
          Hide
          Hudson added a comment -

          Integrated in HBase-TRUNK #3898 (See https://builds.apache.org/job/HBase-TRUNK/3898/)
          HBASE-7833 0.94 does not compile with Hadoop-0.20.205 and 0.22.0 (Revision 1450035)

          Result = FAILURE
          stack :
          Files :

          • /hbase/trunk/src/docbkx/configuration.xml
          Show
          Hudson added a comment - Integrated in HBase-TRUNK #3898 (See https://builds.apache.org/job/HBase-TRUNK/3898/ ) HBASE-7833 0.94 does not compile with Hadoop-0.20.205 and 0.22.0 (Revision 1450035) Result = FAILURE stack : Files : /hbase/trunk/src/docbkx/configuration.xml
          Hide
          Hudson added a comment -

          Integrated in HBase-TRUNK-on-Hadoop-2.0.0 #421 (See https://builds.apache.org/job/HBase-TRUNK-on-Hadoop-2.0.0/421/)
          HBASE-7833 0.94 does not compile with Hadoop-0.20.205 and 0.22.0 (Revision 1450035)

          Result = FAILURE
          stack :
          Files :

          • /hbase/trunk/src/docbkx/configuration.xml
          Show
          Hudson added a comment - Integrated in HBase-TRUNK-on-Hadoop-2.0.0 #421 (See https://builds.apache.org/job/HBase-TRUNK-on-Hadoop-2.0.0/421/ ) HBASE-7833 0.94 does not compile with Hadoop-0.20.205 and 0.22.0 (Revision 1450035) Result = FAILURE stack : Files : /hbase/trunk/src/docbkx/configuration.xml
          Lars Hofhansl made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open Resolved Resolved
          13d 4h 51m 1 stack 26/Feb/13 05:47
          Resolved Resolved Closed Closed
          24d 23h 5m 1 Lars Hofhansl 23/Mar/13 04:53

            People

            • Assignee:
              stack
              Reporter:
              Enis Soztutar
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development