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

Support Pig build with Hadoop 2.8.1

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: build
    • Labels:
      None

      Description

      There is no way to build Pig with Hadoop 2.8 due to

      [javac] /code/build/pig/rpm/BUILD/pig-0.15.0-src/src/org/apache/pig/backend/hadoop/datastorage/HDataStorage.java:33: error: cannot find symbol
      [javac] import org.apache.hadoop.hdfs.DistributedFileSystem;
      [javac] ^
      [javac] symbol: class DistributedFileSystem
      [javac] location: package org.apache.hadoop.hdfs

      That trouble was caused by HDFS-8740

      So we need to add hadoop-hdfs-client as dependency.

      I'll upload patch shortly.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              achevychalov Anton Chevychalov
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: