Package org.apache.hadoop.fs.XAttr

Examples of org.apache.hadoop.fs.XAttr.NameSpace


          "prefixed with user/trusted/security/system, followed by a '.'");
    } else if (prefixIndex == name.length() - 1) {
      throw new HadoopIllegalArgumentException("XAttr name cannot be empty.");
    }
   
    NameSpace ns;
    final String prefix = name.substring(0, prefixIndex).toLowerCase();
    if (prefix.equals(NameSpace.USER.toString().toLowerCase())) {
      ns = NameSpace.USER;
    } else if (prefix.equals(NameSpace.TRUSTED.toString().toLowerCase())) {
      ns = NameSpace.TRUSTED;
View Full Code Here

TOP

Related Classes of org.apache.hadoop.fs.XAttr.NameSpace

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.