11 2016 档案
摘要:百度经验连接(亲测可用) http://jingyan.baidu.com/article/380abd0a77ae041d90192cf4.html win7下如何建立ftp服务器 http://jingyan.baidu.com/article/574c5219d466c36c8d9dc138.
阅读全文
摘要:import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.util.Properties; /** * 所有配置项,配置加载与获取类 */ publ...
阅读全文
摘要:package com.da.hbase.tool.utils; import com.da.hbase.tool.common.Const; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.fs.FileStatus; import org.apache.hadoop.fs.FileSystem; i...
阅读全文
摘要:/** * 由SshConfig配置获取一个Session * @param conf * @return */ public static Session createSession(SshConfig conf){ LOG.info("try connect to " + conf.getHostIp() + ",usern...
阅读全文
摘要:1、遍历删除本地目录 2、文件末尾追加内容 3、按行读取文件内容
阅读全文
摘要:/** index mappingname originalname datatype family 0 task_id taskIndexCode STRING info 1 task_type resourceDescType INT32 info 2 camera_index_code cam
阅读全文
摘要:/** * 通过正则获取该目录下满足条件的所有目录 * @param luceneFilePathRegular 正则目录,如/user/solrindex/正则表达式 * @return 满足正则表达式的目录集合 list */ public static List fetchDirByRegularLinux(String luceneFi...
阅读全文

浙公网安备 33010602011771号