XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 3.0.0-alpha2
    • 3.0.0-beta1
    • None
    • None

    Description

      HADOOP-11804 added an IT to make sure downstreamers can use our client artifacts post-shading. it is currently broken:

       useWebHDFS(org.apache.hadoop.example.ITUseMiniCluster)  Time elapsed: 6.776 sec  <<< ERROR!
      java.lang.NullPointerException: null
              at org.apache.hadoop.example.ITUseMiniCluster.clusterDown(ITUseMiniCluster.java:80)
      
      useHdfsFileSystem(org.apache.hadoop.example.ITUseMiniCluster)  Time elapsed: 2.954 sec  <<< ERROR!
      java.lang.NoClassDefFoundError: org/apache/hadoop/shaded/org/mockito/stubbing/Answer
              at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
              at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
              at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335)
              at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
              at org.apache.hadoop.hdfs.MiniDFSCluster.shouldWait(MiniDFSCluster.java:2668)
              at org.apache.hadoop.hdfs.MiniDFSCluster.waitActive(MiniDFSCluster.java:2564)
              at org.apache.hadoop.hdfs.MiniDFSCluster.waitActive(MiniDFSCluster.java:2607)
              at org.apache.hadoop.hdfs.MiniDFSCluster.startDataNodes(MiniDFSCluster.java:1667)
              at org.apache.hadoop.hdfs.MiniDFSCluster.initMiniDFSCluster(MiniDFSCluster.java:874)
              at org.apache.hadoop.hdfs.MiniDFSCluster.<init>(MiniDFSCluster.java:494)
              at org.apache.hadoop.hdfs.MiniDFSCluster$Builder.build(MiniDFSCluster.java:453)
              at org.apache.hadoop.example.ITUseMiniCluster.clusterUp(ITUseMiniCluster.java:74)
      
      useHdfsFileSystem(org.apache.hadoop.example.ITUseMiniCluster)  Time elapsed: 2.954 sec  <<< ERROR!
      java.lang.NullPointerException: null
              at org.apache.hadoop.example.ITUseMiniCluster.clusterDown(ITUseMiniCluster.java:80)
      
       

      (edited after I fixed a downed loopback device)

      Attachments

        1. HADOOP-18457.0.patch
          3 kB
          Sean Busbey
        2. HADOOP-14857.3.patch
          5 kB
          Sean Busbey
        3. HADOOP-14857.2.patch
          5 kB
          Sean Busbey
        4. HADOOP-14857.1.patch
          4 kB
          Bharat Viswanadham

        Issue Links

          Activity

            People

              busbey Sean Busbey
              busbey Sean Busbey
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: