You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "BELUGA BEHR (JIRA)" <ji...@apache.org> on 2018/07/25 21:01:00 UTC
[jira] [Created] (HIVE-20238) Remove stringifyException Method
BELUGA BEHR created HIVE-20238:
----------------------------------
Summary: Remove stringifyException Method
Key: HIVE-20238
URL: https://issues.apache.org/jira/browse/HIVE-20238
Project: Hive
Issue Type: Improvement
Affects Versions: 3.0.0, 4.0.0
Reporter: BELUGA BEHR
Fix For: 4.0.0
Remove 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
(v7.6.3#76005)