Tanuj Khurana created PHOENIX-6358:
--------------------------------------

             Summary: Build failure on master with HBase 2.4.1
                 Key: PHOENIX-6358
                 URL: https://issues.apache.org/jira/browse/PHOENIX-6358
             Project: Phoenix
          Issue Type: Bug
            Reporter: Tanuj Khurana


The Building document says to first build HBase from source. I was trying to 
build Hbase version 2.4.1 since that is the latest 2.4.x available on 
[https://hbase.apache.org/downloads.html]

I built hbase 2.4.1 using 
{code:java}
mvn install -Dhadoop.profile=3.0 -DskipTests{code}
However, when I tried to build phoenix using the command below, I get 
compilation error
{code:java}
mvn clean install -Dhbase.profile=2.4 -Dhbase.version=2.4.1{code}
{code:java}
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] 
/Users/tkhurana/oss/phoenix/phoenix-core/src/main/java/org/apache/phoenix/mapreduce/MultiHfileOutputFormat.java:[262,69]
 cannot find symbol
  symbol:   method getBytesPerChecksum(org.apache.hadoop.conf.Configuration)
  location: class org.apache.hadoop.hbase.regionserver.HStore
[ERROR] 
/Users/tkhurana/oss/phoenix/phoenix-core/src/main/java/org/apache/phoenix/mapreduce/MultiHfileOutputFormat.java:[261,65]
 cannot find symbol
  symbol:   method getChecksumType(org.apache.hadoop.conf.Configuration)
  location: class org.apache.hadoop.hbase.regionserver.HStore{code}
I found that this Jira https://issues.apache.org/jira/browse/HBASE-25249 has 
removed these functions from HStore class as a result Phoenix is not compiling



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to