| « PreviousNext » | |
![]() ![]() ![]() | Did this page help you? Yes | No | Tell us about it... |
The Hive configuration files changed between Hive 0.7 and Hive 0.8. In Hive 0.8 the hive-default.xml file was deprecated; all configuration settings now are listed in hive-site.xml.
If your application sets values in hive-default.xml, you have two options:
Set your Hive settings in a script instead of the configuration file. For example:
set hive.s3.optimize.query=true;
Move your settings to the new Hive 0.8 version of hive-site.xml. When you do so, take care not to overwrite the values set by Amazon EMR.
You can obtain a copy of the Hive 0.8 version of hive-site.xml with the Amazon EMR settings included by launching a new cluster that uses Hive 0.8 and copying it from hive/conf/ on the master node. To do so, use SSH to connect to the master node and use the scp utility to copy the file to your local machine. For more information about how to use SSH to connect to the master node, see Connect to the Master Node Using SSH.