
开源项目源码
文章平均质量分 87
星宫社
駄目人間
展开
-
one-jar maven 插件的JarClassLoader Warning日志问题
onejar-maven-plugin 项目 githttps://github.com/jolira/onejar-maven-pluginonejar-boot 项目 git https://github.com/Kevin-Lee/one-jar-boot=====================================================使用one-j...原创 2019-11-09 16:18:05 · 612 阅读 · 0 评论 -
Leader elect
import java.io.IOException;import java.lang.invoke.MethodHandles;import java.util.Collections;import java.util.Iterator;import java.util.List;import java.util.Map;import java.util.regex.Matcher;转载 2016-08-15 20:43:53 · 761 阅读 · 0 评论 -
Apache的小顶堆实现
package org.apache.solr.util;/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for ad转载 2016-08-11 15:49:14 · 355 阅读 · 0 评论 -
FileUtils
package org.apache.solr.util;import java.io.*;import java.nio.channels.FileChannel;/** * 文件复制,回写硬盘等操作 */public class FileUtils { /** * Resolves a path relative a base directory. *转载 2016-08-11 16:33:33 · 465 阅读 · 0 评论 -
k8s安装过程
允许远程登陆:vi /etc/ssh/sshd_configPermitRootLogin without-password修改为:PermitRootLogin yesservice ssh restart免密码登陆:ssh-keygen -t rsatouch /root/.ssh/authorized_keyscat /root转载 2016-09-02 14:30:12 · 1301 阅读 · 0 评论 -
hbase使用Phoenix
PhoenixHbase查询工具,提供在hbase中sql方式查询。提供了很多sql语法,二级索引等传统数据库支持的功能。新版本中有支持transaction(beta)。官网http://phoenix.apache.org/Phoenix-in-15-minutes-or-less.html、二进制文件下载http://mirror.bit.edu.cn/apache/phoenix/apache-phoenix-4.9.0-HBase-1.2/bin/部署安装http://www.zh原创 2017-04-17 18:05:02 · 2856 阅读 · 0 评论 -
Java定时任务开源框架
具体见原文4. 分布式定时任务开源框架一览4.1. Elastic-Job(当当网)4.2. light-task-scheduler4.3. clover4.4. TBSchedule(阿里)4.5. niubi-job4.6. Uncode-Schedule转载 2017-08-01 10:51:24 · 2252 阅读 · 0 评论 -
kafka使用记录
《kafka权威指南》使用场景1、活动跟踪 前端应用与用户的交互记录,pv、uv、点击量等2、传递消息 用来实现消息通知功能3、度量指标和日志记录 系统日志以及度量指标的收集4、提交日志 作为分布式系统的日志缓冲区,方便日志收集处理5、流处理 用哦过户可以飙血消息那应用程序来操作kafka消息,比如计算度量指标,为其他应用程序有效的处理消息分区,或者对来自多个数据源的...原创 2018-05-30 22:18:57 · 766 阅读 · 1 评论 -
ERROR Server died unexpectedly: (io.confluent.kafka.schemaregistry.rest.SchemaRegistryMain:51)
../bin/schema-registry-start ../etc/schema-registry/schema-registry.properties Confluent schema-registry启动失败,报错:ERROR Server died unexpectedly: (io.confluent.kafka.schemaregistry.rest.SchemaRegistry...原创 2018-04-08 16:24:45 · 4270 阅读 · 1 评论