Skip to content

Commit f870c0e

Browse files
Merge pull request #235682 from sreekzz/patch-159
Freshness MS date Update
2 parents d32ff7c + 5a530ee commit f870c0e

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

articles/hdinsight/interactive-query/interactive-query-troubleshoot-view-time-out.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Apache Hive View times out from query result - Azure HDInsight
33
description: Apache Hive View times out when fetching a query result in Azure HDInsight
44
ms.service: hdinsight
55
ms.topic: troubleshooting
6-
ms.date: 02/11/2022
6+
ms.date: 04/24/2023
77
---
88

99
# Scenario: Apache Hive View times out when fetching a query result in Azure HDInsight
@@ -12,7 +12,7 @@ This article describes troubleshooting steps and possible resolutions for issues
1212

1313
## Issue
1414

15-
When running certain queries from the Apache Hive view, the following error may be encountered:
15+
When you run certain queries from the Apache Hive view, the following error may be encountered:
1616

1717
```
1818
ERROR [ambari-client-thread-1] [HIVE 2.0.0 AUTO_HIVE20_INSTANCE] NonPersistentCursor:131 - Result fetch timed out
@@ -51,7 +51,7 @@ java.util.concurrent.TimeoutException: deadline passed
5151

5252
## Cause
5353

54-
The Hive View default timeout value may not be suitable for the query you are running. The specified time period is too short for the Hive View to fetch the query result.
54+
The Hive View default timeout value may not be suitable for the query you're running. The specified time period is too short for the Hive View to fetch the query result.
5555

5656
## Resolution
5757

@@ -61,22 +61,22 @@ The Hive View default timeout value may not be suitable for the query you are ru
6161
```
6262
Confirm the Hive View instance name `AUTO_HIVE20_INSTANCE` by going to YOUR_USERNAME > Manage Ambari > Views. Get the instance name from the Name column. If it doesn't match, then replace this value. **Do not use the URL Name column**.
6363

64-
2. Restart the active Ambari server by running the following. If you get an error message saying it's not the active Ambari server, just ssh into the next headnode and repeat this step. Note down the PID of the current Ambari server process.
64+
2. Restart the active Ambari server by running the following. If you get an error message saying it's not the active Ambari server, ssh into the next headnode and repeat this step. Note down the PID of the current Ambari server process.
6565
```
6666
sudo ambari-server status
6767
sudo systemctl restart ambari-server
6868
```
69-
3. Confirm Ambari server actually restarted. If you followed the steps, you will notice the PID has changed.
69+
3. Confirm Ambari server restarted. If you followed the steps, you notice the PID has changed.
7070
```
7171
sudo ambari-server status
7272
```
7373

7474
## Notes
75-
If you get a 502 error, then that is coming from the HDI gateway. You can confirm by opening web inspector, go to network tab, then re-submit query. You'll see a request fail, returning a 502 status code, and the time will show 2 mins elapsed.
75+
If you get a 502 error, then that is coming from the HDI gateway. You can confirm by opening web inspector, go to network tab, then resubmit query. You see a request fail, returning a 502 status code, and the time shows two mins elapsed.
7676

77-
The query is not suited for Hive View. It is recommended that you either try the following instead:
77+
The query isn't suited for Hive View. It's recommended that you either try the following instead:
7878
- Use beeline
79-
- Re-write the query to be more optimal
79+
- Rewrite the query to be more optimal
8080

8181
## Next steps
8282

0 commit comments

Comments
 (0)