Skip to content

Commit 0e82f76

Browse files
authored
Add IllegalStateException to TabletMetadata class (apache#4213)
Add an IllegalStateException to the TabletMetadata class in instances where an unexpected TabletColumnFamily qualifier is used.
1 parent 76e7529 commit 0e82f76

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

core/src/main/java/org/apache/accumulo/core/metadata/schema/TabletMetadata.java

+2
Original file line numberDiff line numberDiff line change
@@ -459,6 +459,8 @@ public static <E extends Entry<Key,Value>> TabletMetadata convertRow(Iterator<E>
459459
case REQUESTED_QUAL:
460460
te.onDemandHostingRequested = true;
461461
break;
462+
default:
463+
throw new IllegalStateException("Unexpected TabletColumnFamily qualifier: " + qual);
462464
}
463465
break;
464466
case ServerColumnFamily.STR_NAME:

0 commit comments

Comments
 (0)