解决方法:
启动HUE的Shell
/opt/cloudera/parcels/CDH/lib/hue/build/env/bin/hue shell
from django.contrib.auth.models import User user = User.objects.get(username='example') user.set_password('some password') user.save()
如果不知道HUE在哪,ps aux | grep hue 找到它。
参考官网:http://gethue.com/password-management-in-hue/#