hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander Pivovarov (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-10444) HIVE-10223 breaks hadoop-1 build
Date Thu, 30 Apr 2015 02:32:06 GMT

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

Alexander Pivovarov commented on HIVE-10444:
--------------------------------------------

[~cnauroth] After the patch #1 the code looks like that
{code}
if (!fileStatus.isDirectory()) {
..
} else if (fileStatus.isDirectory()) { // Checking isDirectory again? Do you expect different
result here? I think "if" statement can be removed.
..
} else { // unreachable block below. Just remove it
..
}
{code}

BTW, each jira with patches should have RB link.

> HIVE-10223 breaks hadoop-1 build
> --------------------------------
>
>                 Key: HIVE-10444
>                 URL: https://issues.apache.org/jira/browse/HIVE-10444
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 1.2.0
>            Reporter: Prasanth Jayachandran
>            Assignee: Chris Nauroth
>         Attachments: HIVE-10444.1.patch
>
>
> FileStatus.isFile() and FileStatus.isDirectory() methods added in HIVE-10223 are not
present in hadoop 1.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message