Hadoop Map/Reduce
  1. Hadoop Map/Reduce
  2. MAPREDUCE-1885

Trunk compilation is broken because of FileSystem api change in HADOOP-6826

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.22.0
    • Fix Version/s: 0.21.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Trunk compilation is broken because of FileSystem api change in HADOOP-6826.

      Here are the error messages:

      [iajc] /home/gravi/workspace/gitMR/hadoop-mapreduce/src/java/org/apache/hadoop/mapreduce/jobhistory/JobHistory.java:277 [error] The method create(Path, FsPermission, boolean, int, short, long, Progressable) in the type FileSystem is not applicable for the arguments (Path, FsPermission, EnumSet<CreateFlag>, int, short, long, null)
      [iajc] FSDataOutputStream out = logDirFs.create(logFile,
      [iajc] ^
      [iajc] /home/gravi/workspace/gitMR/hadoop-mapreduce/src/java/org/apache/hadoop/mapreduce/jobhistory/JobHistory.java:297 [error] The method create(Path, FsPermission, boolean, int, short, long, Progressable) in the type FileSystem is not applicable for the arguments (Path, FsPermission, EnumSet<CreateFlag>, int, short, long, null)
      [iajc] jobFileOut = logDirFs.create(logDirConfPath,
      [iajc]
      [iajc]
      [iajc] 2 errors

      1. 1885.patch
        2 kB
        Ravi Gummadi

        Issue Links

          Activity

          Hide
          Hudson added a comment -

          Integrated in Hadoop-Mapreduce-trunk-Commit #523 (See https://hudson.apache.org/hudson/job/Hadoop-Mapreduce-trunk-Commit/523/)

          Show
          Hudson added a comment - Integrated in Hadoop-Mapreduce-trunk-Commit #523 (See https://hudson.apache.org/hudson/job/Hadoop-Mapreduce-trunk-Commit/523/ )
          Hide
          Tom White added a comment -

          I've just committed this. Thanks, Ravi!

          Show
          Tom White added a comment - I've just committed this. Thanks, Ravi!
          Hide
          Tom White added a comment -

          +1

          This fixes MapReduce trunk for me. I'll commit it presently.

          Show
          Tom White added a comment - +1 This fixes MapReduce trunk for me. I'll commit it presently.
          Hide
          dhruba borthakur added a comment -

          +1

          Show
          dhruba borthakur added a comment - +1
          Hide
          Ravi Gummadi added a comment -

          Attaching patch fixing the compilation issue in JobHistory and DistCp.java

          Show
          Ravi Gummadi added a comment - Attaching patch fixing the compilation issue in JobHistory and DistCp.java

            People

            • Assignee:
              Ravi Gummadi
              Reporter:
              Ravi Gummadi
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development