最近使用hive做一些etl工作,除了日常sql的编写,了解hadoop及hive的一些底层原理性质的东西包括调优非常有必要,一次hive调优就把原来的零散文件做了合并。首先记下hadoop常用的命令:(hadoop
fs -help列出全部)1,hadoop fs –fs [local | ]:声...
分类:
其他好文 时间:
2014-05-26 20:44:49
阅读次数:
308
一 、查看已安装的nginx是否包含stub_status模块
/usr/local/nginx/sbin/nginx -V nginx version: Nginx/1.2.0 configure arguments:
--with-http_stub_status_module 确定支持stub...
分类:
其他好文 时间:
2014-05-26 16:34:01
阅读次数:
233
The stunnel program is designed to work as an
SSL encryption wrapper between remote client and local (inetd-startable) or
remote server. It can be use...
分类:
其他好文 时间:
2014-05-26 16:15:57
阅读次数:
330
安装MySql时在最后Start
Service时失败:首先先卸载掉MySql。查看MySql服务有没有启动,若启动,则先停止MySql服务。再如图打开注册表,到HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services删除MySql服务。在命令行输入s...
分类:
数据库 时间:
2014-05-26 16:10:28
阅读次数:
327
How Many Fibs?Time Limit: 2000/1000 MS
(Java/Others)Memory Limit: 65536/32768 K (Java/Others) Total Submission(s):
3804Accepted Submission(s): 1498 Pr...
分类:
其他好文 时间:
2014-05-26 15:11:13
阅读次数:
197
报错详情:Failure to transfer
com.thoughtworks.xstream:xstream:pom:1.3.1 from
http://repo.maven.apache.org/maven2 was cached in the local repository, resol...
分类:
其他好文 时间:
2014-05-26 13:27:05
阅读次数:
2261
DFS算法,非常容易TLE,需要一个boolean矩阵来记录是否访问过某个节点。写DFS主要就是两个方法:用recursion或者Stack,
用recursion会带来time和memory的cost增加,而且因为要用矩阵做argument,
所以非常担心TLE或者MLE的问题。但是用recurs...
分类:
其他好文 时间:
2014-05-26 13:03:20
阅读次数:
273
一直按网上的方法:1.先安装apt-get install
zlib1g-dev2.重新安装python(3.3):即是./configure 再make再make
install始终没有解决掉问题!最后发现,还需要再链接一次:#ln -s /usr/local/python3.3/bin/pyth...
分类:
编程语言 时间:
2014-05-26 12:35:01
阅读次数:
298
NSTimer是不一定准时的,是有可能被delay的,每次间隔的时间是不一定一样的。A
repeating timer reschedules itself automatically based on the scheduled firing
time, not the actual firing...
分类:
其他好文 时间:
2014-05-26 10:03:30
阅读次数:
230
linux中用shell获取昨天、明天或多天前的日期:在Linux中对man date -d
参数说的比较模糊,以下举例进一步说明:# -d, --date=STRING display time described by STRING, not
`now’[root@Gman root]# dat...
分类:
系统相关 时间:
2014-05-26 09:42:15
阅读次数:
320