1.[译]下一代的HadoopMapreduce–如何编写YARN应用程序http://www.rigongyizu.com/hadoop-mapreduce-next-generation-writing-yarn-applications/
分类:
其他好文 时间:
2014-12-25 18:42:21
阅读次数:
117
创建一个档案,连文件夹(vim, practic, folder1)都不存在:edit ~/Desktop/vim/practic/folder1/file1.txt:write结果是E212: Can't open file for writing原因是vim/practic/folder1文件夹...
分类:
系统相关 时间:
2014-12-24 11:42:37
阅读次数:
216
本文地址:http://www.cnblogs.com/archimedes/p/writing-efficient-c-and-code-optimization.html,转载请注明源地址。说明:本篇文章翻译自:http://www.codeproject.com/Articles/6154/W...
分类:
其他好文 时间:
2014-12-23 20:53:02
阅读次数:
233
**为什么写注释必须成为编码的硬性标准(双语原创)** ----------------------- **Why Writing Annotation Must Become Peremptory Rule?** ***程序猿最烦的事:别人的代码不写注释;自己写注释。*** ***Parodox:...
分类:
其他好文 时间:
2014-12-22 22:56:04
阅读次数:
315
最近cacti监控的nginxstatus显示不正常,分析了日志并记录下来自己的操作步骤,希望大家能提供更好的建议!而各个参数含义如下:Active--nginx当前正活动连接数。reading--nginx读取到客户端的Header信息数。writing--nginx返回给客户端的Header信息数。waiting--开启keep-aliv..
分类:
其他好文 时间:
2014-12-17 18:51:35
阅读次数:
615
http://bert82503.iteye.com/blog/2152613前些天,线上出现“服务端长连接与客户端短连接引起Nginx的Writing、Active连接数过高问题”,这个是由于“服务端使用HTTPs长连接,而客户端使用短连接”引起。这几天,发现Nginx与Tomcat之间也存在同样...
分类:
其他好文 时间:
2014-12-15 11:42:05
阅读次数:
2306
在Cassandra的 system log中看到如下的log:INFO 07:17:18 Enqueuing flush of Standard1: 701845360 (33%) on-heap, 0 (0%) off-heapINFO 07:17:19 Writing Memtable-S.....
分类:
其他好文 时间:
2014-12-11 17:03:42
阅读次数:
217
ThreadLocal in Java is another way to achieve thread-safety apart from writing immutable classes. If you have been writing multi-threaded or concurrent code in Java then you must be familiar with c...
分类:
编程语言 时间:
2014-12-10 18:20:44
阅读次数:
312
参考文档:参考demo:CalendarSample.java/*
*Copyright(c)2010GoogleInc.
*
*LicensedundertheApacheLicense,Version2.0(the"License");youmaynotusethisfileexcept
*incompliancewiththeLicense.YoumayobtainacopyoftheLicenseat
*
*http://www.apache.org/licenses/LICENSE-2..
分类:
编程语言 时间:
2014-12-08 15:54:43
阅读次数:
349
fibonacci_server.cpp
/*
黄金分割数列,指的是这样一个数列:1、1、2、3、5、8、13、21、……在数学上,斐波纳契数列以如下被以递归的方法定义:F0=0,F1=1,Fn=F(n-1)+F(n-2)(n>=2,n∈N*)
*/
#include
#include //action lib
#include //从Fibonacci.action中生成的头文件,Fibon...
分类:
其他好文 时间:
2014-12-08 12:30:09
阅读次数:
246