![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
hadoop
qq_37587216
这个作者很懒,什么都没留下…
展开
-
hadoop集群搭建
hadoop 版本: 2.9.1集群搭建的工具: 1、开源:http://ambari.apache.org/team-list.html 2、收费:https://www.cloudera.com/一、文件下载解压 (1)编译好的 345M wget -P [download-to-dir] https://mirrors.tuna.tsinghua.edu.cn/apache/hadoop/...原创 2018-07-16 14:27:45 · 116 阅读 · 0 评论 -
使用python连接hdfs 文件系统,实现上传文件
一、在用户的根目录下写配置文件(mypython) [root@hadoop-yarn-117 ~]# vi .hdfscli.cfg [global] default.alias = dev [dev.alias] url = http://hadoop-yarn-117:50070 user = root 二、使用python 连接from hdfs import Config cli...原创 2018-07-16 14:53:21 · 3726 阅读 · 0 评论 -
hive级联查询
级联查询练习 建表: create table t_access_times(name string,month string,salary int) row format delimited fields terminated by ','; 数据: load data local initdb '/root/jilian_data.txt' into table t_access_times...原创 2018-07-17 11:18:50 · 730 阅读 · 0 评论 -
python 连接HBase服务器遇到的一个坑
在使用python连接HBase安装各种依赖包的过程中需要根据 HBase 的源码来生成一个gen-py包,我使用的是python3.5,HBase的版本是1.2.6,在/hbase-1.2.6.1/hbase-thrift/src/main/resources/org/apache/hadoop/hbase 文件夹下面有两个文件夹 thrift thrift2,网上查来的许多资料都是使用 ...原创 2018-07-24 15:27:49 · 1957 阅读 · 2 评论 -
hbase shell 操作失败查看日志遇到的一个bug
File /hbase/.tmp/hbase.version could only be replicated to 0 nodes instead of minReplication (=1). 这是由于 hadoop 的hdfs系统 中datanode没有与 namenode 连接页产生的,所以需要在namenode的 50070web页面上查看是否有datanode连接。...原创 2018-07-24 17:28:26 · 2059 阅读 · 0 评论