2012年7月27日 星期五

HADOOP Command

hadoop dfsadmin -report
hadoop fs -dus [directory]

Hive使用LEFT OUTER JOIN 實現not in 子句

source


查詢在key字段在a表中,但不在b表中的數據
select a.key from a left outer join b on a.key=b.key where b.key1 is null

2012年6月21日 星期四

Hive UDF

https://github.com/livingsocial/HiveSwarm/blob/master/README.markdown