Hbaseapi is stuck while executing, program deadlock

Source: Internet
Author: User
Keywords Hbase hbaseapi
Tags code configuration distributed find help java problems set

General procedures have problems can be through the log or thrown out of the anomaly to find the reason, but today encountered this problem let me this novice feel very tricky, because the program did not complain, the log did not show errors, the card died, finally in the teacher's help to solve the problem.

I'm building distributed hbase, not pseudo distributed, and the problem is that in Java programs I configure distributed with the same configuration method as pseudo distributed, and the code is as follows:

Conf.set ("Hbase.zookeeper.quorum", "master:2181");

Conf.set ("Hbase.zookeeper.quorum", "master:2181,slave1:2181,slave2:2181"); Right, you need to configure the distributed 3 nodes.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.