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/21 19:55:00 UTC
[jira] [Updated] (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 updated HIVE-25151:
----------------------------------
Description:
{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 is being "interned" and then the returned value is ignored. This is wrong and make the {{Interner}} useless.
For now simply remove this stuff.
> 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
>
> {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 is being "interned" and then the returned value is 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)