摘要:
/path/to/local/repo --> true --> false --> com.your.plugins --> optional true http proxyuser proxypass proxy.host... 阅读全文
2017年3月3日
2017年2月28日
摘要:
基于python3 阅读全文
2017年2月14日
摘要:
import java.util.concurrent.Executors; import java.util.concurrent.ScheduledExecutorService; import java.util.concurrent.TimeUnit; public class TaskScheduler { private static ScheduledExecutor... 阅读全文
摘要:
1 private String collectDataJson(String dataListJson){ 2 3 String topic = HBPHelper.getTopic(HBPCollectorConstant.PIPELINE_INFO, 1); 4 5 JSONObject resObj = JSON.parseObject(da... 阅读全文
摘要:
1 import java.util.concurrent.BlockingQueue; 2 import java.util.concurrent.LinkedBlockingQueue; 3 import java.util.concurrent.ThreadPoolExecutor; 4 import java.util.concurrent.TimeUnit; 5 6 /*... 阅读全文
2017年2月10日
摘要:
import org.elasticsearch.action.admin.indices.delete.DeleteIndexRequest; import org.elasticsearch.action.admin.indices.delete.DeleteIndexResponse; import org.elasticsearch.action.delete.DeleteRespons... 阅读全文
2017年2月9日
摘要:
1、初始化hbase连接 2、删除Hbase表中Region中StartKey为2014000的Region及Meta中Region的元数据 3、创建一个新的region,其中Startkey为NULL 4、关闭hbase的连接 阅读全文
摘要:
1 import org.apache.curator.RetryPolicy; 2 import org.apache.curator.framework.CuratorFramework; 3 import org.apache.curator.framework.CuratorFrameworkFactory; 4 import org.apache.curator.framewo... 阅读全文
摘要:
import com.alibaba.fastjson.JSON; import org.apache.curator.framework.CuratorFramework; import org.apache.curator.framework.imps.CuratorFrameworkState; import org.apache.curator.framework.recipes.cac... 阅读全文