Uploaded image for project: 'Kudu'
  1. Kudu
  2. KUDU-1318

Java integration test failures in kudu-client-tools

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Cannot Reproduce
    • 0.7.0
    • n/a
    • client
    • None

    Description

      Filing this so we can collectively figure out what's going on.

      I see the following errors consistently when I run "mvn clean install".

      -------------------------------------------------------
       T E S T S
      -------------------------------------------------------
      Running org.kududb.mapreduce.tools.ITRowCounter
      Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 4.954 sec <<< FAILURE! - in org.kududb.mapreduce.tools.ITRowCounter
      test(org.kududb.mapreduce.tools.ITRowCounter)  Time elapsed: 2.345 sec  <<< ERROR!
      java.lang.NoSuchMethodError: org.apache.hadoop.yarn.proto.YarnProtos$LocalResourceProto.hashLong(J)I
      	at org.apache.hadoop.yarn.proto.YarnProtos$LocalResourceProto.hashCode(YarnProtos.java:11655)
      	at org.apache.hadoop.yarn.api.records.impl.pb.LocalResourcePBImpl.hashCode(LocalResourcePBImpl.java:62)
      	at java.util.HashMap.hash(HashMap.java:362)
      	at java.util.HashMap.put(HashMap.java:492)
      	at org.apache.hadoop.mapred.LocalDistributedCacheManager.setup(LocalDistributedCacheManager.java:133)
      	at org.apache.hadoop.mapred.LocalJobRunner$Job.<init>(LocalJobRunner.java:163)
      	at org.apache.hadoop.mapred.LocalJobRunner.submitJob(LocalJobRunner.java:731)
      	at org.apache.hadoop.mapreduce.JobSubmitter.submitJobInternal(JobSubmitter.java:536)
      	at org.apache.hadoop.mapreduce.Job$10.run(Job.java:1306)
      	at org.apache.hadoop.mapreduce.Job$10.run(Job.java:1303)
      	at java.security.AccessController.doPrivileged(Native Method)
      	at javax.security.auth.Subject.doAs(Subject.java:415)
      	at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1671)
      	at org.apache.hadoop.mapreduce.Job.submit(Job.java:1303)
      	at org.apache.hadoop.mapreduce.Job.waitForCompletion(Job.java:1324)
      	at org.kududb.mapreduce.tools.ITRowCounter.test(ITRowCounter.java:64)
      
      Running org.kududb.mapreduce.tools.ITImportCsv
      Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 3.696 sec <<< FAILURE! - in org.kududb.mapreduce.tools.ITImportCsv
      test(org.kududb.mapreduce.tools.ITImportCsv)  Time elapsed: 1.053 sec  <<< ERROR!
      java.lang.NoSuchMethodError: org.apache.hadoop.yarn.proto.YarnProtos$LocalResourceProto.hashLong(J)I
      	at org.apache.hadoop.yarn.proto.YarnProtos$LocalResourceProto.hashCode(YarnProtos.java:11655)
      	at org.apache.hadoop.yarn.api.records.impl.pb.LocalResourcePBImpl.hashCode(LocalResourcePBImpl.java:62)
      	at java.util.HashMap.hash(HashMap.java:362)
      	at java.util.HashMap.put(HashMap.java:492)
      	at org.apache.hadoop.mapred.LocalDistributedCacheManager.setup(LocalDistributedCacheManager.java:133)
      	at org.apache.hadoop.mapred.LocalJobRunner$Job.<init>(LocalJobRunner.java:163)
      	at org.apache.hadoop.mapred.LocalJobRunner.submitJob(LocalJobRunner.java:731)
      	at org.apache.hadoop.mapreduce.JobSubmitter.submitJobInternal(JobSubmitter.java:536)
      	at org.apache.hadoop.mapreduce.Job$10.run(Job.java:1306)
      	at org.apache.hadoop.mapreduce.Job$10.run(Job.java:1303)
      	at java.security.AccessController.doPrivileged(Native Method)
      	at javax.security.auth.Subject.doAs(Subject.java:415)
      	at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1671)
      	at org.apache.hadoop.mapreduce.Job.submit(Job.java:1303)
      	at org.apache.hadoop.mapreduce.Job.waitForCompletion(Job.java:1324)
      	at org.kududb.mapreduce.tools.ITImportCsv.test(ITImportCsv.java:103)
      
      
      Results :
      
      
      Tests in error: 
        ITImportCsv.test:103 » NoSuchMethod org.apache.hadoop.yarn.proto.YarnProtos$Lo...
        ITRowCounter.test:64 » NoSuchMethod org.apache.hadoop.yarn.proto.YarnProtos$Lo...
      
      
      Tests run: 2, Failures: 0, Errors: 2, Skipped: 0
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            adar Adar Dembo
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: