[ 
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)

Reply via email to