[ 
https://issues.apache.org/jira/browse/HBASE-15059?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Lars Hofhansl updated HBASE-15059:
----------------------------------
    Release Note: 
This allows HBase to compile against Hadoop 2.7.1.

TimeStampingFileContext.java had to be removed!
If your code relied on this class to exist, do NOT upgrade to HBase 0.94.28.
If your installation used this class to dump Hadoop metric to files, replace 
its usage with org.apache.hadoop.metrics.file.FileContext.

In order to work correctly with Hadoop 2.x+ the Java classes generated for 
protobuf need to generated with protoc 2.5.0 before HBase is compiled.
This can be done with the included build-proto.sh script.

Also note that JDK7 or greater is required to build Hadoop 2.7 or later.

Example:
       $ protoc --version
       check that the output indicates 2.5.0

       $ dev-support/build-proto.sh
       $ mvn -Dhadoop.profile=2.7 ...


  was:
This allows HBase to compile against Hadoop 2.7.1.

TimeStampingFileContext.java had to be removed!
If your code relied on this class to exist, do NOT upgrade to HBase 0.94.28.


In order to work correctly with Hadoop 2.x+ the Java classes generated for 
protobuf need to generated with protoc 2.5.0 before HBase is compiled.
This can be done with the included build-proto.sh script.

Example:
       $ protoc --version
       check that the output indicates 2.5.0

       $ dev-support/build-proto.sh
       $ mvn -Dhadoop.profile=2.7 ...



> Allow 0.94 to compile against Hadoop 2.7.x
> ------------------------------------------
>
>                 Key: HBASE-15059
>                 URL: https://issues.apache.org/jira/browse/HBASE-15059
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Lars Hofhansl
>            Assignee: Lars Hofhansl
>             Fix For: 0.94.28
>
>         Attachments: 15059-addendum.txt, 15059-v2.txt, 15059.txt
>
>
> Currently HBase 0.94 cannot be compiled against Hadoop 2.7.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to