Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.6.0
    • Component/s: master
    • Labels:
      None

      Description

      Master is reporting in the monitor-

       
      Failed to execute Repo, tid=04a117a43b9bcadf
      	java.lang.IllegalArgumentException: Range [+r<%00; : [] 9223372036854775807 false,+inf) does not overlap [!0; : [] 9223372036854775807 false,!0<%00; : [] 9223372036854775807 false)
      		at org.apache.accumulo.core.data.Range.clip(Range.java:439)
      		at org.apache.accumulo.core.data.Range.clip(Range.java:409)
      		at org.apache.accumulo.master.tableOps.CompactionDriver.isReady(CompactRange.java:105)
      		at org.apache.accumulo.master.tableOps.CompactionDriver.isReady(CompactRange.java:65)
      		at org.apache.accumulo.master.tableOps.TraceRepo.isReady(TraceRepo.java:44)
      		at org.apache.accumulo.fate.Fate$TransactionRunner.run(Fate.java:64)
      		at org.apache.accumulo.fate.util.LoggingRunnable.run(LoggingRunnable.java:34)
      		at java.lang.Thread.run(Thread.java:701)
      06 19:14:08,0236	gc:john-P15xEMx	1	
      WARN
      org.apache.accumulo.core.client.AccumuloException: Internal error processing waitForTableOperation
      	org.apache.accumulo.core.client.AccumuloException: Internal error processing waitForTableOperation
      		at org.apache.accumulo.core.client.admin.TableOperationsImpl.doTableOperation(TableOperationsImpl.java:330)
      		at org.apache.accumulo.core.client.admin.TableOperationsImpl.compact(TableOperationsImpl.java:826)
      		at org.apache.accumulo.core.client.admin.TableOperationsImpl.compact(TableOperationsImpl.java:807)
      		at org.apache.accumulo.gc.SimpleGarbageCollector.run(SimpleGarbageCollector.java:474)
      		at org.apache.accumulo.gc.SimpleGarbageCollector.main(SimpleGarbageCollector.java:144)
      		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:622)
      		at org.apache.accumulo.start.Main$1.run(Main.java:137)
      		at java.lang.Thread.run(Thread.java:701)
      	Caused by: org.apache.thrift.TApplicationException: Internal error processing waitForTableOperation
      		at org.apache.thrift.TApplicationException.read(TApplicationException.java:108)
      		at org.apache.thrift.TServiceClient.receiveBase(TServiceClient.java:71)
      		at org.apache.accumulo.core.master.thrift.MasterClientService$Client.recv_waitForTableOperation(MasterClientService.java:610)
      		at org.apache.accumulo.core.master.thrift.MasterClientService$Client.waitForTableOperation(MasterClientService.java:595)
      		at org.apache.accumulo.core.client.admin.TableOperationsImpl.waitForTableOperation(TableOperationsImpl.java:268)
      		at org.apache.accumulo.core.client.admin.TableOperationsImpl.doTableOperation(TableOperationsImpl.java:310)
      		... 10 more

      Seems to correspond to this from the monitor-

      org.apache.accumulo.core.client.AccumuloException: Internal error processing waitForTableOperation
      	org.apache.accumulo.core.client.AccumuloException: Internal error processing waitForTableOperation
      		at org.apache.accumulo.core.client.admin.TableOperationsImpl.doTableOperation(TableOperationsImpl.java:330)
      		at org.apache.accumulo.core.client.admin.TableOperationsImpl.compact(TableOperationsImpl.java:826)
      		at org.apache.accumulo.core.client.admin.TableOperationsImpl.compact(TableOperationsImpl.java:807)
      		at org.apache.accumulo.gc.SimpleGarbageCollector.run(SimpleGarbageCollector.java:474)
      		at org.apache.accumulo.gc.SimpleGarbageCollector.main(SimpleGarbageCollector.java:144)
      		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:622)
      		at org.apache.accumulo.start.Main$1.run(Main.java:137)
      		at java.lang.Thread.run(Thread.java:701)
      	Caused by: org.apache.thrift.TApplicationException: Internal error processing waitForTableOperation
      		at org.apache.thrift.TApplicationException.read(TApplicationException.java:108)
      		at org.apache.thrift.TServiceClient.receiveBase(TServiceClient.java:71)
      		at org.apache.accumulo.core.master.thrift.MasterClientService$Client.recv_waitForTableOperation(MasterClientService.java:610)
      		at org.apache.accumulo.core.master.thrift.MasterClientService$Client.waitForTableOperation(MasterClientService.java:595)
      		at org.apache.accumulo.core.client.admin.TableOperationsImpl.waitForTableOperation(TableOperationsImpl.java:268)
      		at org.apache.accumulo.core.client.admin.TableOperationsImpl.doTableOperation(TableOperationsImpl.java:310)
      		... 10 more

      Which is a bit strange, because it's forcing a compaction of the metadata table, but is complaining about the root tablet as part of the range?

        Issue Links

          Activity

          Hide
          John Vines added a comment -
              if (tableId.equals(MetadataTable.ID))
                range = range.clip(new Range(RootTable.EXTENT.getMetadataEntry(), false, null, true));
          

          This is unecessary now, I'm pretty sure. And it's what's causing problems.

          Show
          John Vines added a comment - if (tableId.equals(MetadataTable.ID)) range = range.clip( new Range(RootTable.EXTENT.getMetadataEntry(), false , null , true )); This is unecessary now, I'm pretty sure. And it's what's causing problems.
          Hide
          ASF subversion and git services added a comment -

          Commit 02275812b6ed7cec6c4923183f2f75011f4c4f4a in branch refs/heads/1.6.0-SNAPSHOT from Keith Turner
          [ https://git-wip-us.apache.org/repos/asf?p=accumulo.git;h=0227581 ]

          ACCUMULO-1978 fixed compaction and flush of metadata table and added test

          Show
          ASF subversion and git services added a comment - Commit 02275812b6ed7cec6c4923183f2f75011f4c4f4a in branch refs/heads/1.6.0-SNAPSHOT from Keith Turner [ https://git-wip-us.apache.org/repos/asf?p=accumulo.git;h=0227581 ] ACCUMULO-1978 fixed compaction and flush of metadata table and added test
          Hide
          Keith Turner added a comment -

          I fixed this issue. I realized while working on it that compacting and flushing the root table does not work properly. But this did not work properly in 1.4 or 1.5. I am going to open a separate ticket for this issue.

          Show
          Keith Turner added a comment - I fixed this issue. I realized while working on it that compacting and flushing the root table does not work properly. But this did not work properly in 1.4 or 1.5. I am going to open a separate ticket for this issue.
          Hide
          ASF subversion and git services added a comment -

          Commit 02275812b6ed7cec6c4923183f2f75011f4c4f4a in branch refs/heads/master from Keith Turner
          [ https://git-wip-us.apache.org/repos/asf?p=accumulo.git;h=0227581 ]

          ACCUMULO-1978 fixed compaction and flush of metadata table and added test

          Show
          ASF subversion and git services added a comment - Commit 02275812b6ed7cec6c4923183f2f75011f4c4f4a in branch refs/heads/master from Keith Turner [ https://git-wip-us.apache.org/repos/asf?p=accumulo.git;h=0227581 ] ACCUMULO-1978 fixed compaction and flush of metadata table and added test

            People

            • Assignee:
              Keith Turner
              Reporter:
              John Vines
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development