上一页 1 ··· 13 14 15 16 17 18 19 20 21 ··· 54 下一页
摘要: 导出到本地文件 insert overwrite local directory '/home/hadoop'select * from test1; 导出到hdfs insert overwrite directory '/data/input'select * from test1; 导出到本地 阅读全文
posted @ 2016-04-21 17:24 凌度 阅读(467) 评论(0) 推荐(0) 编辑
摘要: 卸载mysql mkdir /var/log/mariadb/ mkdir /var/run/mariadb/ 1、在 /etc/yum.repos.d/ 下建立 MariaDB.repo,内容如下: [azureuser@mono etc]$ cd /etc/yum.repos.d [azureu 阅读全文
posted @ 2016-04-19 14:57 凌度 阅读(489) 评论(0) 推荐(0) 编辑
摘要: 1、看CentOS自带mysql是否已安装。 输入:yum list installed | grep mysql 2、若有自带安装的mysql,卸载输入:yum -y remove mysql-libs.x86_64,若有多个依赖文件则依次卸载。当结果显示为Complete!即卸载完毕。 3、安装 阅读全文
posted @ 2016-04-19 13:56 凌度 阅读(222) 评论(0) 推荐(0) 编辑
摘要: 1、同步错误。不停重试一直不成功 原因: client-output-buffer-limit 这个参数对slave 同步时候所用的buffer做限制了 默认值是这个 client-output-buffer-limit slave 256mb 64mb 60(这是说负责发数据给slave的clie 阅读全文
posted @ 2016-04-19 11:44 凌度 阅读(3371) 评论(0) 推荐(0) 编辑
摘要: 1、重新格式化namenode 2、检查hosts文件 3、关闭防火墙 阅读全文
posted @ 2016-04-18 16:05 凌度 阅读(1251) 评论(0) 推荐(0) 编辑
摘要: https://www.douban.com/note/286438085/ python多线程中要响应Ctrl+C的信号以杀死整个进程,需要:1.把所有子线程设为Daemon;2.使用isAlive()函数判断所有子线程是否完成,而不是在主线程中用join()函数等待完成;3.写一个响应Ctrl+ 阅读全文
posted @ 2016-04-14 16:04 凌度 阅读(6587) 评论(0) 推荐(0) 编辑
摘要: http://apache.fayea.com/zookeeper/stable/ 在/home/hadoop/zookeeper/conf下新建zoo.cfg 启动 http://apache.fayea.com/hbase/stable/ wget http://apache.fayea.com 阅读全文
posted @ 2016-04-13 14:59 凌度 阅读(280) 评论(0) 推荐(0) 编辑
摘要: /etc/profile 1、MySQL作为存储元数据的数据库,所以需要把连接MySQL的jar包放入或链接到$HIVE_HOME/lib目录下。 2、修改hive-site.xml 内嵌模式,特点是:hive服务和metastore服务运行在同一个进程中,derby服务也运行在该进程中。 该模式无 阅读全文
posted @ 2016-04-13 12:35 凌度 阅读(421) 评论(0) 推荐(0) 编辑
摘要: android: imei: IMEI(International Mobile Equipment Identity)是国际移动设备标识的缩写,IMEI由15位数字(英文字母)组成。 mac: 是指网卡物理地址。 android id: 在设备首次启动时,系统会随机生成一个64位的数字,并把这个数 阅读全文
posted @ 2016-04-08 16:16 凌度 阅读(540) 评论(0) 推荐(0) 编辑
摘要: 1、查看用户的proifle是哪个,一般是default: sql>SELECT username,PROFILE FROM dba_users; 2、查看指定概要文件(如default)的密码有效期设置: sql>SELECT * FROM dba_profiles s WHERE s.profi 阅读全文
posted @ 2016-04-08 16:08 凌度 阅读(279) 评论(0) 推荐(0) 编辑
上一页 1 ··· 13 14 15 16 17 18 19 20 21 ··· 54 下一页