srinireddy2020 commented on code in PR #7975:
URL: https://github.com/apache/hbase/pull/7975#discussion_r2995435568


##########
hbase-mapreduce/src/main/java/org/apache/hadoop/hbase/mapreduce/TableSnapshotInputFormatImpl.java:
##########
@@ -424,74 +424,76 @@ public static List<InputSplit> getSplits(Scan scan, 
SnapshotManifest manifest,
 
     Connection connection = null;
     RegionLocator regionLocator = null;
-    if (localityEnabled && useRegionLoc) {
-      Configuration newConf = new Configuration(conf);
-      newConf.setInt("hbase.hconnection.threads.max", 1);
-      try {
+    List<InputSplit> splits = new ArrayList<>();
+    try {

Review Comment:
   Based on condition only resources are initializing.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to