[
https://issues.apache.org/jira/browse/HIVE-10444?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
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: 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)