hadoop fs列出所有的命令hadoop fs -help ls列出某个命令的详细信息hadoop dfs -mkdir /data/weblogshadoop dfs -mkdir /data/dir1 /data/dir2 ...创建文件夹,可以递归创建,可同时创建多个目录echo "Hel...
分类:
其他好文 时间:
2014-07-28 15:08:23
阅读次数:
224
1. 本地工作目录与远程仓库对比(所有改动过的文件) git diff HEAD 2. 之对比给定的文件 git diff -- filename3. 与历史提交对比 git diff commit -ascidfjutt2389292929921working tree:就是你所工作在的目录...
分类:
其他好文 时间:
2014-07-28 15:08:13
阅读次数:
226
1、列裁剪select a,b from t where e < 10;设置参数:hive.optimize.cp = true2、分区裁剪select * from (select c1,count(1) from t group by c1) subqwhere subq.prtn = 100;...
分类:
其他好文 时间:
2014-07-28 15:04:23
阅读次数:
199
1.作用 linux系统中last命令的作用是显示近期用户或终端的登录情况,它的使用权限是所有用户。通过last命令查看该程序的log,管理员可以获知谁曾经或企图连接系统。2.格式last [—R] [—n][-f file][-t tty] [—h 节点][-I —IP][—1][-y][ID]3...
分类:
其他好文 时间:
2014-07-28 15:01:33
阅读次数:
246
-=========================================-- Oracle联机重做日志文件(ONLINE LOG FILE)--=========================================一、Oracle中的几类日志文件Redologfiles-->...
分类:
数据库 时间:
2014-07-28 14:48:23
阅读次数:
427
#umount /mnt/fourtumount: /mnt/fourt: device is busy. (In some cases useful info about processes that use the device is found by lsof(8) or fuser(1)) ...
分类:
移动开发 时间:
2014-07-28 14:42:53
阅读次数:
308
**********************************一般文件的安装方式***********************eg:1.解压命令:tar -zxvf xxx{对应的压缩包} --该命令是针对.tar.gz的压缩包使用的命令2.进入到解压的压缩包cd xxx{对应的解压包} 3....
分类:
系统相关 时间:
2014-07-28 14:39:23
阅读次数:
262
“Overview of the Common Language Infrastructure”,作者Jarkko Piiroinen - 自己的作品。采用Public domain授权,来自维基共享资源。右图即为运行图。最上层即为各种语言,然后经过对应的编译器编译成程序集,也就是 CIL 通用中间...
分类:
Web程序 时间:
2014-07-28 13:46:10
阅读次数:
291
来自: http://www.blogjava.net/zJun/archive/2006/06/28/55511.htmlLog4J的配置文件(Configuration File)就是用来设置记录器的级别、存放器和布局的,它可接key=value格式的设置或xml格式的设置信息。通过配置,能够创...
分类:
其他好文 时间:
2014-07-28 13:46:00
阅读次数:
212
在python2.5+中可以用with来保证关闭打开的文件with open('hello.txt') as f: do some file operations为什么要引入with呢?在之前如果要保证关闭文件需要这样:f = open('hello.txt')try: do some fi...
分类:
编程语言 时间:
2014-07-28 11:36:00
阅读次数:
305