You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by jb...@apache.org on 2009/03/27 17:38:50 UTC
svn commit: r759221 - in /incubator/cassandra/trunk/src/org/apache/cassandra:
service/StorageService.java test/DBTest.java
Author: jbellis
Date: Fri Mar 27 16:38:50 2009
New Revision: 759221
URL: http://svn.apache.org/viewvc?rev=759221&view=rev
Log:
cleanup unused code
Modified:
incubator/cassandra/trunk/src/org/apache/cassandra/service/StorageService.java
incubator/cassandra/trunk/src/org/apache/cassandra/test/DBTest.java
Modified: incubator/cassandra/trunk/src/org/apache/cassandra/service/StorageService.java
URL: http://svn.apache.org/viewvc/incubator/cassandra/trunk/src/org/apache/cassandra/service/StorageService.java?rev=759221&r1=759220&r2=759221&view=diff
==============================================================================
--- incubator/cassandra/trunk/src/org/apache/cassandra/service/StorageService.java (original)
+++ incubator/cassandra/trunk/src/org/apache/cassandra/service/StorageService.java Fri Mar 27 16:38:50 2009
@@ -500,23 +500,6 @@
Gossiper.instance().addApplicationState(StorageService.nodeId_, new ApplicationState(storageMetadata_.getStorageId().toString()));
}
- private void startMapReduceFramework()
- {
- // TODO: This is a null pointer exception if JobTrackerHost is not in
- // the config file. Also, shouldn't this comparison be done by IP
- // instead of host name? We could have a match but not a textual
- // match (e.g. somehost.vip vs somehost.vip.domain.com)
- if ( DatabaseDescriptor.getJobTrackerAddress().equals( StorageService.tcpAddr_.getHost() ) )
- {
-// JobTracker.instance().start();
-// TaskTracker.instance().start();
- }
- else
- {
-// TaskTracker.instance().start();
- }
- }
-
public void killMe() throws Throwable
{
isShutdown_.set(true);
Modified: incubator/cassandra/trunk/src/org/apache/cassandra/test/DBTest.java
URL: http://svn.apache.org/viewvc/incubator/cassandra/trunk/src/org/apache/cassandra/test/DBTest.java?rev=759221&r1=759220&r2=759221&view=diff
==============================================================================
--- incubator/cassandra/trunk/src/org/apache/cassandra/test/DBTest.java (original)
+++ incubator/cassandra/trunk/src/org/apache/cassandra/test/DBTest.java Fri Mar 27 16:38:50 2009
@@ -109,7 +109,7 @@
System.out.println(scanner.next().name());
}
}
-
+
public static void doTest()
{
String host = "insearch00";