Skip to content

Commit 3334d59

Browse files
authored
Merge pull request #204 from WeiXinChan/hbase_2.0
update distributed execution switch
2 parents 1856fd8 + 4cec101 commit 3334d59

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/test/java/com/alipay/oceanbase/hbase/util/ObHTableSecondaryPartUtil.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,14 @@
3232

3333
public class ObHTableSecondaryPartUtil {
3434
public static void openDistributedExecute() throws Exception {
35-
Connection conn = ObHTableTestUtil.getSysConnection();
36-
String stmt = "ALTER SYSTEM SET _obkv_feature_mode = 'distributed_execute=on';";
35+
Connection conn = ObHTableTestUtil.getConnection();
36+
String stmt = "ALTER SYSTEM SET _obkv_enable_distributed_execution = true;";
3737
conn.createStatement().execute(stmt);
3838
}
3939

4040
public static void closeDistributedExecute() throws Exception {
41-
Connection conn = ObHTableTestUtil.getSysConnection();
42-
String stmt = "ALTER SYSTEM SET _obkv_feature_mode = 'distributed_execute=off';";
41+
Connection conn = ObHTableTestUtil.getConnection();
42+
String stmt = "ALTER SYSTEM SET _obkv_enable_distributed_execution = false;";
4343
conn.createStatement().execute(stmt);
4444
}
4545

0 commit comments

Comments
 (0)