Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Use migration from 1 HUE to another instance

avatar
Contributor

I have HUE 3.7 on cdh5.2 and I am migrating to a new cluster 

The version of HUE is the same, cdh will be 5.4

all of my users on HUE is database (no LDAP,KERBEROS..) 

Instead of retyping all of the user names 

can I just copy the sqllite desktop.db over and the users will appear?

or is there an export/ import script I can use to migrate my users and credentials

1 ACCEPTED SOLUTION

avatar
Super Guru
CM will run the upgrade automatically for Hue. So I would try to just stop
Hue, switch the DBs and restart Hue

View solution in original post

3 REPLIES 3

avatar
Super Guru
If you use CDH the base version of Hue might be the same but Hue has much
more new stuff in 5.4 than 5.2.

You can just copy the db indeed.

Then you need to run the migration. If using CM, click on migrate the DB in
the Hue service.

If not using CM, you will have to run these commands:

./build/env/bin/hue syncdb
./build/env/bin/hue migrate

http://gethue.com/hue-api-execute-some-builtin-commands/

avatar
Contributor

thanks

I am using CM and I am migrating from 5.3 to 5.4

As always your advice is helpful

but as always I cannot see the migrate function in CM 

Why do they hide things so well

avatar
Super Guru
CM will run the upgrade automatically for Hue. So I would try to just stop
Hue, switch the DBs and restart Hue