会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
zfzf1
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
9
10
···
25
下一页
2019年3月20日
LinkedHashSet 去重
摘要: @Overridepublic int hashCode() { return this.getDeviceid().hashCode() + this.getTerminalcode().hashCode();}@Overridepublic boolean equals(Object obj)
阅读全文
posted @ 2019-03-20 09:30 zfzf1
阅读(676)
评论(0)
推荐(0)
2019年3月19日
java前后端 换行
摘要: MessageFormat.format("网点名称:{0},网点编号:{1},不存在有效网点<br/>"
阅读全文
posted @ 2019-03-19 17:00 zfzf1
阅读(314)
评论(0)
推荐(0)
java时间戳
摘要: String randomNum = (int) (Math.random() * 900 + 100)+"";idemContent.put("seqNum", DateUtils.format(new Date(),"yyyyMMddHHmmssSSS")+randomNum);
阅读全文
posted @ 2019-03-19 09:38 zfzf1
阅读(272)
评论(0)
推荐(0)
2019年3月4日
java 集合根据时间排序
摘要: /** * 根据时间排序 * @param list */private static void userRechargeListSort(List<UserRecharge> list) { Collections.sort(list, new Comparator<UserRecharge>()
阅读全文
posted @ 2019-03-04 17:31 zfzf1
阅读(7000)
评论(0)
推荐(0)
2019年2月19日
多线程测试java接口
摘要: package action.user; import java.util.concurrent.CyclicBarrier; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; public class UserLoginExtActionRuntimeTest { ...
阅读全文
posted @ 2019-02-19 14:32 zfzf1
阅读(492)
评论(0)
推荐(0)
2019年1月7日
linux mysql 设置其他电脑访问
摘要: mysql -uroot -p GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY '123456' WITH GRANT OPTION; FLUSH PRIVILEGES;
阅读全文
posted @ 2019-01-07 15:33 zfzf1
阅读(395)
评论(0)
推荐(0)
hadoop nn全部都是 standBy问题
摘要: 1、首先在hdfs-site.xml中添加下面的参数,该参数的值默认为false: 2、在core-site.xml文件中添加下面的参数,该参数的值为ZooKeeper服务器的地址,ZKFC将使用该地址。
阅读全文
posted @ 2019-01-07 14:33 zfzf1
阅读(460)
评论(0)
推荐(0)
hadoop群起zk群起脚本
摘要: [root@z01 bin]# cat hadoop.sh #!/bin/bashif(($#==0));thenecho "no args";exit;fi echo $1 hadoop; $1-dfs.sh;$1-yarn.sh;ssh z02 "source /etc/profile; yar
阅读全文
posted @ 2019-01-07 13:44 zfzf1
阅读(428)
评论(0)
推荐(0)
svn 工作副本锁定
摘要: 如果clean up时候遇到了 工作目录被lock的提示,清理的时候勾选一下Break locks即可
阅读全文
posted @ 2019-01-07 11:17 zfzf1
阅读(219)
评论(0)
推荐(0)
2019年1月4日
linux同步脚本
摘要: /usr/local/bin/xsync #!/bin/bash#1 获取输入参数个数,如果没有参数,直接退出pcount=$#if((pcount==0)); thenecho no args;exit;fi #2 获取文件名称p1=$1fname=`basename $p1`echo fname
阅读全文
posted @ 2019-01-04 14:24 zfzf1
阅读(368)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
9
10
···
25
下一页
公告