Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
- <configuration>
- <!-- Hive Configuration can either be stored in this file or in the hadoop configuration files -->
- <!-- that are implied by Hadoop setup variables. -->
- <!-- Aside from Hadoop setup variables - this file is provided as a convenience so that Hive -->
- <!-- users do not have to edit hadoop configuration files (that may be managed as a centralized -->
- <!-- resource). -->
- <!-- Hive Execution Parameters -->
- <property>
- <name>javax.jdo.option.ConnectionURL</name>
- <value>jdbc:mysql://mysql-hive-jq.int.yihaodian.com:3306/hive</value>
- <description>JDBC connect string for a JDBC metastore</description>
- </property>
- <property>
- <name>javax.jdo.option.ConnectionDriverName</name>
- <value>com.mysql.jdbc.Driver</value>
- <description>Driver class name for a JDBC metastore</description>
- </property>
- <property>
- <name>javax.jdo.option.ConnectionUserName</name>
- <value>search_user</value>
- <description>username to use against metastore database</description>
- </property>
- <property>
- <name>javax.jdo.option.ConnectionPassword</name>
- <value>search_user</value>
- <description>password to use against metastore database</description>
- </property>
- <!--<property>
- <name>hive.exec.scratchdir</name>
- <value>/user/lujian</value>
- </property>-->
- <property>
- <name>mapreduce.map.output.compress.codec</name>
- <value>org.apache.hadoop.io.compress.DefaultCodec</value>
- </property>
- <property>
- <name>mapreduce.map.output.compress</name>
- <value>true</value>
- </property>
- <!-- <property>
- <name>mapreduce.framework.name</name>
- <value>yarn-tez</value>
- </property>-->
- <property>
- <name>mapreduce.map.cpu.vcores</name>
- <value>1</value>
- </property>
- <!--<property>
- <name>hive.metastore.uris</name>
- <value>thrift://yhd-jqhadoop39.int.yihaodian.com:9083</value>
- </property>-->
- <property>
- <name>hive.insert.into.multilevel.dirs</name>
- <value>true</value>
- </property>
- <property>
- <name>hive.exec.stagingdir</name>
- <value>/user/hive/warehouse/staging/.hive-staging</value>
- </property>
- <!-- serutiy -->
- <property>
- <name>hive.server2.enable.doAs</name>
- <value>true</value>
- </property>
- <property>
- <name>hive.users.in.admin.role</name>
- <value>admin</value>
- </property>
- <property>
- <name>hive.security.metastore.authorization.manager</name>
- <value>org.apache.hadoop.hive.ql.security.authorization.MetaStoreAuthzAPIAuthorizerEmbedOnly,org.apache.hadoop.hive.ql.security.authorization.StorageBasedAuthorizationProvider</value>
- </property>
- <property>
- <name>hive.security.authorization.manager</name>
- <value>org.apache.hadoop.hive.ql.security.authorization.plugin.sqlstd.SQLStdConfOnlyAuthorizerFactory</value>
- </property>
- <property>
- <name>hive.server2.authentication</name>
- <value>CUSTOM</value>
- </property>
- <property>
- <name>hive.server2.custom.authentication.class</name>
- <value>com.yhd.hive.auth.YhdPasswdAuthenticationProvider</value>
- </property>
- <property>
- <name>hive.hs2.authfile</name>
- <value>/usr/auth.properties</value>
- </property>
- </configuration>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement