Uploaded image for project: 'Pig'
  1. Pig
  2. PIG-3960

Compile fail against Hadoop 2.4.0 after PIG-3913

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.13.0, 0.14.0
    • impl
    • None
    • Reviewed

    Description

      Error message:

          [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) {
      

      This is due to the method signature change of Hadoop, such as Job.getCounters(), no longer throw InterruptedException.

      Attachments

        1. PIG-3960-1.patch
          1 kB
          Daniel Dai

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            daijy Daniel Dai
            daijy Daniel Dai
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment