Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0"?>
- <?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
- <configuration>
- <property>
- <name>hive.server2.enable.impersonation</name>
- <value>false</value>
- </property>
- <property>
- <name>hive.security.authorization.task.factory</name>
- <value>org.apache.sentry.binding.hive.SentryHiveAuthorizationTaskFactoryImpl</value>
- </property>
- <property>
- <name>hive.server2.session.hook</name>
- <value>org.apache.sentry.binding.hive.HiveAuthzBindingSessionHook</value>
- </property>
- <property>
- <name>hive.sentry.conf.url</name>
- <value>file:///etc/sentry/conf.dist/sentry-site.xml</value>
- </property>
- <property>
- <name>hive.security.authorization.task.factory</name>
- <value>org.apache.sentry.binding.hive.SentryHiveAuthorizationTaskFactoryImpl</value>
- </property>
- <property>
- <name>hive.metastore.filter.hook</name>
- <value>org.apache.sentry.binding.metastore.SentryMetaStoreFilterHook</value>
- </property>
- <property>
- <name>hive.metastore.pre.event.listeners</name>
- <value>org.apache.sentry.binding.metastore.MetastoreAuthzBinding</value>
- <description>list of comma separated listeners for metastore events.</description>
- </property>
- <property>
- <name>hive.metastore.event.listeners</name>
- <value>org.apache.sentry.binding.metastore.SentryMetastorePostEventListener</value>
- <description>list of comma separated listeners for metastore, post events.</description>
- </property>
- <property>
- <name>hive.metastore.warehouse.dir</name>
- <value>/user/hive/warehouse</value>
- </property>
- <property>
- <name>javax.jdo.option.ConnectionURL</name>
- <value>jdbc:mysql://<server hostname>/metastore</value>
- <description>the URL of the MySQL database</description>
- </property>
- <property>
- <name>javax.jdo.option.ConnectionDriverName</name>
- <value>com.mysql.jdbc.Driver</value>
- </property>
- <property>
- <name>javax.jdo.option.ConnectionUserName</name>
- <value><hive db username></value>
- </property>
- <property>
- <name>javax.jdo.option.ConnectionPassword</name>
- <value><hive db password></value>
- </property>
- <property>
- <name>datanucleus.autoCreateSchema</name>
- <value>false</value>
- </property>
- <property>
- <name>datanucleus.fixedDatastore</name>
- <value>true</value>
- </property>
- <property>
- <name>datanucleus.autoStartMechanism</name>
- <value>SchemaTable</value>
- </property>
- <property>
- <name>hive.metastore.uris</name>
- <value>thrift://<server hostname>:9083</value>
- <description>IP address (or fully-qualified domain name) and port of the metastore host</description>
- </property>
- <property>
- <name>hive.metastore.schema.verification</name>
- <value>true</value>
- </property>
- </configuration>
- <?xml version="1.0"?>
- <?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
- <configuration>
- <property>
- <name>sentry.service.admin.group</name>
- <value>vagrant,hive,hdfs,spark</value>
- </property>
- <property>
- <name>sentry.service.allow.connect</name>
- <value>vagrant,hdfs,hive,spark</value>
- </property>
- <property>
- <name>sentry.store.group.mapping</name>
- <value>org.apache.sentry.provider.file.LocalGroupMappingService</value>
- </property>
- <!-- Config properties to use the mysql DB -->
- <property>
- <name>sentry.store.jdbc.url</name>
- <value>jdbc:mysql://<server hostname>/sentry_db</value>
- </property>
- <property>
- <name>sentry.store.jdbc.driver</name>
- <value>com.mysql.jdbc.Driver</value>
- </property>
- <property>
- <name>sentry.store.jdbc.user</name>
- <value><sentry db user></value>
- </property>
- <property>
- <name>sentry.store.jdbc.password</name>
- <value><sentry db password></value>
- </property>
- <property>
- <name>sentry.service.client.server.rpc-port</name>
- <value>3893</value>
- </property>
- <property>
- <name>sentry.service.client.server.rpc-address</name>
- <value><server hostname></value>
- </property>
- <property>
- <name>sentry.service.client.server.rpc-connection-timeout</name>
- <value>20000</value>
- </property>
- <property>
- <name>sentry.hive.provider.backend</name>
- <value>org.apache.sentry.provider.db.SimpleDBProviderBackend</value>
- </property>
- <!-- Allow Sentry to work with weaker authentication mechanisms -->
- <property>
- <name>sentry.hive.testing.mode</name>
- <value>true</value>
- </property>
- <property>
- <name>sentry.service.security.mode</name>
- <value>none</value>
- </property>
- </configuration>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement