hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Dere (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-7637) Change throws clause for Hadoop23Shims.ProxyFileSystem23.access()
Date Thu, 07 Aug 2014 00:47:12 GMT

     [ https://issues.apache.org/jira/browse/HIVE-7637?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jason Dere updated HIVE-7637:
-----------------------------

    Attachment: HIVE-7637.1.patch

Quick fix to change the throws clause, just throw RuntimeException if not one of the acceptable
exceptions, since ProxyFileSystem is for testing anyway.

> Change throws clause for Hadoop23Shims.ProxyFileSystem23.access()
> -----------------------------------------------------------------
>
>                 Key: HIVE-7637
>                 URL: https://issues.apache.org/jira/browse/HIVE-7637
>             Project: Hive
>          Issue Type: Bug
>          Components: Shims
>            Reporter: Jason Dere
>            Assignee: Jason Dere
>         Attachments: HIVE-7637.1.patch
>
>
> Looks like the changes from HIVE-7583 don't build correctly with Hadoop-2.6.0 because
the ProxyFileSystem23 version of access() throws Exception, which is not one of the exceptions
listed in the throws clause of FileSystem.access(). The method in ProxyFileSystem23 should
have its throws clause modified to match FileSystem's.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message