๋ฐ˜์‘ํ˜•

hbase์—๋Š” ์ฃผํ‚คํผ๊ฐ€ ๋‚ด์žฅ๋˜์–ด์žˆ๋‹ค.

hbase-env.sh

export HBASE_MANAGES_ZK=true
export HBASE_MANAGES_ZK=false

true๋ฉด hbase์— ๋‚ด์žฅ๋˜์–ด ์žˆ๋Š” zookeeper ์‚ฌ์šฉ

false๋ฉด zookeeper ์‚ฌ์šฉ

 

hbase-site.xml

    <property>
      <name>hbase.zookeeper.property.clientPort</name>
      <value>2181</value>
    </property>
    <property>
      <name>hbase.zookeeper.quorum</name>
      <value>hostname1,hostname2,hostname3</value>
    </property>

zookeeper ํฌํŠธ ๋ฒˆํ˜ธ์™€ ์ฃผํ‚คํผ ์‹คํ–‰ํ•˜๋Š” ํ˜ธ์ŠคํŠธ ์ด๋ฆ„๋“ค์„ ์ ์–ด์ค˜์•ผ๋œ๋‹ค.

 

728x90
๋ฐ˜์‘ํ˜•

+ Recent posts