暂时还未开始整理
启动HBase集群:
bin/start-hbase.sh
单独启动一个HMaster进程:
bin/hbase-daemon.shstartzookeeper
单独启动一个HMaster进程:
bin/hbase-daemon.shstartmaster
单独停止一个HMaster进程:
bin/hbase-daemon.shstopmaster
单独启动一个HRegionServer进程:
bin/hbase-daemon.shstartregionserver
单独停止一个HRegionServer进程:
bin/hbase-daemon.shstopregionserver
hbase-env.sh
exportJAVA_HOME=/usr/java/jdk1.7.0_67-cloudera
exportHBASE_CLASSPATH=/opt/hadoop-2.5.0-cdh5.3.0/etc/hadoop
exportHBASE_MANAGES_ZK=true
hbase-site.xml
<configuration>
<property>
<name>hbase.rootdir</name>
<value>hdfs://localhost:9000/hbase</value>
</property>
<property>
<name>hbase.cluster.distributed</name>
<value>true</value>
</property>
</configuration>
http://www.cnblogs.com/yongjian/archive/2017/03/23/6607984.html
http://blog.csdn.net/winfield821/article/details/50509609
http://blog.csdn.net/jack85986370/article/details/51902871
http://archive.cloudera.com/cdh5/redhat/5/x86_64/cdh/5.3.0/RPMS/x86_64/
http://archive.cloudera.com/cdh5/cdh/5/
hive运行前需要执行schematool-dbTypemysql-initSchema进行初始化
Kylinversion=1.2
Hiveversion=0.13.1-cdh5.3.2
HBaseversion=0.98.6+cdh5.3.2
Hadoopversion=2.5.0-cdh5.3.2
http://www.cnblogs.com/en-heng/p/5170876.html
JAVA_HOME=/usr/java/jdk1.8.0_144
PATH=$JAVA_HOME/bin:$PATH
HADOOP_HOME=/opt/hadoop-2.5.0-cdh5.3.0
HADOOP_COMMON_LIB_NATIVE_DIR=/opt/hadoop-2.5.0-cdh5.3.0/lib/native
HADOOP_OPTS="-Djava.library.path=/opt/hadoop-2.5.0-cdh5.3.0/lib"
HIVE_HOME=/opt/apache-hive-2.1.1-bin
HBASE_HOME=/opt/hbase-0.98.6-cdh5.3.0
CLASS_PATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tool.jar
PATH=$PATH:$JAVA_HOME/bin:$JRE_HOME/bin:$HADOOP_HOME/bin:$HADOOP_HOME/sbin:$HADOOP_COMMON_LIB_NATIVE_DIR:$HADOOP_OPTS:$HIVE_HOME/bin:$HBASE_HOME/bin
exportJAVA_HOMECLASS_PATHPATHHADOOP_HOMEHADOOP_COMMON_LIB_NATIVE_DIRHADOOP_OPTSHIVE_HOMEHBASE_HOME
exportHCAT_HOME=$HIVE_HOME/hcatalog
exportHIVE_CONF=$HIVE_HOME/conf
exportKYLIN_HOME=/opt/apache-kylin-2.1.0-bin-cdh57