-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from WeBankFinTech/master
拉代码
- Loading branch information
Showing
76 changed files
with
2,570 additions
and
213 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
*.js linguist-language=java | ||
*.css linguist-language=java | ||
*.html linguist-language=java | ||
*.vue linguist-language=java |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
## 1. Compile DSS: | ||
|
||
After getting the project code from git, use Maven to package the project installation package。 | ||
|
||
(1) You can modify the versions of linkis, Java, Scala, Maven and other software in the top-level pom.xml file to adapt to your company's environment, as follows: | ||
|
||
```xml | ||
<properties> | ||
<dss.version>0.6.0</dss.version> | ||
<linkis.version>0.9.1</linkis.version> | ||
<scala.version>2.11.8</scala.version> | ||
<jdk.compile.version>1.8</jdk.compile.version> | ||
<maven.version>3.3.3</maven.version> | ||
</properties> | ||
``` | ||
|
||
(2) **If you are using pom.xml locally for the first time, you must execute the following command in the directory of the outermost project pom.xml**: | ||
|
||
```bash | ||
mvn -N install | ||
``` | ||
|
||
(3) Execute the following command in the directory of the outermost project pom.xml | ||
|
||
```bash | ||
mvn clean install | ||
``` | ||
|
||
(4) Obtain the installation package in the assembly - > target directory of the project: | ||
|
||
``` | ||
wedatasphere-dss-x.x.x-dist.tar.gz | ||
``` | ||
|
||
## 2.Compile a single service | ||
|
||
After getting the project code from git, use Maven to package the project installation package. | ||
|
||
(1) **If you are using pom.xml locally for the first time, you must execute the following command in the directory of the outermost project pom.xml**: | ||
|
||
```bash | ||
mvn -N install | ||
``` | ||
(2) Jump to the corresponding module through the command line in terminal, for example: | ||
|
||
```bash | ||
cd dss-server | ||
``` | ||
|
||
(3) Execute the compilation command under the pom.xml directory corresponding to the module: | ||
|
||
```bash | ||
mvn clean install | ||
``` | ||
(4) Get the installation package. There will be compiled packages in the target directory of the corresponding module: | ||
|
||
``` | ||
dss-server.zip | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
> This article mainly explains the automatic deployment and installation steps of Linkis's Azkaban's jobType. For manual installation, please refer to Azkaban's jobType [installation steps](https://azkaban.github.io/azkaban/docs/latest/#job-types) | ||
|
||
## 1. Ready work | ||
1.Click [release](https://github.com/WeBankFinTech/DataSphereStudio/releases/download/0.6.0/linkis-jobtype-0.6.0.zip) to select the corresponding installation package to download: | ||
|
||
- linkis-jobtype-$version.zip | ||
|
||
2.Extract the installation package | ||
``` | ||
unzip linkis-jobtype-$version.zip | ||
``` | ||
## 2. Change setting | ||
1.Enter the bin directory: | ||
|
||
``` | ||
cd linkis/bin/ | ||
``` | ||
2.Change setting: | ||
``` | ||
##Linkis gateway url | ||
LINKIS_GATEWAY_URL=http://127.0.0.1:9001 ## Linkis' GateWay address | ||
##Linkis gateway token defaultWS-AUTH | ||
LINKIS_GATEWAY_TOKEN=WS-AUTH ## Linkis proxy token, this parameter can use the default | ||
##Azkaban executor host | ||
AZKABAN_EXECUTOR_HOST=127.0.0.1 ## AZKABAN actuator machine IP | ||
### SSH Port | ||
SSH_PORT=22 ## SSH port | ||
##Azkaban executor dir | ||
AZKABAN_EXECUTOR_DIR=/tmp/Install/AzkabanInstall/executor ## The installation directory of the actuator | ||
##Azkaban executor plugin reload url (请注意:Azkaban的执行器地址,不是Azkaban的webServer地址) | ||
AZKABAN_EXECUTOR_URL=http://127.0.0.1:12321/executor?action=reloadJobTypePlugins ##Only need to modify the IP and port here | ||
``` | ||
## 3. Execute the installation script | ||
``` | ||
sh install.sh | ||
``` | ||
If the installation is successful, it will print: | ||
```{"status":"success"}``` | ||
|
Oops, something went wrong.