#FORMAT plain hclose(1) HADOOP hclose(1)

NAME
hclose - close a TaskTracker for some reason.

SYNOPSIS
hclose [-h] [-jt jt1;jt2..] HOSTNAME

DESCRIPTION
Close the TaskTracker specified by HOSTNAME. After closed, it will
not accept new MAP/REDUCE tasks. But tasks currently running will
continue until finished. It is useful to maintenance the host.

-h
Display usage information

-jt jobtracker url link
Specify the cluster by the jobtracker url link, for example.
-jt hostA:3479;hostB:3479 EXAMPLE
% hhosts
HOST STATUS MAX MAP REDUCE FAILURE TMP_SPACE
c0101 ok 8 0 0 0 203M
c0102 ok 8 0 0 0 553M

% hclose c0102
Host <c0102> will be closed, please confirm by hhosts/hload

% hhosts
HOST STATUS MAX MAP REDUCE FAILURE TMP_SPACE
c0101 ok 8 0 0 0 203M
c0102 closed 8 0 0 0 553M AUTHOR
Written by Shuguang Liu

REPORT BUGS
Report bugs to <honkliu@hotmail.com>

COPYRIGHT
Copyright (C) 2005-2010 Shuguang Liu's Inc.

This file is not a free software, all the source codes are protected
and will not be released to any body or organization without
authority.

SEE ALSO
hopen(1), hslot(1), hhosts(1), hload(1) hclose (hadoop utils) 13.0 September 2007

  • No labels