Changeset 27396

Show
Ignore:
Timestamp:
23.05.2013 13:05:24 (6 years ago)
Author:
jmt12
Message:

Allow the host to be configured (previously only supported port). This script is now used during Hadoop imports to startup and shutdown the server - and needs to also run on Medusa

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • gs2-extensions/tdb-edit/trunk/src/bin/script/TDBClient.pl

    r26988 r27396  
    4949my $port = shift; 
    5050my $message = shift; 
    51 die "Usage: perl client.pl <host> <port> <string>\n" unless defined($message) && defined($port); 
     51die "Usage: perl client.pl <host> <port> <string>\n" unless defined($host) && defined($message) && defined($port); 
    5252my $c= SocketsSwimmingThreadPoolClient->new(host=>$host, 
    5353                                            port=>$port