摘要: CREATE USER 'cui'@'%' IDENTIFIED BY 'xxxxxxxxxxxxxxxxxx'; GRANT ALL ON test_db.* TO 'cui'@'%'; REVOKE SELECT ON test_db.* FROM 'cui'@'%'; 阅读全文
posted @ 2016-01-27 22:52 LightingCui 阅读(225) 评论(0) 推荐(0) 编辑
摘要: apt-get update apt-get upgrade root@iZ28t2p7lz9Z:~# adduser cuiAdding user `cui' ...Adding new group `cui' (1000) ...Adding new user `cui' (1000) with 阅读全文
posted @ 2016-01-27 22:31 LightingCui 阅读(209) 评论(0) 推荐(0) 编辑
摘要: sqlContext.sql(""" SELECT user_no,cust_id,oper_code FROM cui.operation_data_android WHERE user_no <> 'null'""").repartition(1).saveAsTextFile("/out.tx 阅读全文
posted @ 2016-01-27 15:52 LightingCui 阅读(2338) 评论(0) 推荐(0) 编辑