E-MapReduce集群如何使用Phoenix on HBase
E-MapReduce的emr-2.0.0以下的HBase集群中并不包含Phoenix,也没有启动yarn,下面介绍一种通过创建集群时设置的引导操作来完成集群上Phoenix的部署。 HBase+Phoenix部署 HBase+Yarn+Phoenix部署 HBase+Phoenix部署 1.引导操作shell脚本(phoenix_bootstrap.sh) 入参: 参数名 取值 备注 regionId cn-hangzhou/cn-beijing 创建集群所在的regionId isVpc 0/1 创建的是否是vpc集群 #!/bin/bash regionId="$1" isVpc=$2 echo $regionId echo $isVpc if [ ! $regionId ]; then regionId="cn-hangzho