
2. Stop the Hive service.
#
urika-stop -s hive
3. Follow the Hive instructions documented at
https://cwiki.apache.org/confluence/display/Hive/SQL+Standard
+Based+Hive+Authorization#SQLStandardBasedHiveAuthorization-ForHive0.14andNewer
exceptions:
1. Edit the
hive-site.xml
file and set the value of
hive.metastore.uris
to
thrift://
192.168.0.33:9083
2. Use either or both of the values defined in the Hive documentation for the
hive.security.authorization.manager
configuration parameter.
3. Edit
hive-site.xml
to set values of properties, as opposed to the Hive documentation, which instructs
users to set these properties in
hiveserver2-site.xml
NOTE: Even though the documentation at
https://cwiki.apache.org/confluence/display/Hive/SQL
+SBased+Hive+Authorization#SQLStandardBasedHiveAuthorization-ForHive0.14andNewer
instructs users to put some settings into
hiveserver2-site.xml
, all of the properties listed in the
linked documentation should go in
hive-site.xml
.
There is no need to modify other parameters of the
hive-site.xml
file that are documented in the Hive
documentation, as they are already configured on the Urika-GX system.
4. Start the Hive service.
#
urika-start -s hive
5. Reconnect to HiveServer2.
7.16 File System Permissions
This section provides details on user restrictions and access controls implemented on Urika-GX for the three
Urika-GX file systems.
●
Internal file systems
○
Hadoop Distributed File System (HDFS) - Apache Hadoop HDFS implements authentication and
authorization model similar to POSIX model, where each file is associated with an owner and a group.
Urika-GX implements a simple mode of user authentication. In this mode, the identify of a client process
is determined by the OS's user name, which can be retrieved via the
whoami
command. The user
authentication is managed by Open LDAP server running on login node 1. Groups and user credential are
inherited from the Open LDAP.
○
Network File System (NFS) - The SMW provides the NFS mount, which has the same groups and user
permissions as those of the host operating system.
●
External file system (Lustre) - If Lustre is used on Urika-GX, it inherits Linux group permissions from the
login node.
Security
S3016
240