[
https://issues.apache.org/jira/browse/ACCUMULO-2057?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14110788#comment-14110788
]
Eric Newton commented on ACCUMULO-2057:
---------------------------------------
[[email protected]] the work around is to delete last locations, which is
safe. If your metadata table comes online, you should be able to do this in
the shell:
{noformat}
shell> grant -u root -t !METADATA Table.WRITE
shell> table !METADATA
shell> deletemany -f -c last
{noformat}
If your metadata table does not come up, you might be able to remove the
duplicate last locations from the root tablet like this:
{noformat}
shell> table !METADATA
shell> deletemany -f -c last -e !0<
{noformat}
Please seek help on the mailing list if you are not able to get your system up
and running.
> found two last locations for the same extent
> --------------------------------------------
>
> Key: ACCUMULO-2057
> URL: https://issues.apache.org/jira/browse/ACCUMULO-2057
> Project: Accumulo
> Issue Type: Bug
> Components: master, tserver
> Affects Versions: 1.5.0
> Reporter: Eric Newton
> Assignee: Eric Newton
> Priority: Critical
> Fix For: 1.4.5, 1.5.1, 1.6.0
>
>
> Randomwalk testing, and saw this in the master logs:
> {noformat}
> 2013-12-18 19:16:58,335 [state.MetaDataTableScanner] ERROR:
> java.lang.RuntimeException:
> org.apache.accumulo.server.master.state.TabletLocationState$BadLocationState
> Exception: found two last locations for the same extent a<:
> ip-10-1-2-26:9997[1430679035c00c6] and ip-10-1-2-14:9997[343067903a7005b]
> java.lang.RuntimeException:
> org.apache.accumulo.server.master.state.TabletLocationState$BadLocationStateException:
> found two last locations for the same extent a<:
> ip-10-1-2-26:9997[1430679035c00c6] and ip-10-1-2-14:9997[343067903a7005b]
> at
> org.apache.accumulo.server.master.state.MetaDataTableScanner.fetch(MetaDataTableScanner.java:192)
> at
> org.apache.accumulo.server.master.state.MetaDataTableScanner.next(MetaDataTableScanner.java:127)
> at
> org.apache.accumulo.server.master.state.MetaDataTableScanner.next(MetaDataTableScanner.java:1)
> at
> org.apache.accumulo.master.TabletGroupWatcher.run(TabletGroupWatcher.java:143)
> Caused by:
> org.apache.accumulo.server.master.state.TabletLocationState$BadLocationStateException:
> found two last locations for the same extent a<:
> ip-10-1-2-26:9997[1430679035c00c6] and ip-10-1-2-14:9997[343067903a7005b]
> at
> org.apache.accumulo.server.master.state.MetaDataTableScanner.createTabletLocationState(MetaDataTableScanner.java:169)
> at
> org.apache.accumulo.server.master.state.MetaDataTableScanner.fetch(MetaDataTableScanner.java:188)
> ... 3 more
> 2013-12-18 19:16:58,359 [master.Master] ERROR: Error processing table state
> for store Normal Tablets
> java.lang.RuntimeException: scanner closed
> at
> org.apache.accumulo.core.client.impl.TabletServerBatchReaderIterator.hasNext(TabletServerBatchReaderIterator.java:212)
> at
> org.apache.accumulo.server.master.state.MetaDataTableScanner.hasNext(MetaDataTableScanner.java:117)
> at
> org.apache.accumulo.master.TabletGroupWatcher.run(TabletGroupWatcher.java:143)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.2#6252)