Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.21.1
    • Fix Version/s: 0.21.1
    • Component/s: contrib/hdfsproxy
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      ant compile-contrib is broken, looks like commit a0a62d971fb35de7f021ecbd6ceb8d08ef923ed5 HDFS-1444

      1. hdfs-1452.patch
        2 kB
        Konstantin Boudnik
      2. hdfs-1452.patch
        1 kB
        Konstantin Boudnik

        Activity

        Hide
        Jakob Homan added a comment -

        Looks like hdfsproxy can't find MiniDFSCluster...

        compile-test:
             [echo] contrib: hdfsproxy
            [javac] Compiling 9 source files to /Users/jhoman/work/git/hadoop-hdfs/build/contrib/hdfsproxy/test
            [javac] /Users/jhoman/work/git/hadoop-hdfs/src/contrib/hdfsproxy/src/test/org/apache/hadoop/hdfsproxy/TestHdfsProxy.java:39: cannot find symbol
            [javac] symbol  : class MiniDFSCluster
            [javac] location: package org.apache.hadoop.hdfs
            [javac] import org.apache.hadoop.hdfs.MiniDFSCluster;
            [javac]                              ^
            [javac] /Users/jhoman/work/git/hadoop-hdfs/src/contrib/hdfsproxy/src/test/org/apache/hadoop/hdfsproxy/TestHdfsProxy.java:203: cannot find symbol
            [javac] symbol  : class MiniDFSCluster
            [javac] location: class org.apache.hadoop.hdfsproxy.TestHdfsProxy
            [javac]     MiniDFSCluster cluster = null;
            [javac]     ^
            [javac] /Users/jhoman/work/git/hadoop-hdfs/src/contrib/hdfsproxy/src/test/org/apache/hadoop/hdfsproxy/TestHdfsProxy.java:213: cannot find symbol
            [javac] symbol  : class MiniDFSCluster
            [javac] location: class org.apache.hadoop.hdfsproxy.TestHdfsProxy
            [javac]       cluster = new MiniDFSCluster(dfsConf, 2, true, null);
            [javac]                     ^
            [javac] 3 errors
        Show
        Jakob Homan added a comment - Looks like hdfsproxy can't find MiniDFSCluster... compile-test: [echo] contrib: hdfsproxy [javac] Compiling 9 source files to /Users/jhoman/work/git/hadoop-hdfs/build/contrib/hdfsproxy/test [javac] /Users/jhoman/work/git/hadoop-hdfs/src/contrib/hdfsproxy/src/test/org/apache/hadoop/hdfsproxy/TestHdfsProxy.java:39: cannot find symbol [javac] symbol : class MiniDFSCluster [javac] location: package org.apache.hadoop.hdfs [javac] import org.apache.hadoop.hdfs.MiniDFSCluster; [javac] ^ [javac] /Users/jhoman/work/git/hadoop-hdfs/src/contrib/hdfsproxy/src/test/org/apache/hadoop/hdfsproxy/TestHdfsProxy.java:203: cannot find symbol [javac] symbol : class MiniDFSCluster [javac] location: class org.apache.hadoop.hdfsproxy.TestHdfsProxy [javac] MiniDFSCluster cluster = null; [javac] ^ [javac] /Users/jhoman/work/git/hadoop-hdfs/src/contrib/hdfsproxy/src/test/org/apache/hadoop/hdfsproxy/TestHdfsProxy.java:213: cannot find symbol [javac] symbol : class MiniDFSCluster [javac] location: class org.apache.hadoop.hdfsproxy.TestHdfsProxy [javac] cluster = new MiniDFSCluster(dfsConf, 2, true, null); [javac] ^ [javac] 3 errors
        Hide
        Konstantin Boudnik added a comment -

        Oops.. here's the fix.

        Show
        Konstantin Boudnik added a comment - Oops.. here's the fix.
        Hide
        Konstantin Boudnik added a comment -

        A script settings for CLASSPATH is missing.

        Show
        Konstantin Boudnik added a comment - A script settings for CLASSPATH is missing.
        Hide
        Jakob Homan added a comment -

        With Cos' patch, I can compile test-contrib. However, TestHdfsProxy fails for me, as it did before this patch. Even omitting that test, I can't get cleanly through the test; instead I get an exception with test-cactus. This corner of the code is a mess, but it's not HDFS-1444's fault. +1 on the patch.

        Show
        Jakob Homan added a comment - With Cos' patch, I can compile test-contrib. However, TestHdfsProxy fails for me, as it did before this patch. Even omitting that test, I can't get cleanly through the test; instead I get an exception with test-cactus. This corner of the code is a mess, but it's not HDFS-1444 's fault. +1 on the patch.
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Hdfs-trunk-Commit #410 (See https://hudson.apache.org/hudson/job/Hadoop-Hdfs-trunk-Commit/410/)
        HDFS-1452. ant compile-contrib is broken. Contributed by Konstantin Boudnik

        Show
        Hudson added a comment - Integrated in Hadoop-Hdfs-trunk-Commit #410 (See https://hudson.apache.org/hudson/job/Hadoop-Hdfs-trunk-Commit/410/ ) HDFS-1452 . ant compile-contrib is broken. Contributed by Konstantin Boudnik
        Hide
        Konstantin Boudnik added a comment -

        I have checked that contrib compilation is back to normal and isn't affected by HDFS-1444 anymore.

        This has been committed.

        Show
        Konstantin Boudnik added a comment - I have checked that contrib compilation is back to normal and isn't affected by HDFS-1444 anymore. This has been committed.

          People

          • Assignee:
            Konstantin Boudnik
            Reporter:
            Jakob Homan
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development