Skip to content

Commit

Permalink
added SPARK_HOST env support as well as SPARK_MASTER_HOST
Browse files Browse the repository at this point in the history
  • Loading branch information
HariSekhon committed Oct 13, 2017
1 parent d44247c commit 5c707e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions check_spark_cluster_memory.pl
Expand Up @@ -15,7 +15,7 @@
Tested on Apache Spark standalone 1.3.1, 1.4.1, 1.5.1, 1.6.2";

$VERSION = "0.2.1";
$VERSION = "0.3.0";

use strict;
use warnings;
Expand All @@ -33,7 +33,7 @@ BEGIN
# port 8080 is usually taken, CDH sets it to 18080
#set_port_default(18080);

env_creds("Spark Master");
env_creds(["Spark Master", "Spark"], "Spark Master");

%options = (
%hostoptions,
Expand Down

0 comments on commit 5c707e1

Please sign in to comment.