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
3da80733
Unverified
Commit
3da80733
authored
Mar 15, 2024
by
Zzm0809
Committed by
GitHub
Mar 15, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Optimization] Optimization start scripts (#3296)
parent
d3e0a357
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
auto.sh
script/bin/auto.sh
+2
-2
No files found.
script/bin/auto.sh
View file @
3da80733
...
@@ -12,7 +12,7 @@ JAR_NAME="dinky-admin"
...
@@ -12,7 +12,7 @@ JAR_NAME="dinky-admin"
if
[
-z
"
${
FLINK_VERSION
}
"
]
;
then
if
[
-z
"
${
FLINK_VERSION
}
"
]
;
then
# Obtain the Flink version under EXTENDSHOME, only perform recognition and do not perform any other operations, for prompt purposes
# Obtain the Flink version under EXTENDSHOME, only perform recognition and do not perform any other operations, for prompt purposes
FLINK_VERSION_SCAN
=
$(
l
s
${
EXTENDS_HOME
}
|
grep
flink |
awk
-F
'flink'
'{print $2}'
)
FLINK_VERSION_SCAN
=
$(
l
l
${
EXTENDS_HOME
}
|
grep
'^d'
|
grep
flink |
awk
-F
'flink'
'{print $2}'
)
# If FLINK_VERSION-SCAN is not empty, assign FLINK_VERSION-SCAN to FLINK_VERSION
# If FLINK_VERSION-SCAN is not empty, assign FLINK_VERSION-SCAN to FLINK_VERSION
if
[
-n
"
${
FLINK_VERSION_SCAN
}
"
]
;
then
if
[
-n
"
${
FLINK_VERSION_SCAN
}
"
]
;
then
FLINK_VERSION
=
${
FLINK_VERSION_SCAN
}
FLINK_VERSION
=
${
FLINK_VERSION_SCAN
}
...
@@ -29,7 +29,7 @@ assertIsInputVersion() {
...
@@ -29,7 +29,7 @@ assertIsInputVersion() {
}
}
# Use FLINK_HOME:
# Use FLINK_HOME:
CLASS_PATH
=
"
${
APP_HOME
}
:
${
APP_HOME
}
/lib/*:
${
APP_HOME
}
/config:
${
EXTENDS_HOME
}
/*:
${
EXTENDS_HOME
}
/flink
${
FLINK_VERSION
}
/dinky/*:
${
EXTENDS_HOME
}
/flink
${
FLINK_VERSION
}
/*"
CLASS_PATH
=
"
${
APP_HOME
}
:
${
APP_HOME
}
/lib/*:
${
APP_HOME
}
/config:
${
EXTENDS_HOME
}
/*:
${
APP_HOME
}
/customJar/*:
${
EXTENDS_HOME
}
/flink
${
FLINK_VERSION
}
/dinky/*:
${
EXTENDS_HOME
}
/flink
${
FLINK_VERSION
}
/*"
PID_FILE
=
"dinky.pid"
PID_FILE
=
"dinky.pid"
# JMX path
# JMX path
...
...
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