上一页 1 2 3 4 5 6 7 8 9 10 ··· 25 下一页
摘要: @Overridepublic int hashCode() { return this.getDeviceid().hashCode() + this.getTerminalcode().hashCode();}@Overridepublic boolean equals(Object obj) 阅读全文
posted @ 2019-03-20 09:30 zfzf1 阅读(671) 评论(0) 推荐(0) 编辑
摘要: MessageFormat.format("网点名称:{0},网点编号:{1},不存在有效网点<br/>" 阅读全文
posted @ 2019-03-19 17:00 zfzf1 阅读(311) 评论(0) 推荐(0) 编辑
摘要: String randomNum = (int) (Math.random() * 900 + 100)+"";idemContent.put("seqNum", DateUtils.format(new Date(),"yyyyMMddHHmmssSSS")+randomNum); 阅读全文
posted @ 2019-03-19 09:38 zfzf1 阅读(264) 评论(0) 推荐(0) 编辑
摘要: /** * 根据时间排序 * @param list */private static void userRechargeListSort(List<UserRecharge> list) { Collections.sort(list, new Comparator<UserRecharge>() 阅读全文
posted @ 2019-03-04 17:31 zfzf1 阅读(6971) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(486) 评论(0) 推荐(0) 编辑
摘要: mysql -uroot -p GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY '123456' WITH GRANT OPTION; FLUSH PRIVILEGES; 阅读全文
posted @ 2019-01-07 15:33 zfzf1 阅读(388) 评论(0) 推荐(0) 编辑
摘要: 1、首先在hdfs-site.xml中添加下面的参数,该参数的值默认为false: 2、在core-site.xml文件中添加下面的参数,该参数的值为ZooKeeper服务器的地址,ZKFC将使用该地址。 阅读全文
posted @ 2019-01-07 14:33 zfzf1 阅读(442) 评论(0) 推荐(0) 编辑
摘要: [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 阅读(421) 评论(0) 推荐(0) 编辑
摘要: 如果clean up时候遇到了 工作目录被lock的提示,清理的时候勾选一下Break locks即可 阅读全文
posted @ 2019-01-07 11:17 zfzf1 阅读(212) 评论(0) 推荐(0) 编辑
摘要: /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 阅读(359) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 10 ··· 25 下一页