Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Use migration from 1 HUE to another instance

Solved Go to solution

Use migration from 1 HUE to another instance

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

Accepted Solutions

Re: Use migration from 1 HUE to another instance

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

3 REPLIES 3

Re: Use migration from 1 HUE to another instance

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/

Re: Use migration from 1 HUE to another instance

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

Re: Use migration from 1 HUE to another instance

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