hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kiran Kumar Kolli (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-16086) Fix HiveMetaStoreChecker.checkPartitionDirsSingleThreaded method
Date Fri, 03 Mar 2017 01:10:45 GMT

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

Kiran Kumar Kolli commented on HIVE-16086:
------------------------------------------

[~vihangk1] Real validation for this is to assert the #call to fs.listStatus. This require
mocking FS. 

>From the test code I see that only Predefined FS's are loaded. Do you know if there is
a way to inject mock FS? Other possibility is to use reflection and access private method
directly. Do we allow reflection in UTs?

> Fix HiveMetaStoreChecker.checkPartitionDirsSingleThreaded method
> ----------------------------------------------------------------
>
>                 Key: HIVE-16086
>                 URL: https://issues.apache.org/jira/browse/HIVE-16086
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Kiran Kumar Kolli
>            Assignee: Kiran Kumar Kolli
>             Fix For: 2.2.0
>
>         Attachments: HIVE-16086.01.patch
>
>
> checkPartitionDirsSingleThreaded DFS implementation has a bug and its traversing the
paths repeatedly. 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message