- 博客(23)
- 收藏
- 关注
转载 Hadoop Map/Reduce Implementation
原文链接: http://horicky.blogspot.com/2008/11/hadoop-mapreduce-implementation.htmlHadoopMap/Reduce ImplementationIn my previous post, I talk aboutthe methodology of transforming a sequential alg
2013-10-31 20:09:25 901
转载 Using Java Reflection
原文链接: http://www.oracle.com/technetwork/articles/java/javareflection-1536171.html Using Java ReflectionBy Glen McCluskeyJanuary 1998 Reflection is a feature in the Java programmi
2013-10-31 19:50:46 569
转载 linux 命令的英文缩写含义----文件夹英文缩写的含义
linux 英文缩写含义原文链接: http://blog.csdn.net/jincf2011/article/details/6362935RC 在Linux中,最为常用的缩略语也许是“rc”,它是“runcomm”的缩写――即名词“run command”(运行命令)的简写。今天,“rc”是任何脚本类文件的后缀,这些脚本通常在程序的启动阶段被调用,通常是Linu
2013-10-31 16:45:40 1182
原创 [makefile] 命令行给make解释器传参数
例如:build:[tab] mvn clean package原本是这样既可以跑 UT又可以打不jar 包来,但后来UT总是不过。怎么避免对文件的修改呢? 本着这样目的,修改如下:1 maven.test.skip = false2 build:3 [tab] mvn clean package -Dmaven.test.skip=$(maven.te
2013-10-31 16:03:51 5611
原创 [vi] 退出命令 :x 与 :wq
原文链接:http://blog.csdn.net/jincf2011/article/details/6363301vi是Unix/Linux系统最常用的编辑器之一,我习惯使用":x"命令来保存文件并退出,不愿意使用":wq"命令是因为它得多敲一个字母。 但是,今天我才知道":x"和":wq"的真正区别,如下::wq 强制性写入文件并退出(存盘并退出 write%quit
2013-10-31 10:40:00 832
原创 [hadoop] basic knowlege
1. hadoo 新旧版本mapreduce 是新版的,大概从0.20就开始用了。mpred 是旧版的
2013-10-30 19:38:34 620
原创 [pig] encountered errors at the first time
1. Error Handling : -stop_on_failureOoops! Some job has failed! Specify -stop_on_failure if you want Pig to stop immediately on failure.With multi-query execution Pig processes an entire s
2013-10-30 12:19:57 967
原创 java
1. 如何标示一行log输入哪一个函数?简单点儿的:this.getClass().getName();this.getClass().getCanonicalName();使用StackTrace, 获得调用该函数时的stack,取某一个位置上的,就是自己了,应该是栈顶, 即element[0].void getStackTrace() {
2013-10-25 20:01:36 1159
原创 shell 执行多条命令
在命令行可以一次执行多个命令,有以下几种:1.每个命令之间用;隔开说明:各命令的执行给果,不会影响其它命令的执行。换句话说,各个命令都会执行,但不保证每个命令都执行成功。2.每个命令之间用&&隔开说明:若前面的命令执行成功,才会去执行后面的命令。这样可以保证所有的命令执行完毕后,执行过程都是成功的。3.每个命令之间用||隔开说明:||是或的意思,只有前面的命
2013-10-22 15:07:09 3720
转载 hadoop info 1
http://zhidao.baidu.com/link?url=OagzJhsy7zJm5FeNGXhNBuxkXXk2SAgjs2UjqhxDsSGNLmJbU2rrdMX21xNEJ8GJ90h5zONMYeDPQgAGfsSS_K,就当是抛砖引玉了。相信楼主知道,hadoop的文件系统叫做hdfs,就是hadoop分布式分布式文件系统的中文简写。这个系统是对google的
2013-10-21 07:57:17 623
原创 shell script example
1.shell function:function FunName [()] {}or FunName {}function load_video { if [ x$feature_all_video_module = xy ]; then insmod all_video else insmod efi_gop insmod efi_uga
2013-10-20 14:05:37 729
转载 aa
>cat genRandom.c#include #include #include #define YUID_LEN_DEFAULT 32int getRandomChar(){ struct timespec time1={0, 0}; int asCode; while(1) {
2013-10-15 20:16:43 738
原创 Customize your profile during login the linux
1. PS1http://blog.sina.com.cn/s/blog_6433391301013phx.html# PS1='自定义内容' 注意两边的单引号 示例:PS1='(/u@/H /d /t)/$' -----------------------------------------------------------------------
2013-10-13 22:17:53 757
转载 Ubuntu update/upgrade command
http://blog.csdn.net/zhongkeli/article/details/70393561. update the system apt-cache search package 搜索包 apt-cache show package 获取包的相关信息,如说明、大小、版本等 sudo apt-get install package 安装包 sudo
2013-10-13 22:09:26 1416 1
转载 httpclient
create the ssl server:http://www.mkyong.com/tomcat/how-to-configure-tomcat-to-support-ssl-or-https/https://svn.atlassian.com/svn/public/atlassian/vendor/jersey-1.0.3/trunk/jersey/samples/https-cli
2013-10-12 16:26:04 850
原创 java reflection
package com.company;/** * Created with IntelliJ IDEA. * User: zhishan * Date: 10/10/13 * Time: 3:42 PM * To change this template use File | Settings | File Templates. */public class Persion {
2013-10-10 18:04:09 648
原创 Tree
1. 平衡二叉树http://kimibob.blog.163.com/blog/static/163873051201153093851369/http://blog.csdn.net/w170532934/article/details/7571281http://www.2cto.com/kf/201104/87324.html2. 红黑树http://blo
2013-10-09 18:57:03 592
转载 线程安全
http://blog.csdn.net/hanchaoman/article/details/5653023http://blog.csdn.net/hanchaoman/article/details/4405655JNI线程安全
2013-10-09 15:58:14 563
原创 linux 常用命令汇集
1. ulimitulimint -a 用来显示当前的各种用户进程限制Linux对于每个用户,系统限制其最大进程数,为提高性能,可以根据设备资源情况,设置个Linux用户的最大进程数,一些需要设置为无限制:数据段长度:ulimit -d unlimited最大内存大小:ulimit -m unlimited堆栈大小:ulimit -s unlimited
2013-10-09 15:14:08 1239
原创 制作u盘启动盘,安装linux系统
How to create a bootable USB stick on Windows1. 下载 Universal USB Installer 网址: http://www.pendrivelinux.com/universal-usb-installer-easy-as-1-2-3/Universal USB Installer aka UUI is a Live
2013-10-08 13:30:06 3345
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人