Skip to content

Commit

Permalink
HIVE-27833: Hive Acid Replication Support for Dell Powerscale
Browse files Browse the repository at this point in the history
Issue : Hive Acid Replication on Dell Powerscale Isilon fails because it throws Exception while checking support for XAttrs.
Isilon only supports getXAttrs on /.reserved/raw paths

Testing : Tested on cluster
  • Loading branch information
harshal-16 committed Oct 31, 2023
1 parent d2d4b86 commit fe66d43
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@

import org.apache.hadoop.fs.FileSystem;
import org.apache.hadoop.fs.Path;
import org.apache.hadoop.security.AccessControlException;
import org.apache.hadoop.security.SecurityUtil;
import org.apache.hadoop.security.UserGroupInformation;
import org.apache.hadoop.security.authentication.util.KerberosUtil;
Expand Down Expand Up @@ -172,6 +173,10 @@ public static boolean checkFileSystemXAttrSupport(FileSystem fs) throws IOExcept
LOG.warn("XAttr won't be preserved since it is not supported for file system: " + fs.getUri());
return false;
}
catch (AccessControlException e) {
LOG.warn(e.getMessage());
return false;
}
}

private static Filter constructXSRFFilter() {
Expand Down

0 comments on commit fe66d43

Please sign in to comment.