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

Alexander Pivovarov commented on TEZ-1463:
------------------------------------------

There are 4 methods from hadoop StringUtils which are used in tez projects

Collection<String> getTrimmedStringCollection(str)
String[] getTrimmedStrings(str)
String join(char, Iterator<String>)
String[] split(String, char)

plus stringifyException()  which we can add to TezCommonUtils

  public static String stringifyException(Throwable e) {
    StringWriter stm = new StringWriter();
    PrintWriter wrt = new PrintWriter(stm);
    e.printStackTrace(wrt);
    wrt.close();
    return stm.toString();
  }

> 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
>              Labels: newbie
>
> 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