在使用union all的时候,系统资源足够的情况下,为了加快hive处理速度,可以设置如下参数实现并发执行set mapred.job.priority=VERY_HIGH;set hive.exec.parallel=true;设置map reduce个数-- 设置map capacityset...
分类:
其他好文 时间:
2014-07-19 21:37:25
阅读次数:
264
ZigBee is a specification for a suite of high level communication protocols used to create personal area networks built from small, low-power digital ...
分类:
其他好文 时间:
2014-07-19 20:37:21
阅读次数:
212
[root@luozhonghua mysql-5.5.21]# cmake . -DCMAKE_INSTALL_PREFIX=/usr/local/mysql -DMYSQL_DATADIR=/data/mysql -DSYSCONFDIR=/etc
-- Check size of pthread_t
-- Check size of pthread_t - done
-- Perf...
分类:
数据库 时间:
2014-07-18 23:04:23
阅读次数:
287
题目链接:点击打开链接
题意:
给定2个字符串
选择第一个字符串的其中一个字母删除,使得2个字符串完全相同
问哪些位置可以选
思路:
hash求前缀后缀,然后枚举位置
#include
#include
#include
#include
#include
#include
#include
#include
#include
using namespace std;
...
分类:
其他好文 时间:
2014-07-18 22:27:50
阅读次数:
210
貌似已经很晚了,但是还是想记下笔记,想让今天完满。
在ListView中加了checkBox,可是发现点击改变其选中状态的时候,发现其位置错乱。状态改变的并不是你选中的,百思不得其解。后面通过上网查资料,可是个说纷纭,但是我还是找到了解决办法。
在自定义的适配器中,对checkBox的设置如下:
记住两者的顺序,先对checkBox进行事件监听,再设置其状态。前提在布局中对check...
分类:
移动开发 时间:
2014-07-18 22:26:43
阅读次数:
324
echo"大家猜猜0-9的随机数,你一共有3次机会"count=2n=$((RANDOM%10))while((count>=0))doread-p"pleaseinput:"numif(($n==$num))thenecho"congratulation!随机数是$n,你总共猜了$((3-$count))次"exitelif((n<num))thenif(($count==0))thenecho-n"high"elseecho"high,还..
分类:
其他好文 时间:
2014-07-17 09:04:28
阅读次数:
232
Besides bags brands and high quality products with high strength, which takes lata.Materia bonus? look and feel rich. Before buying handbags for women...
分类:
其他好文 时间:
2014-07-16 14:58:21
阅读次数:
407
1、Android手机常见分辨率
WVGA:800x480
FWVGA:854x480
QHD:960x540
720P:1280x720(标清,standard definition,SD)
1080P:1920x1080(高清,high definition,HD)
2、分辨率对应dpi
dpi(dots per inch,每英寸点数)
hdpi对应WVGA、FWVGA、QHD...
分类:
移动开发 时间:
2014-07-16 13:42:42
阅读次数:
406
经验:Template metaprogramming (TMP, 模板元编程)可将工作由运行期移往编译期,因而得以实现早期错误侦测和更高的执行效率
示例1:
template
void advance(IterT &iter, DistT d){
if(typeid(typename std::iterator_traits::iterator_catogory) == typeid(std::random_access_it...
分类:
编程语言 时间:
2014-07-16 13:20:54
阅读次数:
313
1. 设置iis pool: cls Import-Module WebAdministration Get-ChildItem IIS:\apppools | ForEach-Object{ $name = $_.name Write-Host $_.name $pool = Get-Item I...
分类:
其他好文 时间:
2014-07-16 12:26:18
阅读次数:
1084