Skip to content

Commit b17975d

Browse files
authored
Merge pull request #102137 from dagiro/ts_yarn2
ts_yarn2
2 parents 544cd6a + 3f4b557 commit b17975d

File tree

2 files changed

+50
-0
lines changed

2 files changed

+50
-0
lines changed

articles/hdinsight/TOC.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -511,6 +511,8 @@
511511
href: ./hdinsight-troubleshoot-hdfs.md
512512
- name: Apache Hadoop YARN troubleshooting
513513
href: ./hdinsight-troubleshoot-yarn.md
514+
- name: Invalid BCFile error from Yarn log
515+
href: ./hadoop/troubleshoot-yarn-log-invalid-bcfile.md
514516
- name: Troubleshoot Data Lake Store files
515517
href: ./hadoop/hdinsight-troubleshoot-data-lake-files.md
516518
- name: Port conflict when starting services
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
---
2+
title: Unable to read Apache Yarn log in Azure HDInsight
3+
description: Troubleshooting steps and possible resolutions for issues when interacting with Azure HDInsight clusters.
4+
author: hrasheed-msft
5+
ms.author: hrasheed
6+
ms.reviewer: jasonh
7+
ms.service: hdinsight
8+
ms.topic: troubleshooting
9+
ms.date: 01/23/2020
10+
---
11+
12+
# Scenario: Unable to read Apache Yarn log in Azure HDInsight
13+
14+
This article describes troubleshooting steps and possible resolutions for issues when interacting with Azure HDInsight clusters.
15+
16+
## Issue
17+
18+
The Apache Yarn logs found from storage account isn't human-readable. The file parser doesn't work and produces the following error message:
19+
20+
```
21+
java.io.IOException: Not a valid BCFile.
22+
```
23+
24+
## Cause
25+
26+
The Apache Yarn log is aggregated into `IndexFile` format, which is not supported by the file parser.
27+
28+
## Resolution
29+
30+
1. From a web browser, navigate to `https://CLUSTERNAME.azurehdinsight.net`, where `CLUSTERNAME` is the name of your cluster.
31+
32+
1. From Ambari UI, navigate to **YARN** > **Configs** > **Advanced** > **Advanced yarn-site**.
33+
34+
1. For WASB storage: The default value for `yarn.log-aggregation.file-formats` is `IndexedFormat,TFile`. Change the value to `TFile`.
35+
36+
1. For ADLS storage: The default value for `yarn.nodemanager.log-aggregation.compression-type` is `gz`. Change the value to `none`.
37+
38+
1. Save the change and restart all affected services.
39+
40+
## Next steps
41+
42+
If you didn't see your problem or are unable to solve your issue, visit one of the following channels for more support:
43+
44+
* Get answers from Azure experts through [Azure Community Support](https://azure.microsoft.com/support/community/).
45+
46+
* 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.
47+
48+
* 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)