<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: How to disable hive shell for all users (Hive CLI) in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-disable-hive-shell-for-all-users-Hive-CLI/m-p/104435#M15651</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/140/nsabharwal.html" nodeid="140"&gt;@Neeraj Sabharwal&lt;/A&gt; I don't have a doc or demo, but it's simple enough to demonstrate. Enable SBA (should be already by default) and and then give the hive warehouse dir e.g. 750 permissions for hive:hadoop (recursively). Then if people try to access tables through Hive CLI as any other user, they will get a permission denied error. This won't apply to access via HiveServer2 because you'd manage table and DB permissions via Ranger Hive repository or SQL Standard authorisation. &lt;A rel="user" href="https://community.cloudera.com/users/63/amiller.html" nodeid="63"&gt;@Alex Miller&lt;/A&gt;'s suggestion goes on top of that as well. To be truly secure, users must come in via Knox.&lt;/P&gt;</description>
    <pubDate>Thu, 21 Jan 2016 07:08:42 GMT</pubDate>
    <dc:creator>agillan</dc:creator>
    <dc:date>2016-01-21T07:08:42Z</dc:date>
    <item>
      <title>How to disable hive shell for all users (Hive CLI)</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-disable-hive-shell-for-all-users-Hive-CLI/m-p/104427#M15643</link>
      <description>&lt;P&gt;I have configured ranger authorization for hive and want to force all the users to use beeline and want to block access to hive shell to all the users. &lt;/P&gt;&lt;P&gt;I know one workaround - we can revoke execute access for below file on all hive-clients.&lt;/P&gt;&lt;PRE&gt;/usr/hdp/current/hive-client/bin/hive &lt;/PRE&gt;&lt;P&gt;By doing this it could cause an issue to jobs scheduled via workflow engines like oozie or azkabaan etc.&lt;/P&gt;&lt;P&gt;Is there any other effective way to do this ?&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jan 2016 17:42:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-disable-hive-shell-for-all-users-Hive-CLI/m-p/104427#M15643</guid>
      <dc:creator>KuldeepK</dc:creator>
      <dc:date>2016-01-20T17:42:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to disable hive shell for all users (Hive CLI)</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-disable-hive-shell-for-all-users-Hive-CLI/m-p/104428#M15644</link>
      <description>&lt;P&gt;I think you have to make sure &lt;A href="https://cwiki.apache.org/confluence/display/Hive/Storage+Based+Authorization+in+the+Metastore+Server"&gt;Storage Based Authorization (SBA)&lt;/A&gt; is enabled for the Metastore &lt;/P&gt;&lt;UL&gt;
