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

Can't run offline CI verification

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.5.0
    • 1.5.1, 1.6.0
    • test
    • None

    Description

      If I try to run offline mapreduce verification, I'm told that my ci table is online and I can't scan it in offline mode.

      Exception in thread "main" java.io.IOException: org.apache.accumulo.core.client.AccumuloException: Table is online ci(6f) cannot scan table in offline mode
      	at org.apache.accumulo.core.client.mapreduce.InputFormatBase.getSplits(InputFormatBase.java:868)
      	at org.apache.hadoop.mapreduce.JobSubmitter.writeNewSplits(JobSubmitter.java:491)
      	at org.apache.hadoop.mapreduce.JobSubmitter.writeSplits(JobSubmitter.java:508)
      	at org.apache.hadoop.mapreduce.JobSubmitter.submitJobInternal(JobSubmitter.java:392)
      	at org.apache.hadoop.mapreduce.Job$10.run(Job.java:1268)
      	at org.apache.hadoop.mapreduce.Job$10.run(Job.java:1265)
      	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:1491)
      	at org.apache.hadoop.mapreduce.Job.submit(Job.java:1265)
      	at org.apache.hadoop.mapreduce.Job.waitForCompletion(Job.java:1286)
      	at org.apache.accumulo.test.continuous.ContinuousVerify.run(ContinuousVerify.java:223)
      	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
      	at org.apache.accumulo.test.continuous.ContinuousVerify.main(ContinuousVerify.java:239)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:606)
      	at org.apache.hadoop.util.RunJar.main(RunJar.java:212)
      Caused by: org.apache.accumulo.core.client.AccumuloException: Table is online ci(6f) cannot scan table in offline mode
      	at org.apache.accumulo.core.client.mapreduce.InputFormatBase.binOfflineTable(InputFormatBase.java:712)
      	at org.apache.accumulo.core.client.mapreduce.InputFormatBase.getSplits(InputFormatBase.java:841)
      	... 18 more
      

      If I take the table offline, I get an error that the table is offline

      Exception in thread "main" java.io.IOException: org.apache.accumulo.core.client.TableOfflineException: Table ci (6f) is offline
      	at org.apache.accumulo.test.continuous.ContinuousVerify.run(ContinuousVerify.java:207)
      	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
      	at org.apache.accumulo.test.continuous.ContinuousVerify.main(ContinuousVerify.java:239)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:606)
      	at org.apache.hadoop.util.RunJar.main(RunJar.java:212)
      Caused by: org.apache.accumulo.core.client.TableOfflineException: Table ci (6f) is offline
      	at org.apache.accumulo.core.client.admin.TableOperationsImpl.splitRangeByTablets(TableOperationsImpl.java:1050)
      	at org.apache.accumulo.test.continuous.ContinuousVerify.run(ContinuousVerify.java:203)
      	... 7 more
      

      Attachments

        1. ACCUMULO-2230.1.patch.txt
          2 kB
          Sean Busbey

        Activity

          People

            busbey Sean Busbey
            elserj Josh Elser
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: