This page contains Windows bias

About This Page

This page is part of the Azure documentation. It contains code examples and configuration instructions for working with Azure services.

Bias Analysis

Bias Types:
⚠️ powershell_heavy
⚠️ windows_first
⚠️ missing_linux_example
⚠️ windows_tools
Summary:
The documentation page demonstrates a Windows bias by exclusively providing PowerShell-based instructions and examples for rebooting HDInsight cluster VMs, without offering equivalent CLI or Bash examples for Linux users. The PowerShell method is presented first and in detail, while no Azure CLI, SSH, or Linux-native tooling is mentioned. This may disadvantage users working from Linux or macOS environments.
Recommendations:
  • Add equivalent instructions and examples using Azure CLI (az hdinsight) for listing and rebooting nodes, as Azure CLI is cross-platform and widely used on Linux.
  • Provide Bash or shell script examples for interacting with the REST API (e.g., using curl or httpie) to reboot nodes, including sample request bodies and authentication guidance.
  • Explicitly mention that PowerShell examples are for Windows users, and provide parallel guidance for Linux/macOS users.
  • Consider reordering or presenting PowerShell and CLI/Bash examples side-by-side to ensure parity and inclusivity.
  • Reference relevant Linux tools or commands (such as SSH, if applicable) for troubleshooting or interacting with cluster VMs.
GitHub Create pull request

Scan History

Date Scan ID Status Bias Status
2025-08-17 00:01 #83 in_progress ✅ Clean
2025-07-13 21:37 #48 completed ❌ Biased
2025-07-12 23:44 #41 in_progress ❌ Biased
2025-07-09 13:09 #3 cancelled ✅ Clean
2025-07-08 04:23 #2 cancelled ❌ Biased

Flagged Code Snippets

Get-AzHDInsightHost -ClusterName myclustername
Restart-AzHDInsightHost -ClusterName myclustername -Name wn0-myclus, wn1-myclus