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

HDFS-16724. RBF should support get the information about ancestor mount points #4719

Merged
merged 3 commits into from
Aug 23, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
HDFS-16724. Modify patch based on comments
  • Loading branch information
zengqiang.xu committed Aug 12, 2022
commit a0b33ae191e76347df4e4d56b85360d64ce4361c
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,7 @@ public class NoLocationException extends IOException {

private static final long serialVersionUID = 1L;

public NoLocationException(String path, String className) {
super("Cannot find locations for " + path + " in " + className);
}

public NoLocationException(String message) {
super(message);
public NoLocationException(String path, Class<?> t) {
super("Cannot find locations for " + path + " in " + t.getSimpleName());
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -1731,7 +1731,7 @@ protected List<RemoteLocation> getLocationsForPath(String path,
final PathLocation location =
this.subclusterResolver.getDestinationForPath(path);
if (location == null) {
throw new NoLocationException(path, this.subclusterResolver.getClass().getSimpleName());
throw new NoLocationException(path, this.subclusterResolver.getClass());
}

// We may block some write operations
Expand Down