@Override void start(Path bulkDir, Master master, long tid, boolean setTime) throws Exception { super.start(bulkDir, master, tid, setTime); timeInMillis = master.getConfiguration().getTimeInMillis(Property.MASTER_BULK_TIMEOUT); fmtTid = String.format("%016x", tid); loadMsgs = new MapCounter<>(); loadQueue = new HashMap<>(); }
@Override void start(Path bulkDir, Master master, long tid, boolean setTime) throws Exception { Preconditions.checkArgument(!setTime); super.start(bulkDir, master, tid, setTime); bw = master.getContext().createBatchWriter(MetadataTable.NAME); unloadingTablets = new MapCounter<>(); }
stateCounts = new MapCounter<>(); counts.put(tableID, stateCounts);
MapCounter<String> groupCounts = new MapCounter<>(); Map<TServerInstance,TserverGroupInfo> tservers = new HashMap<>();
MapCounter<TServerInstance> serversToFlush = new MapCounter<>(); long t1 = System.currentTimeMillis();
int holes = 0; Text continueRow = null; MapCounter<String> serverCounts = new MapCounter<>();
stateCounts = new MapCounter<>(); counts.put(tableID, stateCounts);
MapCounter<String> groupCounts = new MapCounter<>(); Map<TServerInstance,TserverGroupInfo> tservers = new HashMap<>();
MapCounter<TServerInstance> serversToFlush = new MapCounter<>(); Connector conn = master.getConnector();
int holes = 0; Text continueRow = null; MapCounter<String> serverCounts = new MapCounter<>();