List of usage examples for org.apache.hadoop.fs FileSystem getXAttr
public byte[] getXAttr(Path path, String name) throws IOException
From source file:com.mellanox.r4h.DistributedFileSystem.java
License:Apache License
@Override public byte[] getXAttr(Path path, final String name) throws IOException { final Path absF = fixRelativePart(path); return new FileSystemLinkResolver<byte[]>() { @Override/*from w w w. j a v a 2s . c om*/ public byte[] doCall(final Path p) throws IOException { return dfs.getXAttr(getPathName(p), name); } @Override public byte[] next(final FileSystem fs, final Path p) throws IOException, UnresolvedLinkException { return fs.getXAttr(p, name); } }.resolve(this, absF); }