[ 
https://issues.apache.org/jira/browse/FLUME-2957?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16353660#comment-16353660
 ] 

ASF subversion and git services commented on FLUME-2957:
--------------------------------------------------------

Commit 7f85df9e473ee675d461d5b76650694c5a6c0088 in flume's branch 
refs/heads/trunk from [~denes]
[ https://git-wip-us.apache.org/repos/asf?p=flume.git;h=7f85df9 ]

FLUME-2957. Remove Guava from our public API

The only Guava class used in public API is the ImmutableMap in the

org.apache.flume.Context,
org.apache.flume.node.MaterializedConfiguration and
org.apache.flume.node.SimpleMaterializedConfiguration

classes.

This commit replaces these with java.util.Map.

Note: this is a breaking change as it modifies
the return type of a method on a public interface.

This closes #195

Reviewers: Ferenc Szabo, Mike Percy

(Denes Arvay via Ferenc Szabo)


> Remove Guava from our public API
> --------------------------------
>
>                 Key: FLUME-2957
>                 URL: https://issues.apache.org/jira/browse/FLUME-2957
>             Project: Flume
>          Issue Type: Task
>    Affects Versions: 1.8.0
>            Reporter: Lior Zeno
>            Assignee: Denes Arvay
>            Priority: Major
>              Labels: breaking_change
>             Fix For: 2.0.0
>
>
> Context.getParameters (flume-ng-configuration module) returns 
> com.google.common.collect.ImmutableMap (Guava). We should clean our API and 
> return either a native java interface or Flume's.
> In addition to the current state being a bad practice, this also means that 
> we are unable to shade Guava in Flume.
> Note: Since this breaks our public API, I'll reschedule this issue to 2.0 
> once we have this version managed in jira.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to