Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
dinky
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangpeng
dinky
Commits
6e36d765
Unverified
Commit
6e36d765
authored
Feb 01, 2024
by
ZackYoung
Committed by
GitHub
Feb 01, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[BugFix][Flink]fix some python bug (#3124)
parent
e37cca58
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
11 deletions
+9
-11
FlinkConfClass
dinky-admin/src/main/resources/dinky-loader/FlinkConfClass
+1
-0
Submitter.java
...-base/src/main/java/org/dinky/app/flinksql/Submitter.java
+3
-9
PythonOptions.java
.../src/main/java/org/apache/flink/python/PythonOptions.java
+0
-0
pom.xml
dinky-common/pom.xml
+0
-1
pom.xml
pom.xml
+5
-1
No files found.
dinky-admin/src/main/resources/dinky-loader/FlinkConfClass
View file @
6e36d765
...
@@ -28,4 +28,5 @@ org.apache.flink.configuration.RestartStrategyOptions
...
@@ -28,4 +28,5 @@ org.apache.flink.configuration.RestartStrategyOptions
org.apache.flink.streaming.api.environment.ExecutionCheckpointingOptions
org.apache.flink.streaming.api.environment.ExecutionCheckpointingOptions
org.apache.flink.yarn.configuration.YarnConfigOptions
org.apache.flink.yarn.configuration.YarnConfigOptions
org.apache.flink.kubernetes.configuration.KubernetesConfigOptions
org.apache.flink.kubernetes.configuration.KubernetesConfigOptions
org.apache.flink.python.PythonOptions
org.dinky.constant.CustomerConfigureOptions
org.dinky.constant.CustomerConfigureOptions
dinky-app/dinky-app-base/src/main/java/org/dinky/app/flinksql/Submitter.java
View file @
6e36d765
...
@@ -179,17 +179,11 @@ public class Submitter {
...
@@ -179,17 +179,11 @@ public class Submitter {
String
usrlib
=
flinkHome
+
"/usrlib"
;
String
usrlib
=
flinkHome
+
"/usrlib"
;
FileUtils
.
forceMkdir
(
new
File
(
usrlib
));
FileUtils
.
forceMkdir
(
new
File
(
usrlib
));
String
depZip
=
flinkHome
+
"/dep.zip"
;
String
depZip
=
flinkHome
+
"/dep.zip"
;
boolean
exists
=
downloadFile
(
httpJar
,
depZip
);
if
(
exists
)
{
String
depPath
=
flinkHome
+
"/dep"
;
String
depPath
=
flinkHome
+
"/dep"
;
downloadFile
(
httpJar
,
depZip
);
if
(
FileUtil
.
exist
(
depPath
))
{
ZipUtils
.
unzip
(
depZip
,
depPath
);
ZipUtils
.
unzip
(
depZip
,
depPath
);
log
.
info
(
log
.
info
(
"download dep success, include :{}"
,
String
.
join
(
","
,
FileUtil
.
listFileNames
(
depPath
)));
"download dep success, include :{}"
,
Arrays
.
stream
(
FileUtil
.
file
(
depPath
).
listFiles
())
.
map
(
File:
:
getName
)
.
collect
(
Collectors
.
joining
(
",\n"
)));
// move all jar
// move all jar
if
(
FileUtil
.
isDirectory
(
depPath
+
"/jar/"
))
{
if
(
FileUtil
.
isDirectory
(
depPath
+
"/jar/"
))
{
FileUtil
.
listFileNames
(
depPath
+
"/jar"
).
forEach
(
f
->
{
FileUtil
.
listFileNames
(
depPath
+
"/jar"
).
forEach
(
f
->
{
...
...
dinky-client/dinky-client-base/src/main/java/org/apache/flink/python/PythonOptions.java
0 → 100644
View file @
6e36d765
This diff is collapsed.
Click to expand it.
dinky-common/pom.xml
View file @
6e36d765
...
@@ -34,7 +34,6 @@
...
@@ -34,7 +34,6 @@
<dependency>
<dependency>
<groupId>
com.google.auto.service
</groupId>
<groupId>
com.google.auto.service
</groupId>
<artifactId>
auto-service
</artifactId>
<artifactId>
auto-service
</artifactId>
<version>
1.1.1
</version>
</dependency>
</dependency>
<dependency>
<dependency>
<groupId>
com.amazonaws
</groupId>
<groupId>
com.amazonaws
</groupId>
...
...
pom.xml
View file @
6e36d765
...
@@ -671,7 +671,11 @@
...
@@ -671,7 +671,11 @@
<artifactId>
spring-boot-starter-data-ldap
</artifactId>
<artifactId>
spring-boot-starter-data-ldap
</artifactId>
<version>
${spring.ldap.version}
</version>
<version>
${spring.ldap.version}
</version>
</dependency>
</dependency>
<dependency>
<groupId>
com.google.auto.service
</groupId>
<artifactId>
auto-service
</artifactId>
<version>
1.1.1
</version>
</dependency>
</dependencies>
</dependencies>
</dependencyManagement>
</dependencyManagement>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment