fatkun / hive-issue

记录使用hive的问题
Apache License 2.0
0 stars 0 forks source link

记录hive-site.xml配置 #2

Open fatkun opened 11 years ago

fatkun commented 11 years ago

否则需要delete table权限

<property> 
  <name>datanucleus.fixedDatastore</name> 
  <value>true</value> 
</property>

不写querylog,否则会很多日志

<property>
  <name>hive.querylog.enable.plan.progress</name>
  <value>false</value>
  <description>
    Whether to log the plan's progress every time a job's progress is checked.
    These logs are written to the location specified by hive.querylog.location
  </description>
</property>

关闭reduce推测执行

<property>
  <name>hive.mapred.reduce.tasks.speculative.execution</name>
  <value>false</value>
  <description>Whether speculative execution for reducers should be turned on. </description>
</property>

关闭二级缓存,如果不关闭,有可能元数据不同步

<property>
  <name>datanucleus.cache.level2.type</name>
  <value>none</value>
</property>