Skip to content

Commit 059a647

Browse files
committed
checkstyle fixes
1 parent b20447f commit 059a647

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

phoenix-core-server/src/main/java/org/apache/phoenix/coprocessor/MetaDataRegionObserver.java

+4-2
Original file line numberDiff line numberDiff line change
@@ -677,7 +677,8 @@ public static PhoenixConnection getRebuildIndexConnection(Configuration config)
677677
public static boolean tableRegionsOnline(Configuration conf, PTable table) {
678678
try (Connection hcon = ConnectionFactory.createConnection(conf)) {
679679
Admin admin = hcon.getAdmin();
680-
List<RegionInfo> regionInfos = admin.getRegions(TableName.valueOf(table.getPhysicalName().getBytes()));
680+
List<RegionInfo> regionInfos = admin.getRegions(TableName.valueOf(
681+
table.getPhysicalName().getBytes()));
681682
// This makes Number of Regions RPC calls sequentially.
682683
// For large tables this can be slow.
683684
for (RegionInfo regionInfo : regionInfos) {
@@ -692,7 +693,8 @@ public static boolean tableRegionsOnline(Configuration conf, PTable table) {
692693
// very hard (needs reflection, or a bridge class in the same package),
693694
// and it's not necessary for checking the RS liveness
694695
} catch (IOException e) {
695-
LOGGER.debug("Cannot get region " + regionInfo.getEncodedName() + " info due to error:" + e);
696+
LOGGER.debug("Cannot get region " + regionInfo.getEncodedName()
697+
+ " info due to error:" + e);
696698
return false;
697699
}
698700
}

0 commit comments

Comments
 (0)