Manage disk space in Azure HDInsight
This article describes troubleshooting steps and possible resolutions for issues when interacting with Azure HDInsight clusters.
Hive log configurations
From a web browser, navigate to
https://CLUSTERNAME.azurehdinsight.net
, whereCLUSTERNAME
is the name of your cluster.Navigate to Hive > Configs > Advanced > Advanced hive-log4j. Review the following settings:
hive.root.logger=DEBUG,RFA
. This is the default value, modify the log level toINFO
to print fewer logs entries.log4jhive.log.maxfilesize=1024MB
. This is the default value, modify as desired.log4jhive.log.maxbackupindex=10
. This is the default value, modify as desired. If the parameter has been omitted, the generated log files will be endless.
Yarn log configurations
Review the following configurations:
Apache Ambari
From a web browser, navigate to
https://CLUSTERNAME.azurehdinsight.net
, whereCLUSTERNAME
is the name of your cluster.Navigate to Hive > Configs > Advanced > Resource Manager. Ensure Enable Log Aggregation is checked. If disabled, name nodes will keep the logs locally and not aggregate them in remote store on application completion or termination.
Ensure that the cluster size is appropriate for the workload. The workload might have changed recently or the cluster might have been resized. Scale up the cluster to match a higher workload.
/mnt/resource
might be filled with orphaned files (as if Resource Manager restart). If necessary, manually clean/mnt/resource/hadoop/yarn/log
and/mnt/resource/hadoop/yarn/local
.
Next steps
If you didn't see your problem, or are unable to solve your issue, visit one of the following channels for more support:
Get answers from Azure experts through Azure Community Support.
Connect with @AzureSupport - the official Microsoft Azure account for improving customer experience. Connecting the Azure community to the right resources: answers, support, and experts.
If you need more help, you can submit a support request from the Azure portal. Select Support from the menu bar or open the Help + support hub. For more detailed information, review How to create an 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.