When Compile 4.x with hbase.profile >=1.4, there is following compile error, It may be caused by PHOENIX-6155:
phoenix-core/src/test/java/org/apache/phoenix/coprocessor/TaskMetaDataEndpointTest.java:[73,52] <anonymous org.apache.phoenix.coprocessor.TaskMetaDataEndpointTest$1> is not abstract and does not override abstract method getMetricRegistryForRegionServer() in org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment