Package com.alimama.mdrill.hdfsDirectory

Examples of com.alimama.mdrill.hdfsDirectory.FileSystemDirectory.touchFile()


        Configuration conf = getConf();
        Path p=this.hdfsLinks.get(name);
       
        try {
        FileSystemDirectory dir=new FileSystemDirectory(FileSystem.get(conf), p.getParent(), false, conf);
        dir.touchFile(p.getName());
      } catch (IOException e) {
        SolrCore.log.error("hdfs",e);
      }
      }
      if(!this.links.containsKey(name))
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.