Member since
04-18-2018
18
Posts
0
Kudos Received
0
Solutions
02-16-2020
05:47 PM
Thanks, I did try this and it worked out fine. Thanks!
... View more
10-30-2018
06:48 PM
Well, the hive-env.sh is just a shell script, so you could do some bash magic to see if user is in group. Something like the following (I am sure someone could do it more simply!). Note that this assumes that your groups are synced with linux using sssd, centrify, etc. NOTE: While not officially deprecated, using the hive cli command is discouraged in favor of beeline. Hive CLI doesn't take advantage of Ranger security. In HDP 3.x it is being rewritten as a wrapper around Hiveserver2. G=`groups $USER`
IFS=', ' read -r -a mygroups <<< "$G"
found=0
searchGroup="admin"
if (printf '%s\n' "${mygroups[@]}" | grep -xq $searchGroup); then
found=1
# Logic to allow Hive here.
fi
echo $found
... View more
08-09-2018
07:18 PM
@Sambasivam Subramanian Can you please post that error stack in code block? Also check namenode logs to see if there is any errors.
... View more
07-23-2018
04:19 PM
@Sambasivam Subramanian I've just noticed that there is a script to help on this available, which I was unaware of, it would be easier this way; [root@lab-1 ~]# /usr/hdp/2.6.5.0-292/zeppelin/bin/install-interpreter.sh -n python
Install python(org.apache.zeppelin:zeppelin-python:0.7.0) to /usr/hdp/2.6.5.0-292/zeppelin/interpreter/python ...
Interpreter python installed under /usr/hdp/2.6.5.0-292/zeppelin/interpreter/python.
1. Restart Zeppelin
2. Create interpreter setting in 'Interpreter' menu on Zeppelin GUI
3. Then you can bind the interpreter on your note
... View more
07-16-2018
09:41 PM
1 Kudo
@Sambasivam Subramanian
By definition, an edge node is just a host only with clients installed and configured. If you install no server services in Ambari for a host, then you will end up with an edge node for the clients that you selected.
... View more