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
417c5b96
Unverified
Commit
417c5b96
authored
May 15, 2024
by
gaoyan
Committed by
GitHub
May 15, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Bug]fix flink 1.19 app mode (#3490)
parent
3c52eadf
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
6 deletions
+7
-6
YarnClusterDescriptor.java
...ain/java/org/apache/flink/yarn/YarnClusterDescriptor.java
+5
-2
ClusterDescriptorAdapterImpl.java
...java/org/dinky/executor/ClusterDescriptorAdapterImpl.java
+1
-3
pom.xml
dinky-flink/dinky-flink-1.19/pom.xml
+1
-1
No files found.
dinky-client/dinky-client-1.19/src/main/java/org/apache/flink/yarn/YarnClusterDescriptor.java
View file @
417c5b96
...
...
@@ -267,8 +267,11 @@ public class YarnClusterDescriptor implements ClusterDescriptor<ApplicationId> {
}
private
String
getDecodedJarPath
()
{
final
String
encodedJarPath
=
getClass
().
getProtectionDomain
().
getCodeSource
().
getLocation
().
getPath
();
final
String
encodedJarPath
=
YarnClusterClientFactory
.
class
.
getProtectionDomain
()
.
getCodeSource
()
.
getLocation
()
.
getPath
();
try
{
return
URLDecoder
.
decode
(
encodedJarPath
,
Charset
.
defaultCharset
().
name
());
}
catch
(
UnsupportedEncodingException
e
)
{
...
...
dinky-client/dinky-client-1.19/src/main/java/org/dinky/executor/ClusterDescriptorAdapterImpl.java
View file @
417c5b96
...
...
@@ -41,9 +41,7 @@ public class ClusterDescriptorAdapterImpl extends ClusterDescriptorAdapter {
@Override
public
void
addShipFiles
(
List
<
File
>
shipFiles
)
{
yarnClusterDescriptor
.
addShipFiles
(
shipFiles
.
stream
()
.
map
(
file
->
{
return
new
Path
(
file
.
getPath
());
})
.
map
(
file
->
new
Path
(
"file://"
+
file
.
getPath
()))
.
collect
(
Collectors
.
toList
()));
}
...
...
dinky-flink/dinky-flink-1.19/pom.xml
View file @
417c5b96
...
...
@@ -15,7 +15,7 @@
<name>
Dinky : Flink 1.19
</name>
<properties>
<commons.version>
1.
3.1
</commons.version>
<commons.version>
1.
5.0
</commons.version>
<flink.shaded.version>
17.0
</flink.shaded.version>
<flink.version>
1.19.0
</flink.version>
<flinkcdc.version>
3.0.1
</flinkcdc.version>
...
...
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