hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Nauroth (JIRA)" <>
Subject [jira] [Updated] (HIVE-10444) HIVE-10223 breaks hadoop-1 build
Date Wed, 29 Apr 2015 20:26:06 GMT


Chris Nauroth updated HIVE-10444:
    Attachment: HIVE-10444.1.patch

I also found one occurrence of the same problem that was not introduced by HIVE-10223.  Instead,
it was introduced by HIVE-10066.

I think the simplest thing to do is to revert to using {{FileStatus#isDir}}, which is present
in Hadoop 1.2.1.  It's deprecated in 2.x in favor of {{FileStatus#isDirectory}}, but it's
still usable.  I'm attaching a patch.

I verified a build locally for both {{-Phadoop-1}} and {{-Phadoop-2}}.

> HIVE-10223 breaks hadoop-1 build
> --------------------------------
>                 Key: HIVE-10444
>                 URL:
>             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

View raw message