[
https://issues.apache.org/jira/browse/PHOENIX-4405?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16267706#comment-16267706
]
Josh Elser commented on PHOENIX-4405:
-------------------------------------
Forgot to mention the first time around: this patch removes the ability to
build against Hadoop2.
These metrics classes leak commons-configuration classes into API
(SubsetConfiguration in MetricsSink, from MetricsPlugin). We would need to have
a nasty level of reflection indirection to make both work.
> Compilation error using Hadoop3
> -------------------------------
>
> Key: PHOENIX-4405
> URL: https://issues.apache.org/jira/browse/PHOENIX-4405
> Project: Phoenix
> Issue Type: Sub-task
> Reporter: Josh Elser
> Assignee: Josh Elser
> Priority: Critical
> Fix For: 5.0.0
>
> Attachments: PHOENIX-4405.001.5.x-HBase-2.0.patch
>
>
> {noformat}
> [ERROR]
> /Users/jelser/projects/phoenix.git/phoenix-core/src/main/java/org/apache/phoenix/trace/PhoenixMetricsSink.java:[37,40]
> package org.apache.commons.configuration does not exist
> [ERROR]
> /Users/jelser/projects/phoenix.git/phoenix-core/src/main/java/org/apache/phoenix/trace/PhoenixMetricsSink.java:[110,22]
> cannot find symbol
> symbol: class SubsetConfiguration
> location: class org.apache.phoenix.trace.PhoenixMetricsSink
> [INFO] 2 errors
> {noformat}
> Flipping over our Hadoop version seems to bring along some
> commons-configuration dependency change which requires a tweaking in Phoenix.
> Should be trivial.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)