代码改变世界

Hadoop 指令

2014-01-27 19:10 by briller, 189 阅读, 0 推荐, 收藏, 编辑
摘要:getmergeUsage: hadoop fs -getmerge [addnl]Takes a source directory and a destination file as input and concatenates files in src into the destination local file. Optionallyaddnlcan be set to enable adding a newline character at the end of each file. 阅读全文

python与java split的不同

2014-01-25 12:02 by briller, 232 阅读, 0 推荐, 收藏, 编辑
摘要:python:text = "GET /report.gif?code=_qualityPluginLoaded&app=click&cid=fengyun_0000000001_1342934731354&host=soft.yuyu.com&rd=0.580433264374733 HTTP/1.1"args=text.split(' ',1)print args['GET', '/report.gif?code=_qualityPluginLoaded&app=click&cid= 阅读全文