Author: smohanty
Date: Thu Apr 18 17:28:21 2013
New Revision: 1469481
URL: http://svn.apache.org/r1469481
Log:
AMBARI-1974. BootStrapTest is failing on the master build. (smohanty)
Modified:
incubator/ambari/trunk/CHANGES.txt
incubator/ambari/trunk/ambari-server/src/test/java/org/apache/ambari/server/bootstrap/BootStrapTest.java
Modified: incubator/ambari/trunk/CHANGES.txt
URL:
http://svn.apache.org/viewvc/incubator/ambari/trunk/CHANGES.txt?rev=1469481&r1=1469480&r2=1469481&view=diff
==============================================================================
--- incubator/ambari/trunk/CHANGES.txt (original)
+++ incubator/ambari/trunk/CHANGES.txt Thu Apr 18 17:28:21 2013
@@ -760,6 +760,8 @@ Trunk (unreleased changes):
BUG FIXES
+ AMBARI-1974. BootStrapTest is failing on the master build. (smohanty)
+
AMBARI-1968. Hadoop Classpath is being overwridden which causes hive
server/metastore to fail. (smohanty)
Modified:
incubator/ambari/trunk/ambari-server/src/test/java/org/apache/ambari/server/bootstrap/BootStrapTest.java
URL:
http://svn.apache.org/viewvc/incubator/ambari/trunk/ambari-server/src/test/java/org/apache/ambari/server/bootstrap/BootStrapTest.java?rev=1469481&r1=1469480&r2=1469481&view=diff
==============================================================================
---
incubator/ambari/trunk/ambari-server/src/test/java/org/apache/ambari/server/bootstrap/BootStrapTest.java
(original)
+++
incubator/ambari/trunk/ambari-server/src/test/java/org/apache/ambari/server/bootstrap/BootStrapTest.java
Thu Apr 18 17:28:21 2013
@@ -60,11 +60,17 @@ public class BootStrapTest extends TestC
public void testRun() throws Exception {
Properties properties = new Properties();
String bootdir = temp.newFolder("bootdir").toString();
+ String metadetadir = temp.newFolder("metadetadir").toString();
+ String serverVersionFilePath =
temp.newFolder("serverVersionFilePath").toString();
LOG.info("Bootdir is " + bootdir);
+ LOG.info("Metadetadir is " + metadetadir);
+ LOG.info("ServerVersionFilePath is " + serverVersionFilePath);
properties.setProperty(Configuration.BOOTSTRAP_DIR,
bootdir);
properties.setProperty(Configuration.BOOTSTRAP_SCRIPT, "echo");
properties.setProperty(Configuration.SRVR_KSTR_DIR_KEY, "target" +
File.separator + "classes");
+ properties.setProperty(Configuration.METADETA_DIR_PATH, metadetadir);
+ properties.setProperty(Configuration.SERVER_VERSION_FILE,
serverVersionFilePath);
Configuration conf = new Configuration(properties);
AmbariMetaInfo ambariMetaInfo = new AmbariMetaInfo(conf);
BootStrapImpl impl = new BootStrapImpl(conf, ambariMetaInfo);