Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created 08-11-2016 08:33 PM
Hive CLI will be depercated soon. Is there any way to block invoking hive CLI? this way forcing users to only use beeline.
Created 08-11-2016 08:51 PM
You could symbolic link the hive cli script/command to the beeline script command. This will ensure the "hive" command always executes "beeline".
Here is another solution: https://community.hortonworks.com/questions/10760/how-to-disable-hive-shell-for-all-users.html
Created 08-11-2016 08:51 PM
You could symbolic link the hive cli script/command to the beeline script command. This will ensure the "hive" command always executes "beeline".
Here is another solution: https://community.hortonworks.com/questions/10760/how-to-disable-hive-shell-for-all-users.html
Created 08-11-2016 08:51 PM
One way to accomplish this would be to change the permissions on the hive executable to remove read and execute access for group and other:
chmod 400 /usr/hdp/current/hive-client/bin/hive
Created 08-11-2016 09:01 PM
Of course both of these options can be worked around by anyone with access and rights to the file system.
Created 08-12-2016 12:43 AM
I appreciate all the feedback.
Created 08-12-2016 07:05 PM
just use doAs=true make sure only hive can read the warehouse folder and you are done. Hive cli can start but not access anything