You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myriad.apache.org by sm...@apache.org on 2015/10/29 00:49:25 UTC
[6/8] incubator-myriad git commit: Deleted old class and reset gradle
build to phase1
Deleted old class and reset gradle build to phase1
Project: http://git-wip-us.apache.org/repos/asf/incubator-myriad/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-myriad/commit/e6375134
Tree: http://git-wip-us.apache.org/repos/asf/incubator-myriad/tree/e6375134
Diff: http://git-wip-us.apache.org/repos/asf/incubator-myriad/diff/e6375134
Branch: refs/heads/master
Commit: e63751349664a6cc7b1baebd277a30fd93b0be2b
Parents: 3ae7da2
Author: Paul Read <pd...@gmail.com>
Authored: Mon Aug 17 11:36:21 2015 -0400
Committer: Santosh Marella <ma...@gmail.com>
Committed: Wed Oct 28 14:10:12 2015 -0700
----------------------------------------------------------------------
.../com/ebay/myriad/common/FrameworkUpdate.java | 51 --------------------
myriad-executor/build.gradle | 1 -
2 files changed, 52 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-myriad/blob/e6375134/myriad-commons/src/main/java/com/ebay/myriad/common/FrameworkUpdate.java
----------------------------------------------------------------------
diff --git a/myriad-commons/src/main/java/com/ebay/myriad/common/FrameworkUpdate.java b/myriad-commons/src/main/java/com/ebay/myriad/common/FrameworkUpdate.java
deleted file mode 100644
index 908f02d..0000000
--- a/myriad-commons/src/main/java/com/ebay/myriad/common/FrameworkUpdate.java
+++ /dev/null
@@ -1,51 +0,0 @@
-package com.ebay.myriad.common;
-
-import com.google.gson.Gson;
-
-/**
- *
- * Framework update from the scheduler to the executor
- *
- */
-public class FrameworkUpdate {
- /**
- * Define what kind of this update is.
- */
- public static enum Type {Command};
-
- /**
- * Define what kind of operation or command this update is.
- */
- public static enum Operation {Shutdown};
-
- public FrameworkUpdate() {
- }
-
- public FrameworkUpdate(Type type, Operation operation) {
- setType(type);
- setOperation(operation);
- }
-
- public Type getType() {
- return type;
- }
-
- public void setType(Type type) {
- this.type = type;
- }
-
- public void setOperation(Operation operation) {
- this.operation = operation;
- }
-
- public Operation getOperation() {
- return operation;
- }
-
- public String toString () {
- return new Gson().toJson(this);
- }
-
- private Type type;
- private Operation operation;
-}
http://git-wip-us.apache.org/repos/asf/incubator-myriad/blob/e6375134/myriad-executor/build.gradle
----------------------------------------------------------------------
diff --git a/myriad-executor/build.gradle b/myriad-executor/build.gradle
index 3278863..15529c9 100644
--- a/myriad-executor/build.gradle
+++ b/myriad-executor/build.gradle
@@ -19,7 +19,6 @@
dependencies {
compile project(':myriad-commons')
compile 'org.slf4j:slf4j-log4j12:1.7.7'
- compile 'org.apache.commons:commons-lang3:3.4'
compile "org.apache.hadoop:hadoop-yarn-api:${hadoopVer}"
compile "org.apache.hadoop:hadoop-common:${hadoopVer}"