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

Jonathan Eagles commented on TEZ-1463:
--------------------------------------

Couple of minor nits now that I had time to fully review version 2 of this patch
* Replace emptyStringArray references with 
org.apache.commons.lang.ArrayUtils.EMPTY_STRING_ARRAY or remove need to 
reference empty array string e.g. 
{code}StringUtils.trimToEmpty(str).split(\\s*,\\s*);{code}
* Replace both references to 
{code}Sets.newHashSet(TezCommonUtils.getTrimmedStringCollection{code} with 
{code}Sets.newHashSet(TezCommonUtils.getTrimmedStrings{code} in 
ACLConfigurationParser so that hash set can be created more efficiently and be 
ideally sized
* Remove TezCommonUtils.getTrimmedStringCollection since it is no longer needed

> Remove dependency on private class org.apache.hadoop.util.StringUtils 
> ----------------------------------------------------------------------
>
>                 Key: TEZ-1463
>                 URL: https://issues.apache.org/jira/browse/TEZ-1463
>             Project: Apache Tez
>          Issue Type: Bug
>            Reporter: Hitesh Shah
>            Assignee: Alexander Pivovarov
>              Labels: newbie
>         Attachments: TEZ-1463.1.patch, TEZ-1463.2.patch
>
>
> This is a private and unstable class in hadoop. We should not depend on it. 



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to