Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,9 @@ static void initCluster(boolean isNamespaceMapped) throws Exception {
props.put(QueryServices.DROP_METADATA_ATTRIB, Boolean.TRUE.toString());
props.put(BaseScannerRegionObserverConstants.PHOENIX_MAX_LOOKBACK_AGE_CONF_KEY,
Integer.toString(60 * 60 * 1000)); // An hour
// In HBase 2.5, a master race can lose the wakeup that releases a snapshot table lock.
// A short lock timeout releases the lock before the client snapshot call times out.
props.put("hbase.master.procedure.local.master.locks.timeout.ms", Integer.toString(30000));
if (isNamespaceMapped) {
props.put(QueryServices.IS_NAMESPACE_MAPPING_ENABLED, Boolean.TRUE.toString());
}
Expand Down
Loading