方案:在 Azure HDInsight 中启动服务时端口冲突Scenario: Port conflict when starting services in Azure HDInsight

本文介绍在与 Azure HDInsight 群集交互时出现的问题的故障排除步骤和可能的解决方案。This article describes troubleshooting steps and possible resolutions for issues when interacting with Azure HDInsight clusters.

问题Issue

服务无法启动。A service fails to start.

原因Cause

存在端口冲突。A port conflict exists.

解决方法Resolution

方法 1Method 1

使用以下命令获取/终止所有正在运行的受端口问题影响的进程。Use below commands to get/kill all the running processes, which are affected by the port issue.

netstat -lntp | grep <port>
ps -ef | grep <service>
kill -9 <service>

然后启动服务。Then start service.

方法 2Method 2

重新启动节点。Reboot the node.

后续步骤Next steps

如果你的问题未在本文中列出,或者无法解决问题,请访问以下渠道以获取更多支持:If you didn't see your problem or are unable to solve your issue, visit the following channel for more support:

  • 如果需要更多帮助,可以从 Azure 门户提交支持请求。If you need more help, you can submit a support request from the Azure portal.