MicrosoftDocs / azure-docs

Open source documentation of Microsoft Azure
https://docs.microsoft.com/azure
Creative Commons Attribution 4.0 International
10.26k stars 21.43k forks source link

HUE script action failing multiple times #12612

Closed saimanojkumarnandam closed 6 years ago

saimanojkumarnandam commented 6 years ago

I tried running the HUE script action for installing HUE on Head nodes following instruction on this link https://docs.microsoft.com/en-us/azure/hdinsight/hdinsight-hadoop-hue-linux. But it has been multiple times from last couple of days. It used to be working perfectly a week back. I tried searching logs and found the following error in the log.

Verification successful Verification successful Traceback (most recent call last): File "/var/lib/ambari-agent/cache/custom_actions/scripts/run_customscriptaction.py", line 194, in ExecuteScriptAction().execute() File "/usr/lib/ambari-agent/lib/resource_management/libraries/script/script.py", line 329, in execute method(env) File "/var/lib/ambari-agent/cache/custom_actions/scripts/run_customscriptaction.py", line 179, in actionexecute ExecuteScriptAction.execute_bash_script(bash_script, scriptpath, scriptparams) File "/var/lib/ambari-agent/cache/custom_actions/scripts/run_customscriptaction.py", line 149, in execute_bash_script raise Exception("Execution of custom script failed with exit code",exitcode) Exception: ('Execution of custom script failed with exit code', 135) ~


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

AdamS-MSFT commented 6 years ago

@saimanojkumarnandam Thank you for the valuable feedback,we are investigating the issue.

saimanojkumarnandam commented 6 years ago

Thanks, Looking forward for the response.

JasonWHowell commented 6 years ago

Hi @saimanojkumarnandam

I tried creating an HDInsight cluster from the Azure portal, picking Hadoop on Linux (HDI 3.6) and it works for me today in East US 2.

The portal interface has a drop down - Install Hue, so I didn't have to provide the script file details, but I see the script is https://hdiconfigactions.blob.core.windows.net/linuxhueconfigactionv02/install-hue-uber-v02.sh

image

What kind of cluster, and what version did you try, and what region?

You may have already found the logs, but this is the command to see more. This command can be run in the Azure portal by opening the cloud shell ( >_ ) icon and typing the code.

azure hdinsight script-action history list <yourclustername>
azure hdinsight script-action history show <yourclustername>  <ScriptExecutionId>

Could have been an issue that was fixed centrally, or a transient issue, or something specific to the cluster configuration. You might need to work with Azure assisted support to further review the logs of the failure (since we cannot do that in the git issues interaction).

Thanks, Jason

JasonWHowell commented 6 years ago

@saimanojkumarnandam Did you try again, or does the problem persist? Let us know how its going. Thanks, Jason

JasonWHowell commented 6 years ago

please-close