summaryrefslogtreecommitdiff
path: root/vest
diff options
context:
space:
mode:
Diffstat (limited to 'vest')
-rwxr-xr-xvest/dist-vest.pl3
-rwxr-xr-xvest/parallelize.pl2
2 files changed, 3 insertions, 2 deletions
diff --git a/vest/dist-vest.pl b/vest/dist-vest.pl
index fd4dbc0e..5f99d4f0 100755
--- a/vest/dist-vest.pl
+++ b/vest/dist-vest.pl
@@ -23,6 +23,7 @@ my $MAPPER = "$bin_dir/mr_vest_map";
my $REDUCER = "$bin_dir/mr_vest_reduce";
my $parallelize = "$bin_dir/parallelize.pl";
my $sentserver = "$bin_dir/sentserver";
+my $sentclient = "$bin_dir/sentclient";
my $SCORER = $FAST_SCORE;
die "Can't find $MAPPER" unless -x $MAPPER;
my $cdec = "$bin_dir/../decoder/cdec";
@@ -193,7 +194,7 @@ if ($dryrun){
} else {
-e $dir || mkdir $dir;
mkdir "$dir/hgs";
- modbin("$dir/bin",\$cdec,\$SCORER,\$MAPINPUT,\$MAPPER,\$REDUCER,\$parallelize,\$sentserver) if $cpbin;
+ modbin("$dir/bin",\$cdec,\$SCORER,\$MAPINPUT,\$MAPPER,\$REDUCER,\$parallelize,\$sentserver,\$sentclient) if $cpbin;
mkdir "$dir/scripts";
my $cmdfile="$dir/rerun-vest.sh";
open CMD,'>',$cmdfile;
diff --git a/vest/parallelize.pl b/vest/parallelize.pl
index be12eefb..a5a40704 100755
--- a/vest/parallelize.pl
+++ b/vest/parallelize.pl
@@ -238,7 +238,7 @@ my $script = "";
# fork == one thread runs the sentserver, while the
# other spawns the sentclient commands.
if (my $pid = fork) {
- sleep 4; # give other thread time to start sentserver
+ sleep 8; # give other thread time to start sentserver
$script =
qq{wait
$cdcmd$sentclient $host:$port:$key $cmd