You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "David Mollitor (Jira)" <ji...@apache.org> on 2021/05/24 13:32:00 UTC
[jira] [Resolved] (HIVE-25151) Remove Unused Interner from
HiveMetastoreChecker
[ https://issues.apache.org/jira/browse/HIVE-25151?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
David Mollitor resolved HIVE-25151.
-----------------------------------
Fix Version/s: 4.0.0
Resolution: Fixed
Pushed to master. Thanks [~mgergely] for the review!
> Remove Unused Interner from HiveMetastoreChecker
> ------------------------------------------------
>
> Key: HIVE-25151
> URL: https://issues.apache.org/jira/browse/HIVE-25151
> Project: Hive
> Issue Type: Improvement
> Reporter: David Mollitor
> Assignee: David Mollitor
> Priority: Minor
> Labels: pull-request-available
> Fix For: 4.0.0
>
> Time Spent: 1h
> Remaining Estimate: 0h
>
> {code:java|title=HiveMetastoreChecker}
> for (int i = 0; i < getPartitionSpec(table, partition).size(); i++) {
> Path qualifiedPath = partPath.makeQualified(fs);
> pathInterner.intern(qualifiedPath);
> partPaths.add(qualifiedPath);
> partPath = partPath.getParent();
> }
> {code}
>
> The items are being "interned" and then the returned values are ignored. This is wrong and make the {{Interner}} useless.
> For now simply remove this stuff.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)