比如需要生成sqoop import语句,用newlisp脚本:(set 'import-cmd (format "%s/sqoop-import --options-file media_options.txt --table %s --where \"ID = 2\" --target-dir %s -m 1 --fields-terminated-by '%s' --lines-term...
分类:
其他好文 时间:
2014-06-11 07:06:00
阅读次数:
351
----资源来自于官网教程
Simple Example Use Cases
MovieLens User Ratings
First, create a table with tab-delimited text file format:
CREATE TABLE u_data (
userid INT,
movieid INT,
rati...
分类:
其他好文 时间:
2014-06-11 06:32:36
阅读次数:
407
1 首先去官网上面下载通用的监控模板一般使用TomcatStats-0.1.zip 模板居多,下载地址:http://forums.cacti.net/download/file.php?id=12310,在linux服务器上面使用wget下载,wget http://forums.cacti.net/download/file.php?id=12310,报如下错误:正在连接 forums.cac...
分类:
其他好文 时间:
2014-06-11 06:13:42
阅读次数:
294
解决办法 :
把 deploy.bat 文件中的 下面一句话中的蓝色部分 换为红色部分
http://localhost:8081/GetMsgService/servlet/AxisServlet deploy.wsdd
set Axis_Lib=D:\axis-1_4\lib
set Java_Cmd=java -Djava.ext.dirs=%Axis_Lib%
set Axis_Servlet=http://localhost:8080/axistest/services/AxisServle...
分类:
Web程序 时间:
2014-06-10 15:42:16
阅读次数:
265
数据库rac启动时报错,日志如下,后来使用
Sat Jun 7 06:02:11 2014
GATHER_STATS_JOB encountered errors. Check the trace file.
Sat Jun 7 06:02:11 2014
Errors in file /oracle/product/admin/dqb/bdump/dqb2_j001_1...
分类:
数据库 时间:
2014-06-10 14:36:54
阅读次数:
248
分享一个 PHP遍历目录并返回统计目录大小的方法。代码:"; if($file != "."
&& $file != "..") { listdir($file); } } else { echo "FILE:".$file . "";
} } }function totdir($dirname) ...
分类:
Web程序 时间:
2014-06-10 08:50:42
阅读次数:
227
--master log 与relay
log的关系-------------------------------2014/06/09Just to clarify, there are three
sets of file/position coordinates in SHOW SLAVE ST...
分类:
其他好文 时间:
2014-06-10 08:31:57
阅读次数:
196
在php中,对于文件的读取时,最快捷的方式莫过于使用一些诸如file、file_get_contents之类的函数。但当所操作的文件是一个比较大的文件时,这些函数可能就显的力不从心,
下面将从一个需求入手来说明对于读取大文件时,常用的操作方法。需求如下: 现有一个1G左右的日志文件,大约有500多万...
分类:
Web程序 时间:
2014-06-10 08:23:27
阅读次数:
240
How to import the www.googleapis.com SSL CA certification to the jks store file?...
I/O 1.文件操作:File(1)voidAppendAllText(string
path, string contents)(2)boolExists(string path)(3)string[]Read...
分类:
其他好文 时间:
2014-06-10 00:58:28
阅读次数:
535