|
@@ -34,8 +34,10 @@ import java.util.Map;
|
|
|
public class ODPSService {
|
|
|
private final String accessId = "LTAIWYUujJAm7CbH";
|
|
|
private final String accessKey = "RfSjdiWwED1sGFlsjXv0DlfTnZTG1P";
|
|
|
- private final String odpsUrl = "http://service.odps.aliyun.com/api";
|
|
|
- private final String tunnelUrl = "http://dt.cn-hangzhou.maxcompute.aliyun.com";
|
|
|
+ // private final String odpsUrl = "http://service.odps.aliyun.com/api";
|
|
|
+// private final String tunnelUrl = "http://dt.cn-hangzhou.maxcompute.aliyun.com";
|
|
|
+ private final String odpsUrl = "http://service.cn-hangzhou-vpc.maxcompute.aliyun-inc.com/api";
|
|
|
+ private final String tunnelUrl = "http://dt.cn-hangzhou-vpc.maxcompute.aliyun-inc.com";
|
|
|
private final String sqlFormat = "select %s from %s where 1=1 %s ;";
|
|
|
private final String countSqlFormat = "select count(1) as count from %s where 1=1 %s ;";
|
|
|
|