一句话,Hive 开发比 Pig快多了...从hdfs读取数据:Hive: CREATE EXTRENAL TABLE IF NOT EXIST (domain string, num int) ROW FORMAT DELIMITED FIELDS TERMINATED BY '\t' loc...
分类:
其他好文 时间:
2014-11-20 13:27:34
阅读次数:
174
今天在云和学院学习了File类基本操作:判存、复制、移动、删除基本方法:–File.Exist();–File.Copy();–File.Move();File.Delete()File.Copy(“source”, “targetFileName”, true);//文件拷贝,true表示当文件存...
分类:
其他好文 时间:
2014-11-19 20:29:59
阅读次数:
111
今天编译出现ld: 0706-006 Cannot find or open library file: -l xerces-c_static,ld:open(): A file or directory in the path name does not exist.这个熟悉得不能再熟悉的链...
分类:
系统相关 时间:
2014-11-19 20:11:48
阅读次数:
361
VMware Workstation卸载清理批处理命令:echo offclsecho "flag">>%windir%\system32\test.logif not exist %windir%\system32\test.log (clsecho 请右键使用管理员身份运行!!!pauseexi...
分类:
系统相关 时间:
2014-11-17 15:45:16
阅读次数:
136
应该说是 .net4 的bug,没有所谓的 System.Web.Extensions.dll 库文件,需要将项目的 Target Framework修改为 3.5版本,才能加载System.Web.Extensions.dll库文件.我在使用 System.Web.Script.Serializa...
分类:
Web程序 时间:
2014-11-14 01:28:06
阅读次数:
187
??
oracle_高级子查询
①子查询
子查询是嵌套在 SQL 语句中的另一个SELECT 语句
子查询 (内查询) 在主查询执行之前执行
主查询(外查询)使用子查询的结果
②多列子查询
主查询与子查询返回的多个列进行比较
where (column1,column2) in (子查询)
例:查询与141号或174号员工的manager_id和department_id相同的其...
分类:
数据库 时间:
2014-11-12 16:40:51
阅读次数:
354
# !/bin/bash rc=$1exe=$2if [ ! -e "$rc" ]; then echo "rc not exist" exit fi if [ ! -e "$exe" ]; then echo "exe not exist" exit fi ver=`c...
分类:
其他好文 时间:
2014-11-11 14:20:03
阅读次数:
169
Given inorder and postorder traversal of a tree, construct the binary tree.Note:You may assume that duplicates do not exist in the tree.后序遍历的最后一个元素就是根...
分类:
其他好文 时间:
2014-11-11 00:40:07
阅读次数:
189
输入 指定文件夹下文件的关键字,将检索到关键字的文件拷贝到相应的目录。
批处理代码如下:
@echo off
cls
set /p keyWord=input keyWord for search file:
for %%a in (C:\a) DO ( /f
cd\
if exist "%%a\*%keyWord%*.*" xcopy /s /h /i /k %%a...
分类:
其他好文 时间:
2014-11-10 12:12:42
阅读次数:
226
使用SimpleCursorAdapter显示SQLite的数据到ListView时,显示java.lang.IllegalArgumentException: column '_id' does not exist这个错误,意思是说:字段"_id"不存在。
下面我们来看看SimpleCursorAdapter的继承关系,你就会知道这是什么原因造成的:
...
分类:
编程语言 时间:
2014-11-10 12:12:18
阅读次数:
170