&lt;LI&gt;hive.metastore.pre.event.listeners = org.apache.hadoop.hive.ql.security.authorization.AuthorizationPreEventListener&lt;/LI&gt;&lt;LI&gt;hive.security.metastore.authorization.manager = org.apache.hadoop.hive.ql.security.authorization.StorageBasedAuthorizationProvider &lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;And then lock down filesystem permissions for data warehouse dir. I don't think there's a way to actually prevent users from issuing the "hive" command. I may be wrong, though - happy to be corrected.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jan 2016 20:09:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-disable-hive-shell-for-all-users-Hive-CLI/m-p/104428#M15644</guid>
      <dc:creator>agillan</dc:creator>
      <dc:date>2016-01-20T20:09:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to disable hive shell for all users (Hive CLI)</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-disable-hive-shell-for-all-users-Hive-CLI/m-p/104429#M15645</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/504/kkulkarni.html" nodeid="504"&gt;@Kuldeep Kulkarni&lt;/A&gt; perhaps remove alias to Hive or create alias for Hive to redirect to beeline¡ Hive shell is in deprecated mode, it will be dropped at some point. Great question.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jan 2016 20:32:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-disable-hive-shell-for-all-users-Hive-CLI/m-p/104429#M15645</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-01-20T20:32:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to disable hive shell for all users (Hive CLI)</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-disable-hive-shell-for-all-users-Hive-CLI/m-p/104430#M15646</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/504/kkulkarni.html" nodeid="504"&gt;@Kuldeep Kulkarni&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Good question because we don't want user to run hive cli as part of the best practice. One of the things that I suggest is not to install hive client in edge node.&lt;/P&gt;&lt;P&gt;I found &lt;A target="_blank" href="http://osdir.com/ml/general/2013-05/msg34153.html"&gt;this&lt;/A&gt; thread and I believe this can be done to avoid the hive cli access. &lt;/P&gt;</description>
      <pubDate>Wed, 20 Jan 2016 20:44:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-disable-hive-shell-for-all-users-Hive-CLI/m-p/104430#M15646</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2016-01-20T20:44:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to disable hive shell for all users (Hive CLI)</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-disable-hive-shell-for-all-users-Hive-CLI/m-p/104431#M15647</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/521/gates.html" nodeid="521"&gt;@Alan Gates&lt;/A&gt;  &lt;A rel="user" href="https://community.cloudera.com/users/301/gopal.html" nodeid="301"&gt;@gopal&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jan 2016 23:45:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-disable-hive-shell-for-all-users-Hive-CLI/m-p/104431#M15647</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2016-01-20T23:45:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to disable hive shell for all users (Hive CLI)</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-disable-hive-shell-for-all-users-Hive-CLI/m-p/104432#M15648</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/214/agillan.html" nodeid="214"&gt;@Ana Gillan&lt;/A&gt;  Can you provide details on your idea? Do you have any doc or demo?&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jan 2016 23:53:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-disable-hive-shell-for-all-users-Hive-CLI/m-p/104432#M15648</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2016-01-20T23:53:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to disable hive shell for all users (Hive CLI)</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-disable-hive-shell-for-all-users-Hive-CLI/m-p/104433#M15649</link>
      <description>&lt;P&gt;This is correct. You can hide the standard binary from end users, but if they can create and execute arbitrary files on hosts with access to the cluster then there is no workaround that is 100% effective.&lt;/P&gt;&lt;P&gt;You should restrict access to the entire cluster (via a firewall and/or other means), and users who need to access Hive should do so from through HiveServer2 behind a Knox gateway.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jan 2016 00:02:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-disable-hive-shell-for-all-users-Hive-CLI/m-p/104433#M15649</guid>
      <dc:creator>amiller</dc:creator>
      <dc:date>2016-01-21T00:02:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to disable hive shell for all users (Hive CLI)</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-disable-hive-shell-for-all-users-Hive-CLI/m-p/104434#M15650</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/504/kkulkarni.html" nodeid="504"&gt;@Kuldeep Kulkarni&lt;/A&gt; it is simple, we had the same problem and i simply edited hive.distro file  &lt;/P&gt;&lt;P&gt;/usr/hdp/2.2.0.0-2041/hive/bin/hive.distro&lt;/P&gt;&lt;P&gt;go to this line and comment it and add below string --- if [ "$SERVICE" = "" ] ; then&lt;/P&gt;&lt;P&gt;if [ "$SERVICE" = "" ] &amp;amp;&amp;amp; [ "$USER" = "xxxxxxxx" ] ; then
if [ "$SERVICE" = "" ] ; then&lt;/P&gt;&lt;P&gt;xxxxxxx - you can use your shared id /service id&lt;/P&gt;&lt;P&gt;let me how did it go..&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jan 2016 06:45:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-disable-hive-shell-for-all-users-Hive-CLI/m-p/104434#M15650</guid>
      <dc:creator>chrsvarma</dc:creator>
      <dc:date>2016-01-21T06:45:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to disable hive shell for all users (Hive CLI)</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-disable-hive-shell-for-all-users-Hive-CLI/m-p/104435#M15651</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/140/nsabharwal.html" nodeid="140"&gt;@Neeraj Sabharwal&lt;/A&gt; I don't have a doc or demo, but it's simple enough to demonstrate. Enable SBA (should be already by default) and and then give the hive warehouse dir e.g. 750 permissions for hive:hadoop (recursively). Then if people try to access tables through Hive CLI as any other user, they will get a permission denied error. This won't apply to access via HiveServer2 because you'd manage table and DB permissions via Ranger Hive repository or SQL Standard authorisation. &lt;A rel="user" href="https://community.cloudera.com/users/63/amiller.html" nodeid="63"&gt;@Alex Miller&lt;/A&gt;'s suggestion goes on top of that as well. To be truly secure, users must come in via Knox.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jan 2016 07:08:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-disable-hive-shell-for-all-users-Hive-CLI/m-p/104435#M15651</guid>
      <dc:creator>agillan</dc:creator>
      <dc:date>2016-01-21T07:08:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to disable hive shell for all users (Hive CLI)</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-disable-hive-shell-for-all-users-Hive-CLI/m-p/104436#M15652</link>
      <description>&lt;P&gt;Thank you &lt;A rel="user" href="https://community.cloudera.com/users/214/agillan.html" nodeid="214"&gt;@Ana Gillan&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jan 2016 18:19:30 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-disable-hive-shell-for-all-users-Hive-CLI/m-p/104436#M15652</guid>
      <dc:creator>KuldeepK</dc:creator>
      <dc:date>2016-01-21T18:19:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to disable hive shell for all users (Hive CLI)</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-disable-hive-shell-for-all-users-Hive-CLI/m-p/104437#M15653</link>
      <description>&lt;P&gt;Thank you &lt;A rel="user" href="https://community.cloudera.com/users/63/amiller.html" nodeid="63"&gt;@Alex Miller&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jan 2016 18:19:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-disable-hive-shell-for-all-users-Hive-CLI/m-p/104437#M15653</guid>
      <dc:creator>KuldeepK</dc:creator>
      <dc:date>2016-01-21T18:19:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to disable hive shell for all users (Hive CLI)</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-disable-hive-shell-for-all-users-Hive-CLI/m-p/104438#M15654</link>
      <description>&lt;P&gt;Thanks &lt;A rel="user" href="https://community.cloudera.com/users/393/aervits.html" nodeid="393"&gt;@Artem Ervits&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jan 2016 18:20:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-disable-hive-shell-for-all-users-Hive-CLI/m-p/104438#M15654</guid>
      <dc:creator>KuldeepK</dc:creator>
      <dc:date>2016-01-21T18:20:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to disable hive shell for all users (Hive CLI)</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-disable-hive-shell-for-all-users-Hive-CLI/m-p/104439#M15655</link>
      <description>&lt;P&gt;Thanks &lt;A rel="user" href="https://community.cloudera.com/users/140/nsabharwal.html" nodeid="140"&gt;@Neeraj Sabharwal&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jan 2016 18:20:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-disable-hive-shell-for-all-users-Hive-CLI/m-p/104439#M15655</guid>
      <dc:creator>KuldeepK</dc:creator>
      <dc:date>2016-01-21T18:20:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to disable hive shell for all users (Hive CLI)</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-disable-hive-shell-for-all-users-Hive-CLI/m-p/104440#M15656</link>
      <description>&lt;P&gt;Suggestion given by &lt;A rel="user" href="https://community.cloudera.com/users/206/hosako.html" nodeid="206"&gt;@Hajime&lt;/A&gt;&lt;/P&gt;&lt;P&gt;We can add below lines in hive-env template via ambari to disable hive-shell&lt;/P&gt;&lt;PRE&gt;if [ "$SERVICE" = "cli" ]; then
echo "Sorry! I have disabled hive-shell"
exit 1 
fi&lt;/PRE&gt;&lt;P&gt;After restarting hive services, when you try to run hive shell then you will get below output&lt;/P&gt;&lt;PRE&gt;[root@sandbox hive]# hive
Sorry! I have disabled hive-shell&lt;/PRE&gt;</description>
      <pubDate>Thu, 21 Jan 2016 18:25:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-disable-hive-shell-for-all-users-Hive-CLI/m-p/104440#M15656</guid>
      <dc:creator>KuldeepK</dc:creator>
      <dc:date>2016-01-21T18:25:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to disable hive shell for all users (Hive CLI)</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-disable-hive-shell-for-all-users-Hive-CLI/m-p/104441#M15657</link>
      <description>&lt;P&gt;Thanks &lt;A rel="user" href="https://community.cloudera.com/users/968/chrsvarma.html" nodeid="968"&gt;@Raja Sekhar Chintalapati&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jan 2016 18:26:27 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-disable-hive-shell-for-all-users-Hive-CLI/m-p/104441#M15657</guid>
      <dc:creator>KuldeepK</dc:creator>
      <dc:date>2016-01-21T18:26:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to disable hive shell for all users (Hive CLI)</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-disable-hive-shell-for-all-users-Hive-CLI/m-p/104442#M15658</link>
      <description>&lt;P&gt;This might be sufficient to keep honest people honest. For a user that has write access on the filesystem, it's trivial to override hive-env.sh&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jan 2016 23:58:45 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-disable-hive-shell-for-all-users-Hive-CLI/m-p/104442#M15658</guid>
      <dc:creator>amiller</dc:creator>
      <dc:date>2016-01-21T23:58:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to disable hive shell for all users (Hive CLI)</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-disable-hive-shell-for-all-users-Hive-CLI/m-p/104443#M15659</link>
      <description>&lt;P&gt;Hi @kuldeep Kulkarni&lt;/P&gt;&lt;P&gt;This might be silly answer, if i see there is less option as of now to block hive cli wrt specific user, either if there are lot more changes which needs to be made on hadoop configuration side to block hive cli, then i will like to suggest - why not to block hive command from Linux side. For example say sudoers can be one of the way to do this.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jan 2016 02:55:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-disable-hive-shell-for-all-users-Hive-CLI/m-p/104443#M15659</guid>
      <dc:creator>sagarshimpi</dc:creator>
      <dc:date>2016-01-26T02:55:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to disable hive shell for all users (Hive CLI)</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-disable-hive-shell-for-all-users-Hive-CLI/m-p/104444#M15660</link>
      <description>&lt;P&gt;
	Not only do we restrict access to hive in our environment but we also make people use a command called 'hql' which is a wrapper around beeline. By default a user (on our kerberised cluster and therefore they have already done kinit) can just type 'hql' and be in the defaults or pass simple options to specify non-defaults&lt;/P&gt;&lt;PRE&gt;#!/bin/bash
# David M Walker, Data Management &amp;amp; Warehousing &amp;amp; Worldpay
# hql command line for use with a Kerborised cluster

DATABASE="DEFAULT"
QUERY_FILE=""
HOST="localhost"
PORT="10001"
QUEUE="DEFAULT"
REALM="_HOST@REALM"

while getopts :d:h:p:r:q:f: PARAM
do
   case "${PARAM}" in 
      d) DATABASE="${OPTARG}"
         ;; 
      f) QUERY_FILE="${OPTARG}"
         ;;
      h) HOST="${OPTARG}"
         ;;
      p) PORT="${OPTARG}"
         ;;
      q) QUEUE="${OPTARG}"
         ;;
      r) REALM="${OPTARG}"
         ;;
      ?) echo "Usage: hql [-d DATABASE] [-h HOST] [-p PORT] [-q QUEUE] [-r REALM] [-f QUERY_FILE]" 
         exit 1
         ;;
   esac
done
shift $(($OPTIND - 1))

if [ -z "${QUERY_FILE}" ]
then
   beeline -u "jdbc:hive2://${HOST}:${PORT}/${DATABASE};transportMode=http;httpPath=cliservice;principal=hive/${REALM}" --hiveconf tez.queue.name=${QUEUE}
   exit $?
else
   if [ -r "${QUERY_FILE}" ]
   then
      beeline -u "jdbc:hive2://${HOST}:${PORT}/${DATABASE};transportMode=http;httpPath=cliservice;principal=hive/${REALM}" --hiveconf tez.queue.name=${QUEUE} -f ${QUERY_FILE}
      exit $?
   else
      echo "File ${QUERY_FILE} is not readable"
      exit 1
   fi
fi

exit 0
&lt;/PRE&gt;</description>
      <pubDate>Mon, 09 May 2016 03:15:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-disable-hive-shell-for-all-users-Hive-CLI/m-p/104444#M15660</guid>
      <dc:creator>davidw1</dc:creator>
      <dc:date>2016-05-09T03:15:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to disable hive shell for all users (Hive CLI)</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-disable-hive-shell-for-all-users-Hive-CLI/m-p/104445#M15661</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/504/kkulkarni.html" nodeid="504"&gt;@Kuldeep Kulkarni&lt;/A&gt; it seems that &lt;A href="https://issues.apache.org/jira/browse/HIVE-10511"&gt;HIVE-10511&lt;/A&gt; is the long-term plan for this, also see &lt;A href="https://cwiki.apache.org/confluence/display/Hive/Replacing+the+Implementation+of+Hive+CLI+Using+Beeline"&gt;this link&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jul 2016 02:32:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-disable-hive-shell-for-all-users-Hive-CLI/m-p/104445#M15661</guid>
      <dc:creator>slachterman</dc:creator>
      <dc:date>2016-07-08T02:32:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to disable hive shell for all users (Hive CLI)</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-disable-hive-shell-for-all-users-Hive-CLI/m-p/104446#M15662</link>
      <description>&lt;P&gt;The only way to reliably accomplish this is to prevent users from logging into cluster nodes at all, and force them to use beeline to access HS2 in HTTP mode through Knox. &lt;/P&gt;&lt;P&gt;Every solution recommending changes to hive-env.sh or hive.distro can be overridden by using a modified copy of those files. Those files could even be copied from elsewhere, because this is all open source.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jul 2016 05:17:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-disable-hive-shell-for-all-users-Hive-CLI/m-p/104446#M15662</guid>
      <dc:creator>amiller</dc:creator>
      <dc:date>2016-07-12T05:17:52Z</dc:date>
    </item>
  </channel>
</rss>

