上一页 1 ··· 17 18 19 20 21 22 23 24 25 ··· 37 下一页
摘要: HiBench 7官方:https://github.com/intel-hadoop/HiBench 一 简介 HiBench is a big data benchmark suite that helps evaluate different big data frameworks in te 阅读全文
posted @ 2019-02-26 11:45 匠人先生 阅读(1944) 评论(0) 推荐(1)
摘要: 在hive中查看表结构时中文注释乱码,分为两种情况,一种是desc $table,一种是show create table $table 1 数据库字符集 检查 mysql> show variables like '%char%';mysql> show create table COLUMNS_ 阅读全文
posted @ 2019-02-26 10:48 匠人先生 阅读(800) 评论(0) 推荐(1)
摘要: 1 dbs + + + + + + +| DB_ID | DESC | DB_LOCATION_URI | NAME | OWNER_NAME | OWNER_TYPE |+ + + + + + +key columns:DB_ID 1.1 database_params 2 tbls + + + 阅读全文
posted @ 2019-02-26 10:30 匠人先生 阅读(819) 评论(0) 推荐(1)
摘要: 1 下载解压 https://spark.apache.org/downloads.html $ wget http://mirrors.shu.edu.cn/apache/spark/spark-2.4.0/spark-2.4.0-bin-hadoop2.7.tgz $ tar xvf spark 阅读全文
posted @ 2019-02-25 18:37 匠人先生 阅读(1037) 评论(0) 推荐(1)
摘要: hive建表后直接将数据文件拷贝到table目录下,select * 可以查到数据,但是select count(1) 一直返回0,这个是因为hive中有个配置 hive.stats.autogather=true Enables automated gathering of table-level 阅读全文
posted @ 2019-02-25 15:51 匠人先生 阅读(3566) 评论(1) 推荐(1)
摘要: hadoop部署参考:https://www.cnblogs.com/barneywill/p/10428098.html 1 拷贝到所有服务器上并解压 # ansible all-servers -m copy -a 'src=/src/path/to/apache-hive-2.3.4-bin. 阅读全文
posted @ 2019-02-25 11:26 匠人先生 阅读(274) 评论(0) 推荐(1)
摘要: 环境:3结点集群 192.168.0.1192.168.0.2192.168.0.3 1 配置root用户服务期间免密登录 参考:https://www.cnblogs.com/barneywill/p/10271679.html 2 安装ansible 参考:https://www.cnblogs 阅读全文
posted @ 2019-02-25 11:14 匠人先生 阅读(330) 评论(0) 推荐(1)
摘要: docker经常需要挂载文件到容器中,比如启动nginx # docker run -d --name test_nginx -v /tmp/nginx.conf:/etc/nginx/nginx.conf nginx 然后就有修改配置文件然后刷新的功能,如果直接用vi编辑宿主机文件 # vi /t 阅读全文
posted @ 2019-02-23 22:19 匠人先生 阅读(3107) 评论(0) 推荐(0)
摘要: Cluster OS&Platform redhat/centos7, docker, mesos, cloudera manager(cdh) Checklist 1 check user & password & network reachability, make sure everythin 阅读全文
posted @ 2019-02-22 23:33 匠人先生 阅读(315) 评论(0) 推荐(0)
摘要: #!/bin/sh 1 取脚本参数 $# 参数个数$0 当前脚本名$1 第1个参数$n 第n个参数$* 所有参数$@ 所有参数$? 上个命令的状态$$ 当前pid 取当前目录 $(cd `dirname $0`; pwd) 2 日期 $ dateWed Mar 27 17:27:18 CST 201 阅读全文
posted @ 2019-02-22 11:13 匠人先生 阅读(482) 评论(0) 推荐(0)
上一页 1 ··· 17 18 19 20 21 22 23 24 25 ··· 37 下一页