Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
ipgallery
/
devops
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Registry
Issues
0
Merge Requests
0
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
ecbcdda3
authored
Apr 14, 2020
by
amira
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
submit flink job an ssh
parent
9e3b4ed8
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
0 deletions
common/docs/UsefulCommands.txt
common/docs/knowledgeBase/submit-flink-job.txt
common/docs/UsefulCommands.txt
View file @
ecbcdda3
[adding your ssh key to a remote server]
[adding your ssh key to a remote server]
create public key:
ssh-keygen -t rsa
copy it:
cat ~/.ssh/id_rsa.pub | ssh root@[ip/domain] "cat >> ~/.ssh/authorized_keys"
cat ~/.ssh/id_rsa.pub | ssh root@[ip/domain] "cat >> ~/.ssh/authorized_keys"
[install R]
[install R]
...
...
common/docs/knowledgeBase/submit-flink-job.txt
0 → 100644
View file @
ecbcdda3
# SUBMIT FLINK JOB
1 copy the job jar to /opt/mcx/config/flink/jobs/ or wget from archiva
e.g wget https://municipalitybank.com:8081/repository/internal/com/ipgallery/esp/activities-cep-job/1.0.2/activities-cep-job-1.0.2-all.jar
2 go to /opt/mcx/config/flink/jobs/
3 copy the job jar to flink jobmanager instance and start it:
$ JOBMANAGER_CONTAINER=$(docker ps --filter name=jobmanager --format={{.ID}})
$ docker cp path/to/jar "$JOBMANAGER_CONTAINER":/job.jar
$ docker exec -t -i "$JOBMANAGER_CONTAINER" flink run /job.jar
4 prey (;-)
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