Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
v1.5.3, v1.5.4, v1.5.4.1
-
None
-
CentOS Linux release 7.2.1511、maven 3.2.5、jdk1.7.0_80
-
Patch
Description
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;
Attachments
Issue Links
- duplicates
-
KYLIN-2189 The CubeVisitService class occured error when we compiled the kylin project using hbase-server-1.2.x.jar.
- Closed
- is duplicated by
-
KYLIN-2188 Kylin does not compile with HBase 1.2
- Closed