Hbase安装 安装 tar xzf hbase-x.y.z.tar.gz export HBASE_HOME=~/sw/hbase-x.y.z % export PATH=$PATH:$HBASE_HOME/bin Hbase操作列表 $>hbas...
Continue readingHbase简介 HBase是一个开源的非关系型分布式数据库(NoSQL),它参考了谷歌的BigTable建模,实现的编程语言为 Java。它是Apache软件基金会的Hadoop项目的一部分,运行于HDFS文件系统之上,为 Hadoop 提供类似于BigTable 规模的服...
Continue reading由于Hadoop是一个集群配置起来非常繁琐,一般使用scp远程拷贝把文件复制到宿主结点上去,这样维护和管理就会非常麻烦.Apache认识到了这一点,给我们提供了一个软件就是Ambari,中文的意思是洋麻,帮助我们管理集群. Ambari 基于Web的管理工具,用于管理,监控...
Continue reading串行收集器 最古老,最稳定 效率高 可能会产生较长的停顿 -XX:+UseSerialGC 新生代、老年代使用串行回收 新生代复制算法 老年代标记-压缩 0.844: [GC 0.844: [DefNew: 17472K->217...
Continue readingZooKeeper Server leader 只有1个,负责管理集群 follower 多个,执行leader指令。leader挂掉,重新选举leader Leader选举过程 首先在/节点下创建ephemeral(临时的)目录/elect。 每个zk服务...
Continue reading类 org.apache.zookeeper org.apache.zookeeper.data org.apache.zookeeper.server org.apache.zookeeper.server.quorum org.apache.zook...
Continue readingZooKeeper客户端命令 通过客户端脚本zkCli.sh连接到服务器 ls / //列出zk中包含的内容 create /node1 helloworld //创建node1节点并指定关联字符串 get /node1 //查询节点数据 ...
Continue readingNetCat nc:netcat 瑞士军刀,方便网络通信 模拟TCP,UDP网络通信 语法 服务端:nc -l port //指定监听的端口号 客户端:nc ip port //指定服务器的ip和监听端口号 传输文件 服务端:nc -l po...
Continue reading