bigtop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@apache.org
Subject svn commit: r1164288 - in /incubator/bigtop/trunk/bigtop-tests/test-artifacts: flume/src/main/groovy/org/apache/bigtop/itest/flumesmoke/ hadoop/src/main/groovy/org/apache/bigtop/itest/hadoopsmoke/ hadoop/src/main/groovy/org/apache/bigtop/itest/hadoopte...
Date Thu, 01 Sep 2011 22:12:24 GMT
Author: rvs
Date: Thu Sep  1 22:12:23 2011
New Revision: 1164288

URL: http://svn.apache.org/viewvc?rev=1164288&view=rev
Log:
BIGTOP-70. Need to stub Hadoop 0.21+ dependencies for now in test artifacts

Modified:
    incubator/bigtop/trunk/bigtop-tests/test-artifacts/flume/src/main/groovy/org/apache/bigtop/itest/flumesmoke/TestFlumeSmoke.groovy
    incubator/bigtop/trunk/bigtop-tests/test-artifacts/hadoop/src/main/groovy/org/apache/bigtop/itest/hadoopsmoke/TestHadoopSmoke.groovy
    incubator/bigtop/trunk/bigtop-tests/test-artifacts/hadoop/src/main/groovy/org/apache/bigtop/itest/hadooptests/TestTestCLI.groovy

Modified: incubator/bigtop/trunk/bigtop-tests/test-artifacts/flume/src/main/groovy/org/apache/bigtop/itest/flumesmoke/TestFlumeSmoke.groovy
URL: http://svn.apache.org/viewvc/incubator/bigtop/trunk/bigtop-tests/test-artifacts/flume/src/main/groovy/org/apache/bigtop/itest/flumesmoke/TestFlumeSmoke.groovy?rev=1164288&r1=1164287&r2=1164288&view=diff
==============================================================================
--- incubator/bigtop/trunk/bigtop-tests/test-artifacts/flume/src/main/groovy/org/apache/bigtop/itest/flumesmoke/TestFlumeSmoke.groovy
(original)
+++ incubator/bigtop/trunk/bigtop-tests/test-artifacts/flume/src/main/groovy/org/apache/bigtop/itest/flumesmoke/TestFlumeSmoke.groovy
Thu Sep  1 22:12:23 2011
@@ -25,7 +25,12 @@ import org.junit.BeforeClass
 import static junit.framework.Assert.assertEquals
 import org.apache.hadoop.conf.Configuration
 import org.apache.bigtop.itest.JarContent
-import org.apache.hadoop.hdfs.DFSConfigKeys
+
+// TODO: we have to stub it for 0.20.2 release, once we move to 0.21+ this can go
+// import org.apache.hadoop.hdfs.DFSConfigKeys
+class DFSConfigKeys {
+  static public final FS_DEFAULT_NAME_KEY = "fs.default.name";
+}
 
 class TestFlumeSmoke {
   private static String tmp = "TestFlumeSmoke-${(new Date().getTime())}";

Modified: incubator/bigtop/trunk/bigtop-tests/test-artifacts/hadoop/src/main/groovy/org/apache/bigtop/itest/hadoopsmoke/TestHadoopSmoke.groovy
URL: http://svn.apache.org/viewvc/incubator/bigtop/trunk/bigtop-tests/test-artifacts/hadoop/src/main/groovy/org/apache/bigtop/itest/hadoopsmoke/TestHadoopSmoke.groovy?rev=1164288&r1=1164287&r2=1164288&view=diff
==============================================================================
--- incubator/bigtop/trunk/bigtop-tests/test-artifacts/hadoop/src/main/groovy/org/apache/bigtop/itest/hadoopsmoke/TestHadoopSmoke.groovy
(original)
+++ incubator/bigtop/trunk/bigtop-tests/test-artifacts/hadoop/src/main/groovy/org/apache/bigtop/itest/hadoopsmoke/TestHadoopSmoke.groovy
Thu Sep  1 22:12:23 2011
@@ -24,9 +24,14 @@ import org.junit.AfterClass
 import org.junit.BeforeClass
 import org.junit.Test
 import org.apache.hadoop.conf.Configuration
-import org.apache.hadoop.hdfs.DFSConfigKeys
 import static org.junit.Assert.assertEquals
 
+// TODO: we have to stub it for 0.20.2 release, once we move to 0.21+ this can go
+// import org.apache.hadoop.hdfs.DFSConfigKeys
+class DFSConfigKeys {
+  static public final FS_DEFAULT_NAME_KEY = "fs.default.name";
+}
+
 class TestHadoopSmoke {
   static Shell sh = new Shell("/bin/bash -s")
 

Modified: incubator/bigtop/trunk/bigtop-tests/test-artifacts/hadoop/src/main/groovy/org/apache/bigtop/itest/hadooptests/TestTestCLI.groovy
URL: http://svn.apache.org/viewvc/incubator/bigtop/trunk/bigtop-tests/test-artifacts/hadoop/src/main/groovy/org/apache/bigtop/itest/hadooptests/TestTestCLI.groovy?rev=1164288&r1=1164287&r2=1164288&view=diff
==============================================================================
--- incubator/bigtop/trunk/bigtop-tests/test-artifacts/hadoop/src/main/groovy/org/apache/bigtop/itest/hadooptests/TestTestCLI.groovy
(original)
+++ incubator/bigtop/trunk/bigtop-tests/test-artifacts/hadoop/src/main/groovy/org/apache/bigtop/itest/hadooptests/TestTestCLI.groovy
Thu Sep  1 22:12:23 2011
@@ -18,9 +18,14 @@
 package org.apache.bigtop.itest.hadooptests
 
 import org.apache.hadoop.conf.Configuration
-import org.apache.hadoop.fs.CommonConfigurationKeys
 import org.apache.hadoop.cli.*
 
+// TODO: we have to stub it for 0.20.2 release, once we move to 0.21+ this can go
+// import org.apache.hadoop.fs.CommonConfigurationKeys
+class CommonConfigurationKeys {
+  static final public String  FS_DEFAULT_NAME_KEY = "fs.default.name";
+}
+
 /** This test class serves only one purpose: to prepare environment for proper
  execution of parent (TestCLI)
  */



Mime
View raw message