Uploaded image for project: 'Hadoop Map/Reduce'
  1. Hadoop Map/Reduce
  2. MAPREDUCE-3803

HDFS-2864 broke ant compilation

    XMLWordPrintableJSON

Details

    • Test
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.23.1, 2.0.0-alpha
    • 0.23.1
    • build
    • None

    Description

      compile:
      [echo] contrib: raid
      [javac] <somePath>/hadoop-mapreduce-project/src/contrib/build-contrib.xml:194: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
      [javac] Compiling 28 source files to <somepath>/hadoop-mapreduce-project/build/contrib/raid/classes
      [javac] <somepath>/hadoop-mapreduce-project/src/contrib/raid/src/java/org/apache/hadoop/hdfs/server/datanode/RaidBlockSender.java:111: cannot find symbol
      [javac] symbol : variable METADATA_VERSION
      [javac] location: class org.apache.hadoop.hdfs.server.datanode.FSDataset
      [javac] if (version != FSDataset.METADATA_VERSION) {
      [javac] ^
      [javac] <somepath>/hadoop-mapreduce-project/src/contrib/raid/src/java/org/apache/hadoop/raid/BlockFixer.java:649: cannot find symbol
      [javac] symbol : variable METADATA_VERSION
      [javac] location: class org.apache.hadoop.hdfs.server.datanode.FSDataset
      [javac] mdOut.writeShort(FSDataset.METADATA_VERSION);
      [javac] ^
      [javac] Note: Some input files use or override a deprecated API.
      [javac] Note: Recompile with -Xlint:deprecation for details.
      [javac] Note: Some input files use unchecked or unsafe operations.
      [javac] Note: Recompile with -Xlint:unchecked for details.
      [javac] 2 errors

      BUILD FAILED

      Attachments

        1. MAPREDUCE-3803.patch
          2 kB
          Ravi Prakash
        2. HDFS-2888.patch
          2 kB
          Ravi Prakash

        Issue Links

          Activity

            People

              raviprak Ravi Prakash
              raviprak Ravi Prakash
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: