方法1: /** * 添加一行数据 * * @param tableName * 表名 * @param columnFamily * 列族名 * @param rowKey * ...
分类:
其他好文 时间:
2014-09-10 17:09:30
阅读次数:
493
//设置map参数,innerTable,outTable对应的表名
public String sendDetail(){
pager = getStartPager();
if( null !=msg && msg.equals("succ")){
map.put("innerTable","bs_sent_inner" );
map.put("outTabl...
分类:
其他好文 时间:
2014-09-10 12:37:40
阅读次数:
262
在测试 HDFS2.0 的 NameNode HA 的时候,并发put 700M的文件,然后 Kill 主 NN ;发现备 NN 切换后进程退出。尝试了多种方法终于恢复,原因还在分析中。...
分类:
其他好文 时间:
2014-09-10 10:54:10
阅读次数:
490
1,curl 常用选项-X 常用罗列 put get post head delete;
分类:
其他好文 时间:
2014-09-09 22:48:39
阅读次数:
206
Description
You have just been put in charge of developing a new shredder for the Shredding Company Although a "normal" shredder would just shred sheets of paper into little pieces so that the co...
分类:
其他好文 时间:
2014-09-09 13:21:18
阅读次数:
242
1.publish2.update print_lolPS:for Step 1.write the code in to a py file. put the py file into a folder named nester. new a py file named 'setup' and t...
分类:
编程语言 时间:
2014-09-09 10:44:28
阅读次数:
309
首先,我们来看hashset。他的构造函数: public HashSet() { map = new HashMap(); }很惊讶吧。构造函数里面竟然有个hashmap!public boolean add(E e) { return map.put(e, PRESENT)==null; }再看...
分类:
其他好文 时间:
2014-09-08 10:46:06
阅读次数:
260
转载自http://zhenghaoju700.blog.163.com/blog/static/13585951820116782843994/先安装一个PostgreSQL(见补充知识)比较Oracle PL/SQLPL/SQL 中有dbms_output.put_line("This is a...
分类:
数据库 时间:
2014-09-07 12:16:55
阅读次数:
317
1.一些枯燥的概念:Http定义了与服务器交互的不同方法,最基本的方法有4种,分别是GET,POST,PUT,DELETE。URL全称是资源描述符,我们可以这样认为:一个URL地址,它用于描述一个网络上的资源,而HTTP中的GET,POST,PUT,DELETE就对应着对这个资源的查 ,改 ,增 ,...
分类:
其他好文 时间:
2014-09-06 12:09:53
阅读次数:
215
如今又開始配置JK2,想将Tomcat和apache,但Tomcat上已经不支持对于JK2的开发了,详情请看:Apache-Tomcat mod_jk2 aka JK215 November - JK2 is officially unsupportedJK2 has been put in mai...
分类:
其他好文 时间:
2014-09-06 10:55:23
阅读次数:
129