This isn't a Capistrano problem There's something wrong with your
Hardoop/BigTable configuration. These kind of tasks are in any case better
written as Rake tasks or similar, and then simply called from Capistrano.

Lee Hambley
--
http://lee.hambley.name/
+49 (0) 170 298 5667


On 1 March 2013 08:18, Harikrishnan K R <[email protected]> wrote:

> hello users,
>
>        i have a problem with my Capistrano commands..while i am doing "cap
> cleandb", im getting  the following errors so i cant execute it
> successfully..
> im getting the following error while im doing "cap cleandb"
>
>
>
>
>
>
> hduser@HadoopMaster:/var/www$ cap cleandb
> /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:1060: Use RbConfig instead
> of obsolete and deprecated Config.
>   * 2013-03-01 07:03:04 executing `cleandb'
> This will DELETE ALL DATA stored in the Hypertable instance with
> MASTER='HadoopMaster'. ARE YOU SURE you want to proceed? ('Yes' to proceed)
> Yes
>  ** transaction: start
>   * 2013-03-01 07:03:10 executing `clean_master'
>   * executing "/opt/hypertable/current/bin/start-dfsbroker.sh hadoop
> --config=/opt/hypertable/0.9.6.5/conf/hypertable.cfg &&
> /opt/hypertable/current/bin/clean-database.sh --config=/opt/hypertable/
> 0.9.6.5/conf/hypertable.cfg &&  \\\n
> /opt/hypertable/current/bin/stop-monitoring.sh ;"
>     servers: ["HadoopMaster"]
>     [HadoopMaster] executing command
>  ** [out :: HadoopMaster] DFS broker: available file descriptors: 1024
>  ** [out :: HadoopMaster] Waiting for DFS Broker (hadoop)
> (localhost:38030) to come up...
>  ** [out :: HadoopMaster] Waiting for DFS Broker (hadoop)
> (localhost:38030) to come up...
>  ** [out :: HadoopMaster] Waiting for DFS Broker (hadoop)
> (localhost:38030) to come up...
>  ** [out :: HadoopMaster] Waiting for DFS Broker (hadoop)
> (localhost:38030) to come up...
>  ** [out :: HadoopMaster] Waiting for DFS Broker (hadoop)
> (localhost:38030) to come up...
>  ** [out :: HadoopMaster] Waiting for DFS Broker (hadoop)
> (localhost:38030) to come up...
>  ** [out :: HadoopMaster] Waiting for DFS Broker (hadoop)
> (localhost:38030) to come up...
>  ** [out :: HadoopMaster] Waiting for DFS Broker (hadoop)
> (localhost:38030) to come up...
>  ** [out :: HadoopMaster] ERROR: DFS Broker (hadoop) did not come up
>     command finished in 128214ms
> failed: "sh -c '/opt/hypertable/current/bin/start-dfsbroker.sh
> hadoop       --config=/opt/hypertable/0.9.6.5/conf/hypertable.cfg &&
> /opt/hypertable/current/bin/clean-database.sh --config=/opt/hypertable/
> 0.9.6.5/conf/hypertable.cfg &&  \\\n
> /opt/hypertable/current/bin/stop-monitoring.sh ;'" on HadoopMaster
>
>
> please help...
>
> --
> --
> * You received this message because you are subscribed to the Google
> Groups "Capistrano" group.
> * To post to this group, send email to [email protected]
> * To unsubscribe from this group, send email to
> [email protected] For more options, visit this
> group at http://groups.google.com/group/capistrano?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "Capistrano" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
-- 
* You received this message because you are subscribed to the Google Groups 
"Capistrano" group.
* To post to this group, send email to [email protected]
* To unsubscribe from this group, send email to 
[email protected] For more options, visit this group at 
http://groups.google.com/group/capistrano?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Capistrano" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to