hbase shell 命令

查看所有表 list 创建表 create ‘表名’,{‘列族名’ => ‘列名’, VERSIONS => 2} 查看表的结构 describe ‘表名’ 查询表 scan ‘表名’,{LIMIT=>5} 查询表的前5条数据 get ‘表名’,’行名’ 查询表某行的所有数据 get ‘表名’,’行名’,’列族名:列名’ 查询表某行某列族某 …

Linux命令整理

# 查询程序进程号 ps -ef | grep “程序名” # 干掉进程 kill -9 进程号 # 一键安装nginx到/etc yum install nginx # 启动nginx service nginx start # 重启nginx service nginx restart # 一键安装tomcat到/etc yum -y install tomcat tomcat-webapps tomcat-admin-webapps tomcat-docs-webapp tomcat-javadoc rpm -Uvh http://dl.fedoraproject …