Skip to content

Commit

Permalink
fix error caused by Jersey version mismatch on enabling webhdfs:// sc…
Browse files Browse the repository at this point in the history
…hema
  • Loading branch information
iwasakims committed Oct 20, 2024
1 parent 6d99656 commit 551a4e8
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,9 @@ public Trash load(FileSystem fs) throws Exception {
}
}

if (StringUtils.equals("hdfs", ufsUri.getScheme())) {
if (StringUtils.equals("hdfs", ufsUri.getScheme())
|| StringUtils.equals("webhdfs", ufsUri.getScheme())
|| StringUtils.equals("swebhdfs", ufsUri.getScheme())) {
try {
// If this class is not loaded here, it will be later loaded by the system classloader
// from alluxio server jar, but will be called by a class loaded with extension
Expand Down

0 comments on commit 551a4e8

Please sign in to comment.