Advertisement
Guest User

Untitled

a guest
May 27th, 2017
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.23 KB | None | 0 0
  1. <?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
  2.  
  3. <configuration>
  4.  
  5. <!-- Hive Configuration can either be stored in this file or in the hadoop configuration files -->
  6. <!-- that are implied by Hadoop setup variables. -->
  7. <!-- Aside from Hadoop setup variables - this file is provided as a convenience so that Hive -->
  8. <!-- users do not have to edit hadoop configuration files (that may be managed as a centralized -->
  9. <!-- resource). -->
  10.  
  11. <!-- Hive Execution Parameters -->
  12. <property>
  13. <name>hive.exec.scratchdir</name>
  14. <value>/tmp/hive-${user.name}</value>
  15. <description>Scratch space for Hive jobs</description>
  16. </property>
  17.  
  18. <property>
  19. <name>hive.metastore.local</name>
  20. <value>true</value>
  21. <description>controls whether to connect to remove metastore server or open a new metastore server in Hive Client JVM</description>
  22. </property>
  23.  
  24. <!--
  25. <property>
  26. <name>javax.jdo.option.ConnectionURL</name>
  27. <value>jdbc:derby:;databaseName=/var/lib/hive/metastore/${user.name}_db;create=true</value>
  28. <description>JDBC connect string for a JDBC metastore</description>
  29. </property>
  30.  
  31. <property>
  32. <name>javax.jdo.option.ConnectionDriverName</name>
  33. <value>org.apache.derby.jdbc.EmbeddedDriver</value>
  34. <description>Driver class name for a JDBC metastore</description>
  35. </property>
  36. -->
  37.  
  38. <property>
  39. <name>javax.jdo.option.ConnectionURL</name>
  40. <value>jdbc:mysql://globalmaster:3306/hive?createDatabaseIfNotExist=true</value>
  41. </property>
  42.  
  43. <property>
  44. <name>javax.jdo.option.ConnectionDriverName</name>
  45. <value>com.mysql.jdbc.Driver</value>
  46. </property>
  47.  
  48. <property>
  49. <name>javax.jdo.option.ConnectionUserName</name>
  50. <value>pb_user</value>
  51. </property>
  52.  
  53. <property>
  54. <name>javax.jdo.option.ConnectionPassword</name>
  55. <value>10sne1</value>
  56. </property>
  57.  
  58. <property>
  59. <name>hive.metastore.metadb.dir</name>
  60. <value>file:///var/metastore/metadb/</value>
  61. <description>The location of filestore metadata base dir</description>
  62. </property>
  63.  
  64. <property>
  65. <name>hive.metastore.uris</name>
  66. <value>file:///var/lib/hivevar/metastore/metadb/</value>
  67. <description>Comma separated list of URIs of metastore servers. The first server that can be connected to will be used.</description>
  68. </property>
  69.  
  70. <property>
  71. <name>hive.metastore.warehouse.dir</name>
  72. <value>/user/hive/warehouse</value>
  73. <description>location of default database for the warehouse</description>
  74. </property>
  75.  
  76. <property>
  77. <name>hive.metastore.connect.retries</name>
  78. <value>5</value>
  79. <description>Number of retries while opening a connection to metastore</description>
  80. </property>
  81.  
  82. <property>
  83. <name>hive.metastore.rawstore.impl</name>
  84. <value>org.apache.hadoop.hive.metastore.ObjectStore</value>
  85. <description>Name of the class that implements org.apache.hadoop.hive.metastore.rawstore interface. This class is used to store and retrieval of raw metadata objects such as table, database</description>
  86. </property>
  87.  
  88. <property>
  89. <name>hive.default.fileformat</name>
  90. <value>TextFile</value>
  91. <description>Default file format for CREATE TABLE statement. Options are TextFile and SequenceFile. Users can explicitly say CREATE TABLE ... STORED AS <TEXTFILE|SEQUENCEFILE> to override</description>
  92. </property>
  93.  
  94. <property>
  95. <name>hive.map.aggr</name>
  96. <value>false</value>
  97. <description>Whether to use map-side aggregation in Hive Group By queries</description>
  98. </property>
  99.  
  100. <property>
  101. <name>hive.join.emit.interval</name>
  102. <value>1000</value>
  103. <description>How many rows in the right-most join operand Hive should buffer before emitting the join result. </description>
  104. </property>
  105.  
  106. <property>
  107. <name>hive.exec.script.maxerrsize</name>
  108. <value>100000</value>
  109. <description>Maximum number of bytes a script is allowed to emit to standard error (per map-reduce task). This prevents runaway scripts from filling logs partitions to capacity </description>
  110. </property>
  111.  
  112. <property>
  113. <name>hive.exec.compress.output</name>
  114. <value>false</value>
  115. <description> This controls whether the final outputs of a query (to a local/hdfs file or a hive table) is compressed. The compression codec and other options are determined from hadoop config variables mapred.output.compress* </description>
  116. </property>
  117.  
  118. <property>
  119. <name>hive.exec.compress.intermediate</name>
  120. <value>false</value>
  121. <description> This controls whether intermediate files produced by hive between multiple map-reduce jobs are compressed. The compression codec and other options are determined from hadoop config variables mapred.output.compress* </description>
  122. </property>
  123.  
  124. <property>
  125. <name>hive.hwi.listen.host</name>
  126. <value>0.0.0.0</value>
  127. <description>This is the host address the Hive Web Interface will listen on</description>
  128. </property>
  129.  
  130. <property>
  131. <name>hive.hwi.listen.port</name>
  132. <value>9999</value>
  133. <description>This is the port the Hive Web Interface will listen on</description>
  134. </property>
  135.  
  136. <property>
  137. <name>hive.hwi.war.file</name>
  138. <value>/usr/lib/hive/lib/hive_hwi.war</value>
  139. <description>This is the WAR file with the jsp content for Hive Web Interface</description>
  140. </property>
  141.  
  142. </configuration>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement