Reply
New Contributor
Posts: 5
Registered: ‎07-06-2015

Clouder director Supplied script has failed with exit code 2 and hit the maximum number of retries

Hi All,

Try to install CDM / CDH (5.15) using cloudera directory 2.8 , in Bootstrap configuration supplied the repo location for CDM and CDH. Installed failed. Please help.

 

Bootstrap configuration:

 

cloudera-manager {

  repository: "http://ec2-54.compute-1.amazonaws.com:9081/"

  repositoryKeyUrl: "http://ec2-54.compute-1.amazonaws.com:9081/RPM-GPG-KEY-cloudera"

}

cluster {

 products {

 CDH: 5

 }

 parcelRepositories: ["http://ec2-54.compute-1.amazonaws.com:9082/", "http://ec2-54.compute-1.amazonaws.com:9082/CDH-5.15.0-1.cdh5.15.0.p0.21-el7.parcel.sha1"]

}

 

Installation got failed with below error.

Error :

 

ents com.cloudera.launchpad.pipeline.SudoRunScriptWithRetryTolerateFailures$EvaluateResultAndRetry - c.c.l.pipeline.util.PipelineRunner: >> SudoRunScriptWithRetryTolerateFailures$EvaluateResultAndRetry/7 [[/tmp/cloudera-director-script-6536824f-09a5-4cea-ae29-4310f6dda29d: line 1: cloudera-manager: comm ...

[2018-07-16 14:09:53.540 +0000] ERROR [p-dfc30dc4e9a3-DefaultBootstrapDeploymentJob] 5a6e659b-b0cc-48c7-b2dc-0e67158a2967 POST /api/v12/environments/POC_testing/deployments com.cloudera.launchpad.pipeline.SudoRunScriptWithRetryTolerateFailures$EvaluateResultAndRetry - c.c.l.pipeline.util.PipelineRunner: Attempt to execute job failed

com.cloudera.launchpad.pipeline.UnrecoverablePipelineError: Supplied script has failed with exit code 2 and hit the maximum number of retries or a non-retryable failure.

        at com.cloudera.launchpad.pipeline.SudoRunScriptWithRetryTolerateFailures$EvaluateResultAndRetry.run(SudoRunScriptWithRetryTolerateFailures.java:144)

        at com.cloudera.launchpad.pipeline.SudoRunScriptWithRetryTolerateFailures$EvaluateResultAndRetry.run(SudoRunScriptWithRetryTolerateFailures.java:111)

        at com.cloudera.launchpad.pipeline.job.Job7.runUnchecked(Job7.java:38)

        at com.cloudera.launchpad.pipeline.job.Job7$$FastClassBySpringCGLIB$$54178507.invoke(<generated>)

        at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)

        at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:738)

        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocati

Cloudera Employee
Posts: 74
Registered: ‎10-28-2014

Re: Clouder director Supplied script has failed with exit code 2 and hit the maximum number of retr

robinwood,

 

I'm afraid that there's not enough information in your log snippet for me to tell what failed. Can you supply a larger portion of the logs preceeding this error?

 

Log lines marked with [p-dfc30dc4e9a3-DefaultBootstrapDeploymentJob] are for this thread that experienced the error. Also look for some [io-thread-?] log lines that are the output from the script execution. Those may give us some more clues as to why the error occurred.

 

Highlighted
New Contributor
Posts: 4
Registered: ‎01-03-2017

Re: Clouder director Supplied script has failed with exit code 2 and hit the maximum number of retr

Hi, I'm having also a problem with the same script version, I'm explained here: http://community.cloudera.com/t5/Cloudera-Director-Cloud-based/Error-creating-cluster-with-Cloudera-...
Announcements