Permalink
Browse files

Remove dynamicclouds contrib

  • Loading branch information...
jgray
jgray committed Apr 27, 2011
1 parent 8d633cd commit eaec342cba6e00fec3f8eb68a20242909410c01b
Showing with 0 additions and 2,677 deletions.
  1. +0 −31 src/contrib/dynamicclouds/bin/clusterbalancer.sh
  2. +0 −74 src/contrib/dynamicclouds/build.xml
  3. +0 −63 src/contrib/dynamicclouds/ivy.xml
  4. +0 −5 src/contrib/dynamicclouds/ivy/libraries.properties
  5. +0 −319 src/contrib/dynamicclouds/src/java/org/apache/hadoop/mapred/Cluster.java
  6. +0 −19 src/contrib/dynamicclouds/src/java/org/apache/hadoop/mapred/ClusterBalancerAdminProtocol.java
  7. +0 −106 src/contrib/dynamicclouds/src/java/org/apache/hadoop/mapred/ClusterBalancerTool.java
  8. +0 −62 src/contrib/dynamicclouds/src/java/org/apache/hadoop/mapred/ClusterStatusJSONParser.java
  9. +0 −367 src/contrib/dynamicclouds/src/java/org/apache/hadoop/mapred/ClustersBalancer.java
  10. +0 −343 src/contrib/dynamicclouds/src/java/org/apache/hadoop/mapred/DynamicCloudsDaemon.java
  11. +0 −32 src/contrib/dynamicclouds/src/java/org/apache/hadoop/mapred/TTLaunchTask.java
  12. +0 −93 src/contrib/dynamicclouds/src/java/org/apache/hadoop/mapred/TTLauncher.java
  13. +0 −317 src/contrib/dynamicclouds/src/java/org/apache/hadoop/mapred/TTMover.java
  14. +0 −265 src/contrib/dynamicclouds/src/java/org/apache/hadoop/mapred/TaskTrackerLoadInfo.java
  15. +0 −17 src/contrib/dynamicclouds/src/java/org/apache/hadoop/mapred/TaskTrackerLoadInfoIterator.java
  16. +0 −99 src/contrib/dynamicclouds/src/java/org/apache/hadoop/mapred/WastedTimeTTLIIterator.java
  17. +0 −44 src/contrib/dynamicclouds/src/test/org/apache/hadoop/mapred/TTMoverTestStub.java
  18. +0 −45 src/contrib/dynamicclouds/src/test/org/apache/hadoop/mapred/TestClustersBalancer.java
  19. +0 −150 src/contrib/dynamicclouds/src/test/org/apache/hadoop/mapred/TestTTMover.java
  20. +0 −118 src/contrib/dynamicclouds/src/test/org/apache/hadoop/mapred/TestTaskTrackerLoadInfo.java
  21. +0 −20 src/contrib/dynamicclouds/src/webapps/cb/index.html
  22. +0 −88 src/contrib/dynamicclouds/src/webapps/cb/status.jsp
