Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.6.0
    • test
    • None
    • nightly integration tests, hadoop-1.6.0-SNAPSHOT, hadoop 1.2

    Description

      java.lang.RuntimeException: org.apache.accumulo.server.master.state.TabletLocationState$BadLocationStateException: 1;i;h is both assigned and hosted, which should never happen: 1;i;h@(host1:52226[144c02488870002],host1:45262[144c02488870003],null)
      	at org.apache.accumulo.server.master.state.MetaDataTableScanner.fetch(MetaDataTableScanner.java:183)
      	at org.apache.accumulo.server.master.state.MetaDataTableScanner.next(MetaDataTableScanner.java:126)
      	at org.apache.accumulo.server.master.state.MetaDataTableScanner.next(MetaDataTableScanner.java:49)
      	at org.apache.accumulo.test.MasterRepairsDualAssignmentIT.test(MasterRepairsDualAssignmentIT.java:97)
      	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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
      	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
      	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
      	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
      	at org.junit.internal.runners.statements.FailOnTimeout$StatementThread.run(FailOnTimeout.java:74)
      Caused by: org.apache.accumulo.server.master.state.TabletLocationState$BadLocationStateException: 1;i;h is both assigned and hosted, which should never happen: 1;i;h@(host1:52226[144c02488870002],host1:45262[144c02488870003],null)
      	at org.apache.accumulo.server.master.state.TabletLocationState.<init>(TabletLocationState.java:55)
      	at org.apache.accumulo.server.master.state.MetaDataTableScanner.createTabletLocationState(MetaDataTableScanner.java:173)
      	at org.apache.accumulo.server.master.state.MetaDataTableScanner.fetch(MetaDataTableScanner.java:179)
      	... 12 more
      

      Although it's expected that we'll see dual-assignment, we should not ever see assigned and hosted. This error occurs before the test does any crazy test-required write to the metadata table.

      Attachments

        Activity

          People

            ecn Eric C. Newton
            ecn Eric C. Newton
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: