在使用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
错误:
rake aborted!
Gem::LoadError: You have already activated rake 10.3.2, but your Gemfile requires rake 10.1.1. Prepending `bundle exec` to your command may solve this.
解决:
bundle exec rake d...
分类:
其他好文 时间:
2014-07-17 10:31:22
阅读次数:
209
find [起始目录] 寻找条件 操作还有种表述方式:find PATH OPTION [-exec COMMAND { } \;]因为find命令会根据我们给的option,也就是寻找条件从我们给出的目录开始对其中文件及其下子目录中的文件进行递归搜索,所以我觉的这个地方说是“起始目录”是非常好的。...
分类:
系统相关 时间:
2014-07-16 23:03:03
阅读次数:
332
vartext="sesssges";varreg=/\s/;if(reg.exec(text)==null)alert('没有空格');elsealert('有空格');
分类:
其他好文 时间:
2014-07-16 21:06:02
阅读次数:
141
判断一个输入框中是否有SQL攻击代码public const string SQLSTR2 = @"exec|cast|convert|set|insert|select|delete|update|alter|drop|count|chr|varchar|nvarchar|nchar|char[ ...
分类:
数据库 时间:
2014-07-16 19:22:06
阅读次数:
236
原文出处:http://blog.csdn.net/saindy5828/article/details/11975527用JAVA代码实现执行CMD命令的方法java的Runtime.getRuntime().exec(arstringCommand)可以调用执行cmd指令。public clas...
分类:
编程语言 时间:
2014-07-16 18:27:07
阅读次数:
211
今天做了一个用java导入sql脚本的功能,前台上传一个sql文件,后台先保存本地,然后进行导入。主要代码如下:Stringcmd="cmd/csqlplususr/pwd@{//服务器IP:1521/}sid@d:\\1.sql>d:\\t.log";
Processp=null;
try{
p=Runtime.getRuntime().exec(cmd);
}catch(IOExceptione){
e..
分类:
数据库 时间:
2014-07-15 11:07:43
阅读次数:
292
exec 命令实例find . -name "*.cc" -exec grep -P -n -H --color=auto "[^\w]main[^\w]" {} \;-P perl正则查找-n 显示行号-H 显示文件名--color=auto 关键字高亮显示[^\w]main[^\w] main关...
分类:
其他好文 时间:
2014-07-15 09:32:46
阅读次数:
244
1.4.1、编译过程在编译环境配置完成后就可以在CMD中进行编译编译命令:ant –buildfile build.xml如图上所示编译成功(备注,编译过程中,get-revision:[exec]Result:1与编译结果没多大影响,可以忽略)1.4.2、编译是否成功验证Test.html(不能放...
分类:
其他好文 时间:
2014-07-15 00:26:49
阅读次数:
263
exec sp_databases; --查看数据库exec sp_tables; --查看表exec sp_columns Categories;--查看列exec sp_helpIndex Categories;--查看索引exec sp_helpConstraint Catego...
分类:
数据库 时间:
2014-07-12 14:10:43
阅读次数:
178