Package org.apache.hadoop.fs.swift.exceptions

Examples of org.apache.hadoop.fs.swift.exceptions.SwiftNotDirectoryException


      //find out about the path
      fileStatus = getFileStatus(directory);

      if (!SwiftUtils.isDirectory(fileStatus)) {
        //if it's a file, raise an error
        throw new SwiftNotDirectoryException(directory,
                String.format(": can't mkdir since it exists and is not a directory: %s",
                        fileStatus));
      } else {
        //path exists, and it is a directory
        if (LOG.isDebugEnabled()) {
View Full Code Here

TOP

Related Classes of org.apache.hadoop.fs.swift.exceptions.SwiftNotDirectoryException

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.