cap cleandb Cant execute

15 views
Skip to first unread message

Harikrishnan K R

unread,
Mar 1, 2013, 2:18:19 AM3/1/13
to capis...@googlegroups.com
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...

Lee Hambley

unread,
Mar 1, 2013, 2:39:44 AM3/1/13
to capis...@googlegroups.com
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.

--
--
* You received this message because you are subscribed to the Google Groups "Capistrano" group.
* To post to this group, send email to capis...@googlegroups.com
* To unsubscribe from this group, send email to capistrano+...@googlegroups.com 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 capistrano+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply all
Reply to author
Forward
0 new messages