@@ -1,31 +0,0 @@
-#!/bin/sh
-HADOOP_HOME=/home/dms/hadoop/hadoop-cluster
-
-bin=`dirname "$0"`
-bin=`cd "$bin"; pwd`
-
-
-DCROOT=`cd $bin/../; pwd`
-
-COMMAND=$1
-if [ -z $COMMAND ]; then
- # Print usage
- echo "Usage: clusterbalancer.sh (server (start|stop)|client params)"
-fi
-HADOOP_CLASSPATH=$DCROOT/dynamicclouds.jar
-if [ ! -f $HADOOP_CLASSPATH ]; then
- echo "You have to build the project with ant jar first"
- exit 1;
-fi
-export HADOOP_CLASSPATH
-
-if [ "$COMMAND" = "server" ]; then
- CLASS=org.apache.hadoop.mapred.DynamicCloudsDaemon
- $HADOOP_HOME/bin/hadoop-daemon.sh $2 $CLASS
-fi
-
-if [ "$COMMAND" = "client" ]; then
- CLASS=org.apache.hadoop.mapred.ClusterBalancerTool
- shift
- $HADOOP_HOME/bin/hadoop $CLASS $@
-fi
@@ -1,74 +0,0 @@
-<?xml version="1.0"?>
-
-<!--
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You under the Apache License, Version 2.0
- (the "License"); you may not use this file except in compliance with
- the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
--->
-
-<!--
-Before you can run these subtargets directly, you need
-to call at top-level: ant deploy-contrib compile-core-test
--->
-<project name="dynamicclouds" default="jar">
-
- <path id="dynamicclouds.common-classpath" />
-
- <import file="../build-contrib.xml"/>
-
- <property name="build.webapp" value="${root}/webapp"/>
- <property name="src.webapp" value="${root}/src/webapps" />
- <property name="build.src" value="${build.dir}/src" />
-
- <target name="compile" depends="init, ivy-retrieve-common" unless="skip.contrib">
- <echo message="compiling jsp"/>
- <taskdef classname="org.apache.jasper.JspC" name="jsp-compile" >
- <classpath refid="test.classpath"/>
- </taskdef>
- <echo message="${build.webapp}" />
- <mkdir dir="${build.webapp}/cb/WEB-INF"/>
- <jsp-compile
- uriroot="${src.webapp}/cb"
- outputdir="${build.src}"
- package="org.apache.hadoop.mapred"
- webxml="${build.webapp}/cb/WEB-INF/web.xml">
- </jsp-compile>
-
- <echo message="contrib: ${name}"/>
- <javac
- encoding="${build.encoding}"
- srcdir="${src.dir};${build.src}"
- includes="**/*.java"
- destdir="${build.classes}"
- debug="${javac.debug}"
- deprecation="${javac.deprecation}">
- <classpath refid="contrib-classpath"/>
- </javac>
- </target>
-
- <property name="jarfile" value="${root}/${name}.jar"/>
- <target name="jar" depends="compile" unless="skip.contrib">
- <echo message="contrib: ${name}"/>
- <jar jarfile="${jarfile}" basedir="${build.classes}">
- <manifest>
- <attribute name="Main-Class" value="org.apache.hadoop.mapred.ClustersBalancer"/>
- </manifest>
- </jar>
- </target>
- <target name="clean" >
- <delete dir="${build.dir}" />
- <delete dir="${build.webapp}" />
- <delete file="${jarfile}" />
- </target>
-</project>
@@ -1,63 +0,0 @@
-<?xml version="1.0" ?>
-<ivy-module version="1.0">
- <info organisation="org.apache.hadoop" module="${ant.project.name}">
- <license name="Apache 2.0"/>
- <ivyauthor name="Apache Hadoop Team" url="http://hadoop.apache.org"/>
- <description>
- Apache Hadoop contrib
- </description>
- </info>
- <configurations defaultconfmapping="default">
- <!--these match the Maven configurations-->
- <conf name="default" extends="master,runtime"/>
- <conf name="master" description="contains the artifact but no dependencies"/>
- <conf name="runtime" description="runtime but not the artifact" />
- <conf name="commons-logging" visibility="private"/>
- <conf name="common" visibility="private"
- description="artifacts needed to compile/test the application"/>
- <conf name="jetty" description="Jetty provides the in-VM HTTP daemon" extends="commons-logging"/>
- </configurations>
-
- <publications>
- <!--get the artifact from our module name-->
- <artifact conf="master"/>
- </publications>
- <dependencies>
- <dependency org="org.mortbay.jetty"
- name="jetty-util"
- rev="${jetty-util.version}"
- conf="common->master"/>
- <dependency org="commons-logging"
- name="commons-logging"
- rev="${commons-logging.version}"
- conf="common->default"/>
- <dependency org="log4j"
- name="log4j"
- rev="${log4j.version}"
- conf="common->master"/>
- <dependency org="org.mortbay.jetty"
- name="jetty"
- rev="${jetty.version}"
- conf="common->master"/>
- <dependency org="commons-httpclient"
- name="commons-httpclient"
- rev="${commons-httpclient.version}"
- conf="common->master"/>
- <dependency org="org.mortbay.jetty"
- name="servlet-api-2.5"
- rev="${servlet-api-2.5.version}"
- conf="common->default"/>
- <dependency org="junit"
- name="junit"
- rev="${junit.version}"
- conf="common->default"/>
- <dependency org="tomcat"
- name="jasper-runtime"
- rev="${jasper.version}"
- conf="jetty->master"/>
- <dependency org="tomcat"
- name="jasper-compiler"
- rev="${jasper.version}"
- conf="jetty->master"/>
- </dependencies>
-</ivy-module>
@@ -1,5 +0,0 @@
-#This properties file lists the versions of the various artifacts used by streaming.
-#It drives ivy and the generation of a maven POM
-
-#Please list the dependencies name with version if they are different from the ones
-#listed in the global libraries.properties file (in alphabetical order)
Oops, something went wrong.

0 comments on commit eaec342

Please sign in to comment.