Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-3798

compile-core-test fails to compile

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 0.18.0
    • Fix Version/s: 0.18.0
    • Component/s: build
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      compile-core-test fails to compile on branch-0.18

      compile-core-test:
      [javac] Compiling 7 source files to /branch-0.18/build/test/classes
      [javac] Note: Some input files use unchecked or unsafe operations.
      [javac] Note: Recompile with -Xlint:unchecked for details.
      [javac] Compiling 238 source files to /branch-0.18/build/test/classes
      [javac] /branch-0.18/src/test/org/apache/hadoop/mapred/TestJobShell.java:27: package org.apache.hadoop.hdfs does not exist
      [javac] import org.apache.hadoop.hdfs.MiniDFSCluster;
      [javac] ^
      [javac] /branch-0.18/src/test/org/apache/hadoop/mapred/TestJobShell.java:38: cannot find symbol
      [javac] symbol : class MiniDFSCluster
      [javac] location: class org.apache.hadoop.mapred.TestJobShell
      [javac] MiniDFSCluster dfs = null;
      [javac] ^
      [javac] /branch-0.18/src/test/org/apache/hadoop/mapred/TestJobShell.java:45: cannot find symbol
      [javac] symbol : class MiniDFSCluster
      [javac] location: class org.apache.hadoop.mapred.TestJobShell
      [javac] dfs = new MiniDFSCluster(conf, 2 , true, null);
      [javac] ^
      [javac] Note: Some input files use or override a deprecated API.
      [javac] Note: Recompile with -Xlint:deprecation for details.
      [javac] 3 errors

        Attachments

        1. H3798.patch
          0.6 kB
          Mukund Madhugiri

          Activity

            People

            • Assignee:
              mukundm Mukund Madhugiri
              Reporter:
              mukundm Mukund Madhugiri
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: