Member since
07-31-2013
98
Posts
54
Kudos Received
19
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
2985 | 11-23-2016 07:37 AM | |
3103 | 05-18-2015 02:04 PM | |
5261 | 05-13-2015 07:33 AM | |
4028 | 05-12-2015 05:36 AM | |
4358 | 04-06-2015 06:05 AM |
11-23-2016
07:37 AM
Unfortunately there is no way to provide super user access to an entire group today. It must be done one user at a time. There is a feature request to add this in a future release. You could do it programatically to make it a little easier, see the section "How to make a certain user a Hue admin" http://gethue.com/password-management-in-hue/ You could create a list of users and iterate through them in hue shell. Make sure to set HUE_CONF_DIR=/var/cloudera-scm-agent/process/id-hue-HUE_SERVER where id is most recent. ON CDH 5.5 and above you also have to set: export HUE_IGNORE_PASSWORD_SCRIPT_ERRORS=1 export HUE_DATABASE_PASSWORD=huedatabasepassword Hope this helps.
... View more
12-03-2015
09:22 AM
Hue sends queries to HiveServer2, so you would want to implement it in the CM configuration for HS2, which is this safety valve in the Hive service: HiveServer2 Advanced Configuration Snippet (Safety Valve) for hive-site.xml
... View more
05-18-2015
02:14 PM
1 Kudo
Great, just wanted to make sure we took care of any problems you might have been running into:-). Did that answer your question?
... View more
05-18-2015
02:04 PM
Hey, The way it works is the Hue launcher job acts like the Hive CLI and then spawns the Hive MR job. So you will never see an actual instance of hive spin up, you'll just see a launcher MR job and then a hive MR job. Are you having an issue or just curious?
... View more
05-18-2015
07:01 AM
Jira filed:-) https://issues.cloudera.org/browse/HUE-2749 Right now Hue requires both Impala and HS2 to be configured for Ldap, so ldap_username and ldap_password are global. There is also a feature request out there to make those specific for Impala and HS2 so that would be less of an issue in the future.
... View more
05-18-2015
06:46 AM
Ahhh, that is why:-). Those properties: [desktop] ldap_username ldap_password Tell Hue to use ldap when authenticating against Impala and HS2. So if you're not using ldap for Impala and HS2, then you can remove those and you don't need ldap for Impala.
... View more
05-18-2015
06:42 AM
Oh, sorry, meant which ldap properties did you have set for Hue? Mainly, did you have: [desktop] ldap_username= ldap_password=
... View more
05-18-2015
06:29 AM
Just curious, what ldap properties did you have set for Hue? Hue being configured for Ldap should not force Impala to require Ldap.
... View more
05-13-2015
07:33 AM
1 Kudo
Did you include: HADOOP_OPTS="-Djava.security.auth.login.config=/path/to/jaas.conf" Before your "hadoop jar" command? IE: HADOOP_OPTS="-Djava.security.auth.login.config=/path/to/jaas.conf" hadoop jar /opt/cloudera/parcels/CDH/lib/solr/contrib/mr/search-mr-*-job.jar org.apache.solr.hadoop.MapReduceIndexerTool -D 'mapred.child.java.opts=-Xmx2048m' -Djava.security.auth.login.config=/home/user/clouderaSearch/test_collection/jaas.conf --log4j /opt/cloudera/parcels/CDH/share/doc/search-1.0.0+cdh5.4.0+0/examples/solr-nrt/log4j.properties --morphline-file /home/user/clouderaSearch/test_collection/test_morphline.conf --output-dir hdfs://nameservice1:8020/data/test/output_solr --verbose --go-live --zk-host zookeeper_host:2181/solr --collection test_collection hdfs://nameservice1:8020/data/test/incoming Notice how "HADOOP_OPTS" and "hadoop jar" are on the same line, that is how they need to be.
... View more
05-12-2015
05:36 AM
You can do the following: 1. Spawn the Hue shell: export HUE_CONF_DIR="/var/run/cloudera-scm-agent/process/`ls -alrt /var/run/cloudera-scm-agent/process | grep HUE | tail -1 | awk '{print $9}'`"
cd /opt/cloudera/parcels/CDH/lib/hue (or /usr/lib/hue if using packages)
./build/env/bin/hue shell 2. Paste the following python in the shell replacing <username> with the user you want to become superuser: from django.contrib.auth.models import User
a = User.objects.get(username='<username>')
a.is_staff = True
a.is_superuser = True
a.save()
... View more