Skip to content

Commit 7f3fc2d

Browse files
authored
Merge pull request #174 from WeBankFinTech/dev-0.8.0
Dev 0.8.0 has been developed and tested. It is requested to join the master branch and release the version.
2 parents 9f97984 + a93b5b5 commit 7f3fc2d

File tree

52 files changed

+1029
-106
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+1029
-106
lines changed

assembly/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<parent>
2323
<artifactId>dss</artifactId>
2424
<groupId>com.webank.wedatasphere.dss</groupId>
25-
<version>0.7.0</version>
25+
<version>0.8.0</version>
2626
</parent>
2727
<modelVersion>4.0.0</modelVersion>
2828

@@ -103,7 +103,7 @@
103103
<dependency>
104104
<groupId>com.fasterxml.jackson.core</groupId>
105105
<artifactId>jackson-core</artifactId>
106-
<version>2.9.6</version>
106+
<version>2.10.0</version>
107107
</dependency>
108108
<dependency>
109109
<groupId>net.databinder.dispatch</groupId>

bin/checkServices.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ MICRO_SERVICE_PORT=$3
3131

3232
local_host="`hostname --fqdn`"
3333

34-
ipaddr=$(ip addr | awk '/^[0-9]+: / {}; /inet.*global/ {print gensub(/(.*)\/(.*)/, "\\1", "g", $2)}')
34+
ipaddr=$(ip addr | awk '/^[0-9]+: / {}; /inet.*global/ {print gensub(/(.*)\/(.*)/, "\\1", "g", $2)}'|awk 'NR==1')
3535

3636
function isLocal(){
3737
if [ "$1" == "127.0.0.1" ];then

bin/install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ source ${DISTRIBUTION}
104104
isSuccess "load config"
105105

106106
local_host="`hostname --fqdn`"
107-
ipaddr=$(ip addr | awk '/^[0-9]+: / {}; /inet.*global/ {print gensub(/(.*)\/(.*)/, "\\1", "g", $2)}')
107+
ipaddr=$(ip addr | awk '/^[0-9]+: / {}; /inet.*global/ {print gensub(/(.*)\/(.*)/, "\\1", "g", $2)}'|awk 'NR==1')
108108

109109
function isLocal(){
110110
if [ "$1" == "127.0.0.1" ];then

bin/start-all.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ fi
4343
}
4444
local_host="`hostname --fqdn`"
4545

46-
ipaddr=$(ip addr | awk '/^[0-9]+: / {}; /inet.*global/ {print gensub(/(.*)\/(.*)/, "\\1", "g", $2)}')
46+
ipaddr=$(ip addr | awk '/^[0-9]+: / {}; /inet.*global/ {print gensub(/(.*)\/(.*)/, "\\1", "g", $2)}'|awk 'NR==1')
4747

4848
function isLocal(){
4949
if [ "$1" == "127.0.0.1" ];then

bin/stop-all.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export DISTRIBUTION=${DISTRIBUTION:-"${CONF_DIR}/config.sh"}
3434
source ${DISTRIBUTION}
3535

3636
local_host="`hostname --fqdn`"
37-
ipaddr=$(ip addr | awk '/^[0-9]+: / {}; /inet.*global/ {print gensub(/(.*)\/(.*)/, "\\1", "g", $2)}')
37+
ipaddr=$(ip addr | awk '/^[0-9]+: / {}; /inet.*global/ {print gensub(/(.*)\/(.*)/, "\\1", "g", $2)}'|awk 'NR==1')
3838

3939
function isSuccess(){
4040
if [ $? -ne 0 ]; then

conf/config.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,4 +77,4 @@ AZKABAN_ADRESS_PORT=8081
7777
QUALITIS_ADRESS_IP=127.0.0.1
7878
QUALITIS_ADRESS_PORT=8090
7979

80-
DSS_VERSION=0.7.0
80+
DSS_VERSION=0.8.0

datachecker-appjoint/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<parent>
2323
<artifactId>dss</artifactId>
2424
<groupId>com.webank.wedatasphere.dss</groupId>
25-
<version>0.7.0</version>
25+
<version>0.8.0</version>
2626
</parent>
2727
<modelVersion>4.0.0</modelVersion>
2828

datachecker-appjoint/src/main/java/com/webank/wedatasphere/dss/appjoint/schedulis/jobtype/connector/DataCheckerDao.java

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -158,8 +158,9 @@ private long getTotalCount(Map<String, String> proObjectMap, Connection conn, L
158158

159159
private PreparedStatement getStatement(Connection conn, String dataObject) throws SQLException {
160160
String dataScape = dataObject.contains("{") ? "Partition" : "Table";
161-
String dbName = dataObject.split("\\.")[0];
162-
String tableName = dataObject.split("\\.")[1];
161+
String[] dataObjectArray = dataObject.split("\\.");
162+
String dbName = dataObjectArray[0];
163+
String tableName = dataObjectArray[1];
163164
if(dataScape.equals("Partition")) {
164165
Pattern pattern = Pattern.compile("\\{([^\\}]+)\\}");
165166
Matcher matcher = pattern.matcher(dataObject);
@@ -174,11 +175,13 @@ private PreparedStatement getStatement(Connection conn, String dataObject) throw
174175
pstmt.setString(2, tableName);
175176
pstmt.setString(3, partitionName);
176177
return pstmt;
177-
} else {
178+
} else if(dataObjectArray.length == 2){
178179
PreparedStatement pstmt = conn.prepareCall(SQL_SOURCE_TYPE_JOB_TABLE);
179180
pstmt.setString(1, dbName);
180181
pstmt.setString(2, tableName);
181182
return pstmt;
183+
}else {
184+
throw new SQLException("Incorrect input format for dataObject "+ dataObject);
182185
}
183186
}
184187

docs/en_US/ch1/DataSphereStudio_Compile_Manual.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66

77
```xml
88
<properties>
9-
<dss.version>0.7.0</dss.version>
10-
<linkis.version>0.9.3</linkis.version>
9+
<dss.version>0.8.0</dss.version>
10+
<linkis.version>0.9.4</linkis.version>
1111
<scala.version>2.11.8</scala.version>
1212
<jdk.compile.version>1.8</jdk.compile.version>
1313
<maven.version>3.3.3</maven.version>

docs/en_US/ch2/Azkaban_LinkisJobType_Deployment_Manual.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
33

44
## 1. Ready work
5-
1.Click [release](https://github.com/WeBankFinTech/DataSphereStudio/releases/download/0.7.0/linkis-jobtype-0.7.0.zip) to select the corresponding installation package to download:
5+
1.Click [release](https://github.com/WeBankFinTech/DataSphereStudio/releases/download/0.8.0/linkis-jobtype-0.8.0.zip) to select the corresponding installation package to download:
66

77
- linkis-jobtype-$version.zip
88

0 commit comments

Comments
 (0)