Ted Yu created YETUS-279:
----------------------------
Summary: HBase personality should order modules correctly
Key: YETUS-279
URL: https://issues.apache.org/jira/browse/YETUS-279
Project: Yetus
Issue Type: Bug
Reporter: Ted Yu
See the thread on dev@yetus, 'determining cause for compilation error'.
In HBASE-15075, I modify class SplitNormalizationPlan.java in hbase-server
module which calls the following new method added to Admin.java (in
hbase-client module):
{code}
+ void splitRegion(final byte[] regionName, final byte[] splitPoint, final
UUID id)
{code}
Incorrect order of building the modules led to the following compilation error:
{code}
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR]
/testptch/hbase/hbase-server/src/main/java/org/apache/hadoop/hbase/master/normalizer/SplitNormalizationPlan.java:[95,12]
no suitable method found for splitRegion(byte[],byte[],java.util.UUID)
method org.apache.hadoop.hbase.client.Admin.splitRegion(byte[]) is not
applicable
(actual and formal argument lists differ in length)
method org.apache.hadoop.hbase.client.Admin.splitRegion(byte[],byte[]) is
not applicable
(actual and formal argument lists differ in length)
{code}
HBase personality should order the modules according to the Maven dependencies.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)