-
-
Notifications
You must be signed in to change notification settings - Fork 7
Disable restart controller #751
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
Open
maltesander
wants to merge
6
commits into
main
Choose a base branch
from
fix/disable-restart-controller
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
0bbcd92
add waring to format-namenode script
maltesander 81628d2
wip
maltesander 65660c2
adapted changelog
maltesander b63c5ea
remove pr ref for restart enable
maltesander 69788a9
Update docs/modules/hdfs/pages/reference/troubleshooting.adoc
maltesander 63a2072
precommit
maltesander File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,27 @@ | ||
| = Troubleshooting | ||
|
|
||
| [#init-container-format-namenode-fails] | ||
| == Init container format-namenodes fails | ||
|
|
||
| When creating fresh HDFS clusters, unexpected pod restarts might corrupt the initial namenode formatting. | ||
| This leaves the namenode data PVC in a dangling state, where e.g. the `../current/VERSION` file is created, but `../current/fsimage_xxx` files are missing. | ||
|
|
||
| After a restart corrupted the namenode formatting, reformatting again fails due to directories and files existing. | ||
| We do not want to force (override) the formatting process to avoid data loss and other implications. | ||
|
|
||
| [source] | ||
| ---- | ||
| Running in non-interactive mode, and data appears to exist in Storage Directory root= /stackable/data/namenode; location= null. Not formatting. | ||
| ---- | ||
|
|
||
| Another error message indicating a corrupt formatting state appears in the namenode main container during startup. | ||
|
|
||
| [source] | ||
| ---- | ||
| java.io.FileNotFoundException: No valid image files found | ||
| ---- | ||
|
|
||
| WARNING: The following fix should only be applied to fresh clusters. For existing clusters please consider support. | ||
|
|
||
| 1. Remove the PVC called `data-<cluster-name>-namenode-<rolegroup>-0` for a failed namenode 0. | ||
| 2. Restart the namenode afterwards. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We could leave this code in (commented).
At the very least IMHO we should add a TODO pointing to the issue
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I thought about it, but its not much change/revert. I removed the enable part from changelog as well. I think we should rather untick HDFS in the restarter epic?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That sounds like a good idea