Uploaded image for project: 'Accumulo'
  1. Accumulo
  2. ACCUMULO-4601

ClassLoaderIT is flakey due to missing JAR update

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: 1.7.3
    • Fix Version/s: None
    • Component/s: test
    • Labels:
      None

      Description

      Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 23.352 sec <<< FAILURE! - in org.apache.accumulo.test.functional.ClassLoaderIT
      test(org.apache.accumulo.test.functional.ClassLoaderIT)  Time elapsed: 23.151 sec  <<< ERROR!
      java.lang.RuntimeException: org.apache.accumulo.core.client.impl.AccumuloServerException: Error on server hw10447.local:57128
              at org.apache.accumulo.test.functional.ClassLoaderIT.scanCheck(ClassLoaderIT.java:101)
              at org.apache.accumulo.test.functional.ClassLoaderIT.test(ClassLoaderIT.java:90)
      Caused by: org.apache.accumulo.core.client.impl.AccumuloServerException: Error on server hw10447.local:57128
              at org.apache.accumulo.test.functional.ClassLoaderIT.scanCheck(ClassLoaderIT.java:101)
              at org.apache.accumulo.test.functional.ClassLoaderIT.test(ClassLoaderIT.java:90)
      Caused by: org.apache.thrift.TApplicationException: Internal error processing startScan
              at org.apache.accumulo.test.functional.ClassLoaderIT.scanCheck(ClassLoaderIT.java:101)
              at org.apache.accumulo.test.functional.ClassLoaderIT.test(ClassLoaderIT.java:90)
      

      The TabletServer appears to have never seen the update and reloaded the VFS classloader

      2017-03-07 12:58:46,309 [Audit] INFO : operation: permitted; user: root; client: 10.200.30.47:57222; action: scan; targetTable: ClassLoaderIT_test0; authorizations: ; range: (-inf,+inf); columns: []; iterators: []; iteratorOptions: {};
      2017-03-07 12:58:46,309 [Audit] INFO : operation: permitted; user: root; client: 10.200.30.47:57222; action: authenticate;
      2017-03-07 12:58:46,312 [iterators.IteratorUtil] ERROR: java.lang.ClassNotFoundException: org.apache.accumulo.test.functional.TestCombiner
      2017-03-07 12:58:46,312 [scan.NextBatchTask] WARN : exception while scanning tablet 1<<
      java.io.IOException: java.lang.ClassNotFoundException: org.apache.accumulo.test.functional.TestCombiner
              at org.apache.accumulo.core.iterators.IteratorUtil.loadIterators(IteratorUtil.java:273)
              at org.apache.accumulo.core.iterators.IteratorUtil.loadIterators(IteratorUtil.java:237)
              at org.apache.accumulo.core.iterators.IteratorUtil.loadIterators(IteratorUtil.java:218)
              at org.apache.accumulo.core.iterators.IteratorUtil.loadIterators(IteratorUtil.java:205)
              at org.apache.accumulo.tserver.tablet.ScanDataSource.createIterator(ScanDataSource.java:193)
              at org.apache.accumulo.tserver.tablet.ScanDataSource.iterator(ScanDataSource.java:127)
              at org.apache.accumulo.core.iterators.system.SourceSwitchingIterator.seek(SourceSwitchingIterator.java:180)
              at org.apache.accumulo.tserver.tablet.Tablet.nextBatch(Tablet.java:880)
              at org.apache.accumulo.tserver.tablet.Scanner.read(Scanner.java:98)
              at org.apache.accumulo.tserver.scan.NextBatchTask.run(NextBatchTask.java:69)
              at org.apache.htrace.wrappers.TraceRunnable.run(TraceRunnable.java:57)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
              at org.apache.accumulo.fate.util.LoggingRunnable.run(LoggingRunnable.java:35)
              at java.lang.Thread.run(Thread.java:745)
      Caused by: java.lang.ClassNotFoundException: org.apache.accumulo.test.functional.TestCombiner
              at org.apache.commons.vfs2.impl.VFSClassLoader.findClass(VFSClassLoader.java:178)
              at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
              at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
              at org.apache.accumulo.start.classloader.vfs.AccumuloVFSClassLoader.loadClass(AccumuloVFSClassLoader.java:110)
              at org.apache.accumulo.core.iterators.IteratorUtil.loadClass(IteratorUtil.java:293)
              at org.apache.accumulo.core.iterators.IteratorUtil.loadIterators(IteratorUtil.java:258)
              ... 14 more
      

      Appears that commons-vfs-2.1 is still busted.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              elserj Josh Elser
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: