Hbase managed zookeeper suddenly trying to connect to localhost instead of zookeeper quorum

前端 未结 3 1255
[愿得一人]
[愿得一人] 2021-01-12 21:08

I was running some tests with table mappers and reducers on large scale problems. After a certain point my reducers started failing when the job was 80% done. From what I

3条回答
  •  夕颜
    夕颜 (楼主)
    2021-01-12 21:21

    I've had same problem when running HBase through Spark on Yarn. Everything was fine until suddenly it started to trying to connect to localhost instead of quorum. Setting port and quorum programmatically before HBase call fixed the issue

    conf.set("hbase.zookeeper.quorum","my.server")
    conf.set("hbase.zookeeper.property.clientPort","5181")
    

    I'm using MapR, and it has "unusual" (5181) zookeeper port

提交回复
热议问题