Problema com o deploy do juju hadoop

3

Eu me deparei com um problema ao implantar o feitiço juju hadoop.

bootstrap juju funciona bem, mas quando eu uso juju deploy hadoop hadoop-master , recebo um erro de instalação.

O status do juju me dá:

machines:
  0:
    agent-state: running
    dns-name: localhost
    instance-id: local
    instance-state: running
services:
    hadoop-master:
    charm: cs:precise/hadoop-5
    relations: {}
    units:
    hadoop-master/0:
    agent-state: install-error
    machine: 0
    public-address: xx.x.x.xxx

Aqui está o meu debug-log juju:

2013-01-29 07:35:44,689 unit:hadoop-master/0: hook.output INFO: ldconfig deferred processing now taking place

2013-01-29 07:35:45,208 unit:hadoop-master/0: hook.output INFO: Errors were encountered while processing:
 grub-pc

2013-01-29 07:35:45,220 unit:hadoop-master/0: hook.output INFO: E: Sub-process /usr/bin/dpkg returned an error code (1)

2013-01-29 07:35:45,223 unit:hadoop-master/0: hook.output DEBUG: hook install exited, exit code Traceback (most recent call last):
Failure: juju.errors.CharmInvocationError: Error processing '/var/lib/juju/units/hadoop-master-0/charm/hooks/install': exit code 100.
.
2013-01-29 07:35:45,223 unit:hadoop-master/0: hook.executor DEBUG: Hook error: /var/lib/juju/units/hadoop-master-0/charm/hooks/install Error processing '/var/lib/juju/units/hadoop-master-0/charm/hooks/install': exit code 100.
2013-01-29 07:35:45,224 unit:hadoop-master/0: statemachine DEBUG: unitworkflowstate:  executing error transition error_install, Error processing '/var/lib/juju/units/hadoop-master-0/charm/hooks/install': exit code 100.
2013-01-29 07:35:45,582 unit:hadoop-master/0: statemachine DEBUG: unitworkflowstate: transition error_install (None -> install_error) {}
2013-01-29 07:35:45,630 unit:hadoop-master/0: statemachine DEBUG: unitworkflowstate: transition complete error_install (state install_error) {}
2013-01-29 07:35:45,659 unit:hadoop-master/0: juju.agents.unit DEBUG: Configuration Changed
2013-01-29 07:35:45,659 unit:hadoop-master/0: juju.agents.unit DEBUG: Configuration updated on service in a non-started state
2013-01-29 07:35:45,730 unit:hadoop-master/0: juju.agents.unit INFO: No upgrade flag set.

Qual é a correção?

    
por sunggeunkim 29.01.2013 / 14:13

1 resposta

4

Como postado por user127018 (OP) em sua pergunta:

  

Solução: estou respondendo a minha pergunta. Eu poderia consertar o problema   adicionando uma linha no ~/.juju/environments.yaml :

juju-origin: proposed
     

A correção foi postada no LP Bug # 1060404 .

    
por gertvdijk 13.04.2017 / 14:25

Tags