Skip to content

Commit 7867275

Browse files
authored
Merge pull request #84628 from dagiro/ts_hbase6
Ts hbase6
2 parents e61c997 + c4ec37f commit 7867275

File tree

2 files changed

+73
-9
lines changed

2 files changed

+73
-9
lines changed

articles/hdinsight/hbase/TOC.yml

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,6 @@
2525
href: ../hdinsight-component-versioning.md?toc=/azure/hdinsight/hbase/toc.json&bc=/azure/hdinsight/hbase/breadcrumb/toc.json
2626
- name: HDInsight 4.0
2727
href: ../hdinsight-version-release.md?toc=/azure/hdinsight/hbase/toc.json&bc=/azure/hdinsight/hbase/breadcrumb/toc.json
28-
- name: Troubleshoot
29-
items:
30-
- name: Apache HBase REST not responding
31-
href: ./hbase-troubleshoot-rest-not-spending.md
32-
- name: Pegged CPU on region server
33-
href: ./hbase-troubleshoot-pegged-cpu-region-server.md
34-
- name: Timeouts with 'hbase hbck' command
35-
href: ./hbase-troubleshoot-timeouts-hbase-hbck.md
3628
- name: How to
3729
items:
3830
- name: Use cluster storage
@@ -167,8 +159,17 @@
167159
- name: OS patching for HDInsight cluster
168160
href: ../hdinsight-os-patching.md?toc=/azure/hdinsight/hbase/toc.json&bc=/azure/hdinsight/hbase/breadcrumb/toc.json
169161
- name: Troubleshoot
170-
href: ../hdinsight-troubleshoot-guide.md?toc=/azure/hdinsight/hbase/toc.json&bc=/azure/hdinsight/hbase/breadcrumb/toc.json
171162
items:
163+
- name: Troubleshoot resources
164+
href: ../hdinsight-troubleshoot-guide.md?toc=/azure/hdinsight/hbase/toc.json&bc=/azure/hdinsight/hbase/breadcrumb/toc.json
165+
- name: Apache Phoenix connectivity issues
166+
href: ./hbase-troubleshoot-phoenix-connectivity.md
167+
- name: Apache HBase REST not responding
168+
href: ./hbase-troubleshoot-rest-not-spending.md
169+
- name: Pegged CPU on region server
170+
href: ./hbase-troubleshoot-pegged-cpu-region-server.md
171+
- name: Timeouts with 'hbase hbck' command
172+
href: ./hbase-troubleshoot-timeouts-hbase-hbck.md
172173
- name: Troubleshoot a slow or failing HDInsight cluster
173174
href: ../hdinsight-troubleshoot-failed-cluster.md?toc=/azure/hdinsight/hbase/toc.json&bc=/azure/hdinsight/hbase/breadcrumb/toc.json
174175
- name: Apache Hadoop HDFS troubleshooting
Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
---
2+
title: Apache Phoenix connectivity issues in Azure HDInsight
3+
description: Apache Phoenix connectivity issues in Azure HDInsight
4+
ms.service: hdinsight
5+
ms.topic: troubleshooting
6+
author: hrasheed-msft
7+
ms.author: hrasheed
8+
ms.date: 08/07/2019
9+
---
10+
11+
# Scenario: Apache Phoenix connectivity issues in Azure HDInsight
12+
13+
This article describes troubleshooting steps and possible resolutions for issues when interacting with Azure HDInsight clusters.
14+
15+
## Issue
16+
17+
Unable to connect to Apache HBase with Apache Phoenix. Reasons may vary.
18+
19+
## Cause: Incorrect IP
20+
21+
Incorrect IP of active zookeeper node.
22+
23+
### Resolution
24+
25+
The IP of active zookeeper node can be identified from Ambari UI, by following the links to **HBase -> Quick Links -> ZK*** **(Active) -> Zookeeper Info**. Correct as needed.
26+
27+
---
28+
29+
## Cause: SYSTEM.CATALOG table offline
30+
31+
When running commands such as `!tables`, you receive an error message similar to:
32+
33+
```
34+
Error while connecting to sqlline.py (Hbase - phoenix) Setting property: [isolation, TRANSACTION_READ_COMMITTED] issuing: !connect jdbc:phoenix:10.2.0.7 none none org.apache.phoenix.jdbc.PhoenixDriver Connecting to jdbc:phoenix:10.2.0.7 SLF4J: Class path contains multiple SLF4J bindings.
35+
```
36+
37+
When running commands such as `count 'SYSTEM.CATALOG'`, you receive an error message similar to:
38+
39+
```
40+
ERROR: org.apache.hadoop.hbase.NotServingRegionException: Region SYSTEM.CATALOG,,1485464083256.c0568c94033870c517ed36c45da98129. is not online on 10.2.0.5,16020,1489466172189)
41+
```
42+
43+
### Resolution
44+
45+
Restart the HMaster service on all the zookeeper nodes from Ambari UI.
46+
47+
1. Go to **HBase -> Active HBase Master** link in summary section of HBase.
48+
49+
1. In **Components** section, restart the HBase Master service.
50+
51+
1. Repeat the above steps for remaining **Standby HBase Master** services.
52+
53+
It can take up-to 5 minutes for HBase Master service to stabilize and finish the recovery. Once the `SYSTEM.CATALOG` table is back to normal, the connectivity issue to Apache Phoenix should get resolved automatically.
54+
55+
## Next steps
56+
57+
If you didn't see your problem or are unable to solve your issue, visit one of the following channels for more support:
58+
59+
* Get answers from Azure experts through [Azure Community Support](https://azure.microsoft.com/support/community/).
60+
61+
* Connect with [@AzureSupport](https://twitter.com/azuresupport) - the official Microsoft Azure account for improving customer experience. Connecting the Azure community to the right resources: answers, support, and experts.
62+
63+
* If you need more help, you can submit a support request from the [Azure portal](https://portal.azure.com/?#blade/Microsoft_Azure_Support/HelpAndSupportBlade/). Select **Support** from the menu bar or open the **Help + support** hub. For more detailed information, review [How to create an Azure support request](https://docs.microsoft.com/azure/azure-supportability/how-to-create-azure-support-request). Access to Subscription Management and billing support is included with your Microsoft Azure subscription, and Technical Support is provided through one of the [Azure Support Plans](https://azure.microsoft.com/support/plans/).

0 commit comments

Comments
 (0)