use of org.apache.hadoop.hdfs.protocol.proto.XAttrProtos.ListXAttrsRequestProto in project hadoop by apache.
the class ClientNamenodeProtocolTranslatorPB method listXAttrs.
@Override
public List<XAttr> listXAttrs(String src) throws IOException {
ListXAttrsRequestProto.Builder builder = ListXAttrsRequestProto.newBuilder();
builder.setSrc(src);
ListXAttrsRequestProto req = builder.build();
try {
return PBHelperClient.convert(rpcProxy.listXAttrs(null, req));
} catch (ServiceException e) {
throw ProtobufHelper.getRemoteException(e);
}
}
Aggregations