You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ambari.apache.org by Joshi Omkar <om...@scania.com> on 2015/04/30 15:22:01 UTC

Ambari 2.0 python script killed due to timeout

Hi,

I'm trying to install a 8-node HDP using Ambari 2.0.

In the 'Advanced Repository Option', I had kept the public repo. URL as all hosts have Internet connectivity.

Two attempts to do the same failed with several nodes having failures with the same msg. in stderr :

Python script has been killed due to timeout after waiting for 1800 seconds

Which parameters shall I tweak to proceed with installation ?

Regards,
Omkar


Re: Ambari 2.0 python script killed due to timeout

Posted by Sean Roberts <sr...@hortonworks.com>.
Omkar - The settings are in /etc/ambari-server/conf/ambari.properties.

I do the following to raise the task & package timeouts to 2700. Tweak 
the numbers as high as you want.

```
sed -e 's/\(agent.task.timeout=\).*/\12700/' \
        -e 's/\(agent.package.install.task.timeout=\).*/\12700/' \
        -i /etc/ambari-server/conf/ambari.properties
```

-- 
Hortonworks - We do Hadoop

Sean Roberts
Partner Solutions Engineering - EMEA
@seano
On 30 Apr 2015, at 14:22, Joshi Omkar wrote:

> Hi,
>
> I'm trying to install a 8-node HDP using Ambari 2.0.
>
> In the 'Advanced Repository Option', I had kept the public repo. URL 
> as all hosts have Internet connectivity.
>
> Two attempts to do the same failed with several nodes having failures 
> with the same msg. in stderr :
>
> Python script has been killed due to timeout after waiting for 1800 
> seconds
>
> Which parameters shall I tweak to proceed with installation ?
>
> Regards,
> Omkar