accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Keith Turner (JIRA)" <>
Subject [jira] [Commented] (ACCUMULO-335) Batch scanning over the !METADATA table can cause issues
Date Mon, 28 Jan 2013 21:35:12 GMT


Keith Turner commented on ACCUMULO-335:

An exception like the following will show up in 1.4 when you run into this issue.  

root@test14> grep -t !METADATA -nt 1 time
28 16:25:45,753 [impl.TabletServerBatchReaderIterator] WARN : multiple extent types not allowed
java.lang.IllegalArgumentException: multiple extent types not allowed METADATA ROOT
	at org.apache.accumulo.core.client.impl.TabletType.type(
	at org.apache.accumulo.core.client.impl.TabletServerBatchReaderIterator.doLookup(
	at org.apache.accumulo.core.client.impl.TabletServerBatchReaderIterator$
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(
	at java.util.concurrent.ThreadPoolExecutor$

A workaround is to scan the root tablet and metadata tablets separately as follows :

root@test14> grep -t !METADATA -e !0< time
!0;~ srv:time []    L3
!0< srv:time []    L0
root@test14> grep -t !METADATA -b 0 time
1< srv:time []    M0

> Batch scanning over the !METADATA table can cause issues
> --------------------------------------------------------
>                 Key: ACCUMULO-335
>                 URL:
>             Project: Accumulo
>          Issue Type: Bug
>          Components: client, tserver
>    Affects Versions: 1.4.0
>            Reporter: John Vines
>            Assignee: Keith Turner
> If you batch scan over the !METADATA table and have a tserver hosting both the root tablet
and a metadata tablet, then you you will get an error. The quick fix is to specify a range.
We should fix this in the long term. Perhaps this is a good reason to finally split the root
tablet into it's own table?

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message