Skip to content

Commit dc2419e

Browse files
committed
remove brace and format
1 parent c7f1040 commit dc2419e

File tree

1 file changed

+12
-11
lines changed
  • server/manager/src/main/java/org/apache/accumulo/manager/tableOps/bulkVer2

1 file changed

+12
-11
lines changed

server/manager/src/main/java/org/apache/accumulo/manager/tableOps/bulkVer2/LoadFiles.java

+12-11
Original file line numberDiff line numberDiff line change
@@ -215,8 +215,9 @@ private void sendQueued(int threshhold) {
215215
tabletFiles.values().stream().mapToInt(Map::size).sum(), tabletFiles.size());
216216
}
217217

218-
// Tablet servers process tablets serially and perform a single metadata table write for each tablet.
219-
// Break the work into per-tablet chunks so it can be sent over multiple connections
218+
// Tablet servers process tablets serially and perform a single metadata table write for
219+
// each tablet.
220+
// Break the work into per-tablet chunks so it can be sent over multiple connections
220221
// to the tserver, allowing each chunk to be run in parallel on the server side.
221222
// This allows multiple threads on a single tserver to do metadata writes for this bulk
222223
// import.
@@ -259,20 +260,20 @@ private void sendQueued(int threshhold) {
259260
} catch (TException ex) {
260261
String additionalInfo = "";
261262
if (ex instanceof TApplicationException && ((TApplicationException) ex).getType()
262-
== TApplicationException.UNKNOWN_METHOD) {
263-
// A new RPC method was added in 2.1.4, a tserver running 2.1.3 or earlier will
264-
// not have this RPC. This should not kill the fate operation, it can wait until
265-
// all tablet servers are upgraded.
266-
outdatedTservers++;
267-
additionalInfo = " (tserver may be running older version)";
268-
}
263+
== TApplicationException.UNKNOWN_METHOD) {
264+
// A new RPC method was added in 2.1.4, a tserver running 2.1.3 or earlier will
265+
// not have this RPC. This should not kill the fate operation, it can wait until
266+
// all tablet servers are upgraded.
267+
outdatedTservers++;
268+
additionalInfo = " (tserver may be running older version)";
269269
}
270-
log.debug("rpc recv failed server{}: {}, {}", additionalInfo, client.server, fmtTid, ex);
270+
log.debug("rpc recv failed server{}: {}, {}", additionalInfo, client.server, fmtTid,
271+
ex);
271272
}
272273
}
273274

274275
if (outdatedTservers > 0) {
275-
log.info(
276+
log.warn(
276277
"{} can not proceed with bulk import because {} tablet servers are likely running "
277278
+ "an older version. Please update tablet servers to same patch level as manager.",
278279
fmtTid, outdatedTservers);

0 commit comments

Comments
 (0)