[
https://issues.apache.org/jira/browse/PIG-3960?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Daniel Dai resolved PIG-3960.
-----------------------------
Resolution: Fixed
Hadoop Flags: Reviewed
Patch committed to trunk and 0.13 branch. Thanks Rohini for review!
> Compile fail against Hadoop 2.4.0 after PIG-3913
> ------------------------------------------------
>
> Key: PIG-3960
> URL: https://issues.apache.org/jira/browse/PIG-3960
> Project: Pig
> Issue Type: Bug
> Components: impl
> Reporter: Daniel Dai
> Assignee: Daniel Dai
> Fix For: 0.13.0, 0.14.0
>
> Attachments: PIG-3960-1.patch
>
>
> Error message:
> {code}
> [javac]
> /grid/0/workspace/champlain-hdp-compile/bigtop/build/pig/rpm/BUILD/pig-0.13.0.2.2.0.0/shims/src/hadoop23/org/apache/pig/backend/hadoop/executionengine/shims/HadoopShims.java:122:
> exception java.lang.InterruptedException is never thrown in body of
> corresponding try statement
> [javac] } catch (InterruptedException ir) {
> [javac] ^
> [javac]
> /grid/0/workspace/champlain-hdp-compile/bigtop/build/pig/rpm/BUILD/pig-0.13.0.2.2.0.0/shims/src/hadoop23/org/apache/pig/backend/hadoop/executionengine/shims/HadoopShims.java:199:
> exception java.lang.InterruptedException is never thrown in body of
> corresponding try statement
> [javac] } catch (InterruptedException ir) {
> [javac] ^
> [javac]
> /grid/0/workspace/champlain-hdp-compile/bigtop/build/pig/rpm/BUILD/pig-0.13.0.2.2.0.0/shims/src/hadoop23/org/apache/pig/backend/hadoop/executionengine/shims/HadoopShims.java:210:
> exception java.lang.InterruptedException is never thrown in body of
> corresponding try statement
> [javac] } catch (InterruptedException ir) {
> {code}
> This is due to the method signature change of Hadoop, such as
> Job.getCounters(), no longer throw InterruptedException.
--
This message was sent by Atlassian JIRA
(v6.2#6252)