HBASE-19538 Removed unnecessary semicolons in hbase-client
This commit is contained in:
parent
0f8ea39a5b
commit
dd00081c26
|
@ -483,6 +483,6 @@ public class ClusterStatus {
|
|||
BACKUP_MASTERS, /** status about backup masters */
|
||||
MASTER_COPROCESSORS, /** status about master coprocessors */
|
||||
REGIONS_IN_TRANSITION, /** status about regions in transition */
|
||||
MASTER_INFO_PORT; /** master info port **/
|
||||
MASTER_INFO_PORT /** master info port **/
|
||||
}
|
||||
}
|
||||
|
|
|
@ -332,7 +332,7 @@ public class MetaTableAccessor {
|
|||
parsedInfo = parseRegionInfoFromRegionName(regionName);
|
||||
row = getMetaKeyForRegion(parsedInfo);
|
||||
} catch (Exception parseEx) {
|
||||
; // Ignore. This is used with tableName passed as regionName.
|
||||
// Ignore. This is used with tableName passed as regionName.
|
||||
}
|
||||
Get get = new Get(row);
|
||||
get.addFamily(HConstants.CATALOG_FAMILY);
|
||||
|
|
|
@ -16,6 +16,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
package org.apache.hadoop.hbase.client;
|
||||
|
||||
import org.apache.yetus.audience.InterfaceAudience;
|
||||
|
||||
/**
|
||||
|
@ -23,5 +24,5 @@ import org.apache.yetus.audience.InterfaceAudience;
|
|||
*/
|
||||
@InterfaceAudience.Public
|
||||
public enum CompactionState {
|
||||
NONE, MINOR, MAJOR, MAJOR_AND_MINOR;
|
||||
NONE, MINOR, MAJOR, MAJOR_AND_MINOR
|
||||
}
|
||||
|
|
|
@ -3082,7 +3082,7 @@ public class HBaseAdmin implements Admin {
|
|||
CoprocessorRpcUtils.getCoprocessorServiceRequest(method, request);
|
||||
return this.master.execMasterService(getRpcController(), csr);
|
||||
}
|
||||
};) {
|
||||
}) {
|
||||
// TODO: Are we retrying here? Does not seem so. We should use RetryingRpcCaller
|
||||
callable.prepare(false);
|
||||
int operationTimeout = connection.getConnectionConfiguration().getOperationTimeout();
|
||||
|
@ -3619,7 +3619,7 @@ public class HBaseAdmin implements Admin {
|
|||
return "Operation: " + getOperationType() + ", "
|
||||
+ "Table Name: " + tableName.getNameWithNamespaceInclAsString();
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
protected abstract class TableWaitForStateCallable implements WaitForStateCallable {
|
||||
@Override
|
||||
|
|
|
@ -16,6 +16,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
package org.apache.hadoop.hbase.client;
|
||||
|
||||
import org.apache.yetus.audience.InterfaceAudience;
|
||||
|
||||
/**
|
||||
|
@ -23,5 +24,5 @@ import org.apache.yetus.audience.InterfaceAudience;
|
|||
*/
|
||||
@InterfaceAudience.Public
|
||||
public enum SnapshotType {
|
||||
DISABLED, FLUSH, SKIPFLUSH;
|
||||
DISABLED, FLUSH, SKIPFLUSH
|
||||
}
|
||||
|
|
|
@ -57,5 +57,4 @@ public enum SecurityCapability {
|
|||
throw new IllegalArgumentException("Unknown SecurityCapability value " + value);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
}
|
||||
|
|
|
@ -41,5 +41,5 @@ public enum SpaceViolationPolicy {
|
|||
/**
|
||||
* Disallows any updates (but allows deletes and compactions) on the table(s).
|
||||
*/
|
||||
NO_INSERTS;
|
||||
NO_INSERTS
|
||||
}
|
||||
|
|
|
@ -67,7 +67,7 @@ public class ThrottlingException extends QuotaExceededException {
|
|||
int index = msg.indexOf(MSG_TYPE[i]);
|
||||
if (index >= 0) {
|
||||
String waitTimeStr = msg.substring(index + MSG_TYPE[i].length() + MSG_WAIT.length());
|
||||
type = Type.values()[i];;
|
||||
type = Type.values()[i];
|
||||
waitInterval = timeFromString(waitTimeStr);
|
||||
break;
|
||||
}
|
||||
|
|
|
@ -659,7 +659,7 @@ public class TestAsyncProcess {
|
|||
|
||||
MyAsyncProcess ap = new MyAsyncProcess(conn, CONF, true);
|
||||
BufferedMutatorParams bufferParam = createBufferedMutatorParams(ap, DUMMY_TABLE);
|
||||
try (BufferedMutatorImpl mutator = new BufferedMutatorImpl(conn, bufferParam, ap);) {
|
||||
try (BufferedMutatorImpl mutator = new BufferedMutatorImpl(conn, bufferParam, ap)) {
|
||||
mutator.mutate(puts);
|
||||
mutator.flush();
|
||||
List<AsyncRequestFuture> reqs = ap.allReqs;
|
||||
|
|
Loading…
Reference in New Issue