Qiang Zhang created KYLIN-2190:
----------------------------------
Summary: The visitCube function of the CubeVisitService class
occured error when we compiled the kylin project using hbase-server-1.2.x.jar.
Key: KYLIN-2190
URL: https://issues.apache.org/jira/browse/KYLIN-2190
Project: Kylin
Issue Type: Bug
Components: Storage - HBase
Affects Versions: v1.5.4.1, v1.5.4, v1.5.3
Environment: CentOS Linux release 7.2.1511、maven 3.2.5、jdk1.7.0_80
Reporter: Qiang Zhang
Assignee: liyang
The RegionCoprocessorEnvironment interface was different between
hbase-server-1.2.x.jar and hbase-server-0.9.8.jar. The value type of the
getRegion function for the RegionCoprocessorEnvironment interface is HRegion
class in hbase-server-0.9.8.jar. And it's value type is Region class in
hbase-server-1.2.x.jar. The visitCube function of the CubeVisitService class
couldn't be compatible with hbase-server-1.2.x.jar and hbase-server-0.9.8.jar.
The reappear steps is as following:
1. Get source code using git from git://git.apache.org/kylin.git;
2. Run the mvn command to compile the kylin project;
3. Compile successfully;
4. Modify the value of the <hbase-hadoop2.version> to 1.2.0 in the pom.xml of
the kylin project;
5. Run the mvn command to compile the kylin project;
3. Compile fail;
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)