Skip to content

Conversation

bshashikant
Copy link
Contributor

@bshashikant bshashikant requested a review from smengcl February 4, 2021 15:23
Copy link
Contributor

@smengcl smengcl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @bshashikant for the patch! lgtm overall.

final String msg =
"Could not provision Trash directory for existing "
+ "snapshottable directories. Exiting Namenode.";
ExitUtil.terminate(1, msg);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pro: Terminating NN in this case is a sure good way of uncovering an unexpected problems instead of hiding it in the logs.

Con: I wonder if we really should terminate NN when Trash directory fails to be deployed. We could just throw a warning message?

Either way, I'm fine with both. Just a thought.

Change-Id: I8480ac8f7fc07b4160ba2686569ff3cb42f14f48
@hadoop-yetus

This comment has been minimized.

@hadoop-yetus

This comment has been minimized.

@smengcl
Copy link
Contributor

smengcl commented Feb 5, 2021

Unrelated failures. All flaky tests passed locally for me. Will merge shortly.

@smengcl smengcl merged commit 19ae0fa into apache:trunk Feb 6, 2021
jojochuang pushed a commit to jojochuang/hadoop that referenced this pull request May 23, 2023
… safe mode exit (apache#2682)

(cherry picked from commit 19ae0fa)

Conflicts:
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/Namesystem.java
hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestDistributedFileSystem.java

Change-Id: I5a96c42eb8c4aa3bb700c3e6a07e4cd04fd3af7b
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.

3 participants