@@ -531,6 +531,9 @@ Trunk (unreleased changes)
HADOOP-4133. Log files generated by Hive should reside in the
build directory. (Prasad Chakka via dhruba)
+ HADOOP-4094. Hive now has hive-default.xml and hive-site.xml similar
+ to core hadoop. (Prasad Chakka via dhruba)
+
Release 0.18.1 - Unreleased
IMPROVEMENTS
@@ -172,7 +172,13 @@ public class HiveConf extends Configuration {
if(hconfurl == null) {
l4j.warn("Unable to locate default hive configuration");
} else {
- addResource("hive-default.xml");
+ addResource(hconfurl);
+ }
+ URL hsiteurl = getClassLoader().getResource("hive-site.xml");
+ if(hsiteurl == null) {
+ l4j.warn("Unable to locate hive site configuration");
+ } else {
+ addResource(hsiteurl);
}
// if hadoop configuration files are already in our path - then define