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

ASF GitHub Bot commented on DRILL-6422:
---------------------------------------

vvysotskyi commented on a change in pull request #1264:  DRILL-6422: Update 
guava to 23.0 and shade it
URL: https://github.com/apache/drill/pull/1264#discussion_r201060643
 
 

 ##########
 File path: 
common/src/main/java/org/apache/drill/common/collections/MapWithOrdinal.java
 ##########
 @@ -54,7 +53,7 @@
 public class MapWithOrdinal<K, V> implements Map<K, V> {
   private final static Logger logger = 
LoggerFactory.getLogger(MapWithOrdinal.class);
 
-  private final Map<K, Entry<Integer, V>> primary = Maps.newLinkedHashMap();
+  private final Map<K, Entry<Integer, V>> primary = new LinkedHashMap<>();
   private final IntObjectHashMap<V> secondary = new IntObjectHashMap<>();
 
   private final Map<K, V> delegate = new Map<K, V>() {
 
 Review comment:
   OK, I have removed all these changes and will open a separate PR with them. 
So now this PR contains only changes required for compiling the code.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


> Update guava to 23.0 and shade it
> ---------------------------------
>
>                 Key: DRILL-6422
>                 URL: https://issues.apache.org/jira/browse/DRILL-6422
>             Project: Apache Drill
>          Issue Type: Task
>            Reporter: Volodymyr Vysotskyi
>            Assignee: Volodymyr Vysotskyi
>            Priority: Major
>             Fix For: 1.15.0
>
>
> Some hadoop libraries use old versions of guava and most of them are 
> incompatible with guava 23.0.
> To allow usage of new guava version, it should be shaded and shaded version 
> should be used in the project.



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

Reply via email to