You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Stamatis Zampetakis (Jira)" <ji...@apache.org> on 2022/06/30 12:47:00 UTC

[jira] [Commented] (HIVE-20238) Remove stringifyException Method

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

Stamatis Zampetakis commented on HIVE-20238:
--------------------------------------------

Hey [~belugabehr], I find this a very useful contribution. Do you have time to finalize this work?

> Remove stringifyException Method
> --------------------------------
>
>                 Key: HIVE-20238
>                 URL: https://issues.apache.org/jira/browse/HIVE-20238
>             Project: Hive
>          Issue Type: Improvement
>    Affects Versions: 4.0.0
>            Reporter: David Mollitor
>            Assignee: David Mollitor
>            Priority: Minor
>              Labels: newbie, noob, pull-request-available
>             Fix For: 4.0.0
>
>         Attachments: HIVE-20238.1.patch, HIVE-20238.2.patch, HIVE-20238.3.patch, HIVE-20238.4.patch, HIVE-20238.5.patch, HIVE-20238.6.patch, HIVE-20238.7.patch, HIVE-20238.8.patch
>
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> Deprecate the method {{stringifyException}}
> https://github.com/apache/hive/blob/c2940a07cf0891e922672782b73ec22551a7eedd/common/src/java/org/apache/hive/common/util/HiveStringUtils.java#L146
> The code already exists in Hadoop proper:
> https://github.com/apache/hadoop/blob/2b2399d623539ab68e71a38fa9fbfc9a405bddb8/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/StringUtils.java#L86
> And beyond that, I was told on the Hadoop dev mailing list that this function should not be used anymore.  Developers should just be using the SLF4J facilities and not this home-grown thing.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)