Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Port changes of [#12233] to branch-2.4 #12309

Merged
merged 1 commit into from
Oct 15, 2020

Conversation

alluxio-bot
Copy link
Contributor

This solves the issue related to docker-library/openjdk#76
In a container based on java alpine, commands like jmap, jstack don't work, and the pid of alluxio processes like AlluxioWorker is 1.

Before:

bash-4.4$ jps
1 AlluxioMaster
904 Jps
bash-4.4$ jstack 1
1: Unable to get pid of LinuxThreads manager thread

After:

bash-4.4# jps
357 Jps
6 AlluxioWorker
# And jstack will work

[This is an auto-generated PR to cherry-pick committed PR #12233 into target branch branch-2.4]

This solves the issue related to
docker-library/openjdk#76
In a container based on java alpine, commands like `jmap`, `jstack`
don't work, and the pid of alluxio processes like `AlluxioWorker` is 1.

Before:
```
bash-4.4$ jps
1 AlluxioMaster
904 Jps
bash-4.4$ jstack 1
1: Unable to get pid of LinuxThreads manager thread
```

After:
```
bash-4.4# jps
357 Jps
6 AlluxioWorker
# And jstack will work
```

pr-link: #12233
change-id: cid-e60f913ec30d1718142d1311eb97e4f44b568973
@jiacheliu3
Copy link
Contributor

alluxio-bot, merge this please

@alluxio-bot alluxio-bot merged commit af350de into branch-2.4 Oct 15, 2020
@alluxio-bot
Copy link
Contributor Author

Temporary cherry-pick branch temp-cp-branch-branch-2.4-20201014-203742 successfully merged into branch-2.4 and deleted.

@alluxio-bot alluxio-bot deleted the temp-cp-branch-branch-2.4-20201014-203742 branch October 15, 2020 04:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants