Toggle navigation
Home
java.lang.IndexOutOfBoundsException to java.io.IOException
No. of Instances - 1
No. of Commits - 1
No. of Projects - {'hbase'}
Hierarchy/Composition: SIBLING
Primitive Info: -
NameSpace: Jdk -> Jdk
Mapping:
Cascading Type Change (Similar)
Waiter.Predicate<Exception>
to
ExplainingPredicate<IOException>
Update Anonymous class
{ @Override public boolean evaluate() throws Exception { return getHBaseAdmin().isTableEnabled(tableName); } }
to
{ @Override public String explainFailure() throws IOException { return explainTableState(tableName,TableState.State.ENABLED); } @Override public boolean evaluate() throws IOException { return getHBaseAdmin().tableExists(tableName) && getHBaseAdmin().isTableEnabled(tableName); } }