[err :: slave] Permission denied, please try again. Error hypertable on hadoop multinode install

781 views
Skip to first unread message

ciskshit...@gmail.com

unread,
Feb 20, 2014, 10:16:04 AM2/20/14
to hyperta...@googlegroups.com
Hello There,

I am a new to Hadoop and hypertable. I have installed hadoop and its working fine on cluster of 2 systems(MASTER and SLAVE).
I tried to install hypertable by following documentation from hypertable.com, while installing hypertable we need to run some CAP tasks, while i am executing cap tasks on master machine it shows following error

hduser@CISM479:~$ cap install_package
  * executing `install_package'
  * executing "rsync -e \"ssh -o StrictHostKeyChecking=no\" master:/home/hduser/Downloads/hypertable-0.9.7.16-linux-x86_64.deb /opt/hypertable/"
    servers: ["master", "slave"]
    [slave] executing command
*** [err :: slave] Permission denied, please try again.
*** [err :: slave] Permission denied, please try again.
*** [err :: slave] Permission denied (publickey,password).
*** [err :: slave] rsync: connection unexpectedly closed (0 bytes received so far) [Receiver]
*** [err :: slave] rsync error: error in rsync protocol data stream (code 12) at io.c(605) [Receiver=3.0.9]
    [master] executing command
    command finished in 1730ms
failed: "sh -c 'rsync -e \"ssh -o StrictHostKeyChecking=no\" master:/home/hduser/Downloads/hypertable-0.9.7.16-linux-x86_64.deb /opt/hypertable/'" on slave


My cluster cap file is located here "/home/hduser"
and it has the following configuration settings :

set :source_machine, "master"
set :install_dir,  "/opt/hypertable"
set :hypertable_version, "0.9.7.16"
set :default_pkg, "/home/hduser/Downloads/hypertable-0.9.7.16-linux-x86_64.deb"
set :default_dfs, "hadoop"
set :default_distro, "cdh3"
set :default_config, "/opt/hypertable/dev-hypertable.cfg"

role :source, "master"
role :master, "master"
role :hyperspace, "master", "slave"
role :slave,  "slave"
role :localhost, "master"
role :thriftbroker_additional
role :spare

######################### END OF USER CONFIGURATION ############################


Can you please let me know the possible cause of errors ?

Thanks and Regards

Doug Judd

unread,
Feb 20, 2014, 6:00:07 PM2/20/14
to hypertable-user
You need to have password-less ssh setup between the machines.  See Password-less SSH Login for details on how to get this setup.

- Doug


--
You received this message because you are subscribed to the Google Groups "Hypertable User" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hypertable-us...@googlegroups.com.
To post to this group, send email to hyperta...@googlegroups.com.
Visit this group at http://groups.google.com/group/hypertable-user.
For more options, visit https://groups.google.com/groups/opt_out.



--
Doug Judd
CEO, Hypertable Inc.

ciskshit...@gmail.com

unread,
Mar 5, 2014, 9:48:25 AM3/5/14
to hyperta...@googlegroups.com
Hello Doug,

Thanks for your prompt reply, It helped me to get it fixed.
Now I am getting another error

root@CISM479:~# cap start
  * executing `start'
 ** transaction: start
  * executing `start_servers'
  * executing `start_hyperspace'
  * executing "/opt/hypertable/current/bin/start-hyperspace.sh       --config=/opt/hypertable/0.9.7.16/conf/hypertable.cfg"
    servers: ["master"]
    [master] executing command
 ** [out :: master] Started Hyperspace
    command finished in 6124ms
  * executing `start_master'
  * executing "/opt/hypertable/current/bin/start-dfsbroker.sh hadoop       --config=/opt/hypertable/0.9.7.16/conf/hypertable.cfg &&\\\n   /opt/hypertable/current/bin/start-master.sh --config=/opt/hypertable/0.9.7.16/conf/hypertable.cfg &&\\\n   /opt/hypertable/current/bin/start-monitoring.sh"
    servers: ["master"]
    [master] executing command
 ** [out :: master] DFS broker: available file descriptors: 1024
 ** [out :: master] Started DFS Broker (hadoop)
 ** [out :: master] Started Hypertable.Master
*** [err :: master] /opt/hypertable/current/bin/ht-monitoring.sh: line 30: thin: command not found
    command finished in 13384ms
failed: "sh -c '/opt/hypertable/current/bin/start-dfsbroker.sh hadoop       --config=/opt/hypertable/0.9.7.16/conf/hypertable.cfg &&\\\n   /opt/hypertable/current/bin/start-master.sh --config=/opt/hypertable/0.9.7.16/conf/hypertable.cfg &&\\\n   /opt/hypertable/current/bin/start-monitoring.sh'" on master

can you please help me out with this one ?
Thanks again.

Doug Judd

unread,
Mar 5, 2014, 11:56:09 AM3/5/14
to hypertable-user
You need to install the monitoring system dependencies on the master machines.  See the Installation section of our Monitoring System documentation.  I will file an issue to have these instructions moved to the installation guide.

- Doug


--
You received this message because you are subscribed to the Google Groups "Hypertable User" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hypertable-us...@googlegroups.com.
To post to this group, send email to hyperta...@googlegroups.com.
Visit this group at http://groups.google.com/group/hypertable-user.
For more options, visit https://groups.google.com/groups/opt_out.

ciskshit...@gmail.com

unread,
Mar 7, 2014, 6:52:19 AM3/7/14
to hyperta...@googlegroups.com
Okay thanks, another issue (hopefully the last one ;P )

1394187033 ERROR Hypertable.Master : set (/root/src/hypertable/src/cc/Hypertable/Lib/TableMutator.cc:89): Hypertable::Exception: Problem getting attribute 'Location' of hyperspace file '/hypertable/root' - HYPERSPACE attribute not found
    at void Hyperspace::Session::attr_get(uint64_t, const string&, Hypertable::DynamicBuffer&, Hypertable::Timer*) (/root/src/hypertable/src/cc/Hyperspace/Session.cc:546)

Your master advise please :)

Thanks.



On Thursday, February 20, 2014 8:46:04 PM UTC+5:30, ciskshit...@gmail.com wrote:

Doug Judd

unread,
Mar 11, 2014, 12:00:50 PM3/11/14
to hypertable-user
In the failed attempts to get the software installed, the system went into a bad state.  The best thing to do is to clean the database (e.g. cap cleandb or clean-database.sh for single-node installations).  Then try restarting.

- Doug



--
You received this message because you are subscribed to the Google Groups "Hypertable User" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hypertable-us...@googlegroups.com.
To post to this group, send email to hyperta...@googlegroups.com.
Visit this group at http://groups.google.com/group/hypertable-user.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages