Skip to content

Commit

Permalink
[hotfix] Deprecate AbstractYarnClusterDescriptor#setDetachedMode and …
Browse files Browse the repository at this point in the history
…isDetachedMode
  • Loading branch information
tillrohrmann committed Apr 13, 2018
1 parent fdd1c6e commit 6356128
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -313,10 +313,18 @@ private static boolean allocateResource(int[] nodeManagers, int toAllocate) {
return false;
}

/**
* @deprecated The cluster descriptor should not know about this option.
*/
@Deprecated
public void setDetachedMode(boolean detachedMode) {
this.detached = detachedMode;
}

/**
* @deprecated The cluster descriptor should not know about this option.
*/
@Deprecated
public boolean isDetachedMode() {
return detached;
}
Expand Down

0 comments on commit 6356128

Please sign in to comment.