摘要: (一)从关系型数据库导入至HDFS1.将下面的参数保持为import.scriptimport--connectjdbc:mysql://192.168.1.14:3306/test--username root--password 1234-m1--null-string''--table use... 阅读全文
posted @ 2014-10-22 17:00 oftenlin 阅读(3831) 评论(0) 推荐(0)
摘要: 1.一般操作status 查看状态version 查看HBase版本2.DDL操作create 'member','member_id','address','info' 创建了一个member表,包含member_id、address、info三个列族describe 'member' 显示表的详... 阅读全文
posted @ 2014-10-22 15:28 oftenlin 阅读(288) 评论(0) 推荐(0)
摘要: 包依赖比较麻烦,找了好久,我用的CDH5.0 现将所依赖的包的列表清单如下:public class EmployeeDao { /** * @param args */ public static Configuration configuration; static { con... 阅读全文
posted @ 2014-10-22 15:07 oftenlin 阅读(5214) 评论(1) 推荐(0)