Ask Your Question

add root default password for hdp plugin image

asked 2013-12-23 02:31:04 -0500

gzsgwsgwl gravatar image

There are two VM images provided for use with the savanna HDP Plugin: centos-6_64-hdp-1.3.qcow2, centos-6-64-hdp-vanilla.qcow2. but no default root password,so i just can connect the instances lunched from these images by ssh, so i hope add default root password, how should i do ?

by the way, i can edit vanilla image savanna-0.2-vanilla-1.1.2-ubuntu-12.10.qcow2 by guestfish, and then kvm start this image ,set the default password . but this method doesn't work for hdp images, because kvm can't launch instance from the image at all.

who can tell me what i should do? thx

edit retag flag offensive close merge delete

5 answers

Sort by ยป oldest newest most voted

answered 2013-12-23 02:42:26 -0500

gzsgwsgwl gravatar image

by the way, why i can't start the image by cmd 'kvm -boot c -hda centos-6_4-64-hdp-1.3.qcow2 -m 2048 ' which works for vanilla qcow2 image ?

edit flag offensive delete link more

answered 2013-12-24 09:40:40 -0500

gzsgwsgwl gravatar image

thx,i have logged in vm using password hadoop. regard to which kind of image to use, my feeling is also pre-installed image, to be honest launching the stock image is very DIB is a very meaningful work.

edit flag offensive delete link more

answered 2013-12-23 02:34:28 -0500

The root password for these images is "hadoop". We are working on converting these images to be built by DiskBuilder and will be contributing scripts once this is done so that they can be further customized.

edit flag offensive delete link more

answered 2013-12-23 02:39:34 -0500

gzsgwsgwl gravatar image

thx,i will have a try!

your reply efficiency is very high! :)

edit flag offensive delete link more

answered 2013-12-23 03:25:06 -0500

mattf gravatar image

You should add a keypair during cluster launch.

I just started a cluster using

1b54f16008cf4cd214903725e74f178d centos-6_4-64-hdp-1.3.qcow2

and was able to connect w/ root + keypair.


473b50c5364d02d1884238b4b9820ace centos-6_4-64-vanilla.qcow2

has an issue w/ root login -

Please login as the user "root" rather than the user "root".

You can also verify that the images you downloaded have matching md5sums.

As an aside, I believe we're currently working on adding elements to the savanna-image-elements repository so you can use DIB to reconstruct the images, but in the absence of that you should be able to use a stock rhel or centos image w/ the HDP plugin. The only impact should be slower startup as things like the JVM won't be pre-installed.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2013-12-23 02:31:04 -0500

Seen: 192 times

Last updated: Dec 24 '13