- Java 8+
 
git clone ... cd aliyun-odps-java-sdk mvn clean package -DskipTests- you will have to configure there test.conf files in source tree:
 
odps-sdk-impl/odps-common-local/src/test/resources/test.conf odps-sdk-impl/odps-mapred-local/src/test/resources/test.conf odps-sdk-impl/odps-graph-local/src/test/resources/test.conf odps-sdk/odps-sdk-lot/src/main/java/com/aliyun/odps/lot/test/resources/test.conf odps-sdk/odps-sdk-core/src/test/resources/test.conf - in test.conf, set testMode to online, and set debugEnabled to false, and leave domain.*, taobao.* to empty
 mvn clean test
Account account = new AliyunAccount("YOUR_ACCESS_ID", "YOUR_ACCESS_KEY"); Odps odps = new Odps(account); // optional, the default endpoint is odps.setEndpoint("http://service.odps.aliyun.com/api"); odps.setDefaultProject("YOUR_PROJECT_NAME"); for (Table t : odps.tables()) { System.out.println(t.getName()); }licensed under the Apache License 2.0