@@ -139,7 +139,7 @@ public class OHTable implements HTableInterface {
139
139
/**
140
140
* the buffer of put request
141
141
*/
142
- private final ArrayList <Put > writeBuffer = new ArrayList <Put >();
142
+ private final ArrayList <Put > writeBuffer = new ArrayList <Put >();
143
143
/**
144
144
* when the put request reach the write buffer size the do put will
145
145
* flush commits automatically
@@ -1080,13 +1080,13 @@ public List<ResultScanner> call() throws IOException {
1080
1080
1081
1081
request = buildObTableQueryAsyncRequest (obTableQuery ,
1082
1082
getTargetTableName (tableNameString ));
1083
+ request .setAllowDistributeScan (false );
1083
1084
String phyTableName = obTableClient .getPhyTableNameFromTableGroup (
1084
1085
request .getObTableQueryRequest (), tableNameString );
1085
1086
List <Partition > partitions = obTableClient .getPartition (phyTableName , false );
1086
1087
for (Partition partition : partitions ) {
1087
1088
request .getObTableQueryRequest ().setTableQueryPartId (
1088
1089
partition .getPartId ());
1089
- request .setAllowDistributeScan (false );
1090
1090
clientQueryAsyncStreamResult = (ObTableClientQueryAsyncStreamResult ) obTableClient
1091
1091
.execute (request );
1092
1092
ClientStreamScanner clientScanner = new ClientStreamScanner (
@@ -1106,6 +1106,7 @@ public List<ResultScanner> call() throws IOException {
1106
1106
String targetTableName = getTargetTableName (tableNameString , Bytes .toString (family ),
1107
1107
configuration );
1108
1108
request = buildObTableQueryAsyncRequest (obTableQuery , targetTableName );
1109
+ request .setAllowDistributeScan (false );
1109
1110
List <Partition > partitions = obTableClient
1110
1111
.getPartition (targetTableName , false );
1111
1112
for (Partition partition : partitions ) {
0 commit comments