上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 29 下一页
摘要: 在关系型数据库中会存在一个一个的分区,那么这些分区主要是 为了让我们在查询数据的时候减小压力 阅读全文
posted @ 2019-05-11 21:21 lilixia 阅读(220) 评论(0) 推荐(0) 编辑
摘要: my_course.txt my_score.txt my_student.txt 字段是string类型 要改成int 类型 阅读全文
posted @ 2019-05-11 16:45 lilixia 阅读(263) 评论(0) 推荐(0) 编辑
摘要: 数据 阅读全文
posted @ 2019-05-11 16:02 lilixia 阅读(159) 评论(0) 推荐(0) 编辑
摘要: create table person( name string, station string ) row format delimited fields terminated by '\t' lines terminated by '\n' stored as textfile; load data local inpath 'person.txt' into table person; ... 阅读全文
posted @ 2019-05-10 08:04 lilixia 阅读(176) 评论(0) 推荐(0) 编辑
摘要: set hive.auto.convert.join=true自动将join转换为map端的join set hive.mapjoin.smalltable.filesize=25000000;小于25M的都是小表 阅读全文
posted @ 2019-05-10 07:30 lilixia 阅读(200) 评论(0) 推荐(0) 编辑
摘要: 集群问题: 1.hive无法启动,connection refused 。。。。 namenode is in safe mode启动的时候会进入安全模式,有的电脑就没有办法自己离开安全模式 hdfs dfsadmin safemode -leave 2.hive connection failed hive启动要直接连接hdfs,那么hdfs中就会找 $HADOOP_HOME/etc/hado... 阅读全文
posted @ 2019-05-08 20:54 lilixia 阅读(503) 评论(0) 推荐(0) 编辑
摘要: sort by 每个mr自己得文件单独排序distribute by 分发将map端得数据按照一定得规则分发给不同得reduce端set mapreduce.job.reduces=3;与order by不同,order by是全局排序 其实sortby也可以全局排序 reduce是一个得时候就可以 阅读全文
posted @ 2019-05-08 20:51 lilixia 阅读(1702) 评论(0) 推荐(0) 编辑
摘要: create table dept( deptno int primary key auto_increment,dname varchar(14) , loc varchar(13) ) ; create table emp( empno int primary key auto_increment, ename varchar(10), job varchar(9), m... 阅读全文
posted @ 2019-05-08 10:48 lilixia 阅读(288) 评论(0) 推荐(0) 编辑
摘要: 创建两表 阅读全文
posted @ 2019-05-08 10:32 lilixia 阅读(983) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2019-05-08 09:59 lilixia 阅读(332) 评论(0) 推荐(0) 编辑
上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 29 下一页