A B C D E F G H I J K L M N O P Q R S T U V W Z

A

activateOptions() - Method in class org.apache.hama.bsp.TaskLogAppender
 
add(byte[], byte[]) - Static method in class org.apache.hama.util.Bytes
 
add(byte[], byte[], byte[]) - Static method in class org.apache.hama.util.Bytes
 
addCommand(List<String>, boolean) - Static method in class org.apache.hama.bsp.TaskLog
Add quotes to each of the command strings and return as a single string
addJob(T) - Method in interface org.apache.hama.bsp.Queue
Add a job to a queue.
addJob(String, JobInProgress) - Method in class org.apache.hama.bsp.QueueManager
Add a job to the specified queue.
addJobInProgressListener(JobInProgressListener) - Method in class org.apache.hama.bsp.BSPMaster
 
append(LoggingEvent) - Method in class org.apache.hama.bsp.TaskLogAppender
 
appendTo(StringBuilder) - Method in class org.apache.hama.bsp.BSPJobID
 
appendTo(StringBuilder) - Method in class org.apache.hama.bsp.TaskAttemptID
 
appendTo(StringBuilder) - Method in class org.apache.hama.bsp.TaskID
 
ATTEMPT - Static variable in class org.apache.hama.bsp.TaskAttemptID
 

B

beta(double, double) - Static method in class org.apache.hama.util.RandomVariable
Generate a random number from a beta random variable.
binarySearch(byte[][], byte[], int, int, RawComparator<byte[]>) - Static method in class org.apache.hama.util.Bytes
Binary search for keys in indexes.
BSP - Class in org.apache.hama.bsp
This class provides an abstract implementation of the BSP interface.
BSP() - Constructor for class org.apache.hama.bsp.BSP
 
bsp(BSPPeerProtocol) - Method in interface org.apache.hama.bsp.BSPInterface
A user defined function for programming in the BSP style.
BSPInterface - Interface in org.apache.hama.bsp
Interface BSP defines the basic operations needed to implement the BSP algorithm.
BSPJob - Class in org.apache.hama.bsp
A BSP job configuration.
BSPJob() - Constructor for class org.apache.hama.bsp.BSPJob
 
BSPJob(HamaConfiguration) - Constructor for class org.apache.hama.bsp.BSPJob
 
BSPJob(HamaConfiguration, String) - Constructor for class org.apache.hama.bsp.BSPJob
 
BSPJob(BSPJobID, String) - Constructor for class org.apache.hama.bsp.BSPJob
 
BSPJob(HamaConfiguration, Class<?>) - Constructor for class org.apache.hama.bsp.BSPJob
 
BSPJob(HamaConfiguration, int) - Constructor for class org.apache.hama.bsp.BSPJob
 
BSPJob.JobState - Enum in org.apache.hama.bsp
 
BSPJobClient - Class in org.apache.hama.bsp
BSPJobClient is the primary interface for the user-job to interact with the BSPMaster.
BSPJobClient(Configuration) - Constructor for class org.apache.hama.bsp.BSPJobClient
 
BSPJobClient() - Constructor for class org.apache.hama.bsp.BSPJobClient
 
BSPJobClient.TaskStatusFilter - Enum in org.apache.hama.bsp
 
BSPJobContext - Class in org.apache.hama.bsp
A read-only view of the bsp job that is provided to the tasks while they are running.
BSPJobContext(Configuration, BSPJobID) - Constructor for class org.apache.hama.bsp.BSPJobContext
 
BSPJobContext(Path, BSPJobID) - Constructor for class org.apache.hama.bsp.BSPJobContext
 
BSPJobID - Class in org.apache.hama.bsp
BSPJobID represents the immutable and unique identifier for the job.
BSPJobID(String, int) - Constructor for class org.apache.hama.bsp.BSPJobID
 
BSPJobID() - Constructor for class org.apache.hama.bsp.BSPJobID
 
BSPMaster - Class in org.apache.hama.bsp
BSPMaster is responsible to control all the groom servers and to manage bsp jobs.
BSPMaster(HamaConfiguration) - Constructor for class org.apache.hama.bsp.BSPMaster
Start the BSPMaster process, listen on the indicated hostname/port
BSPMaster.State - Enum in org.apache.hama.bsp
 
BSPMasterRunner - Class in org.apache.hama
This class starts and runs the BSPMaster.
BSPMasterRunner() - Constructor for class org.apache.hama.BSPMasterRunner
 
BSPMessage - Class in org.apache.hama.bsp
BSPMessage consists of the tag and the arbitrary amount of data to be communicated.
BSPMessage() - Constructor for class org.apache.hama.bsp.BSPMessage
 
BSPMessage(byte[], byte[]) - Constructor for class org.apache.hama.bsp.BSPMessage
Constructor
BSPPeer - Class in org.apache.hama.bsp
This class represents a BSP peer.
BSPPeer(Configuration) - Constructor for class org.apache.hama.bsp.BSPPeer
Constructor
BSPPeerInterface - Interface in org.apache.hama.bsp
BSP communication interface.
BSPPeerProtocol - Interface in org.apache.hama.bsp
Protocol that task child process uses to contact its parent process.
BSPRPCProtocolVersion - Interface in org.apache.hama.bsp
RPC Protocol version
BSPTask - Class in org.apache.hama.bsp
Base class for tasks.
BSPTask() - Constructor for class org.apache.hama.bsp.BSPTask
 
BSPTask(BSPJobID, String, TaskAttemptID, int) - Constructor for class org.apache.hama.bsp.BSPTask
 
BSPTaskRunner - Class in org.apache.hama.bsp
Base class that runs a task in a separate process.
BSPTaskRunner(BSPTask, GroomServer, BSPJob) - Constructor for class org.apache.hama.bsp.BSPTaskRunner
 
Bytes - Class in org.apache.hama.util
Utility class that handles byte arrays, conversions to/from other types, comparisons, hash code generation, manufacturing keys for HashMaps or HashSets, etc.
Bytes() - Constructor for class org.apache.hama.util.Bytes
 
Bytes.ByteArrayComparator - Class in org.apache.hama.util
Byte array comparator class.
Bytes.ByteArrayComparator() - Constructor for class org.apache.hama.util.Bytes.ByteArrayComparator
Constructor
BYTES_COMPARATOR - Static variable in class org.apache.hama.util.Bytes
Pass this to TreeMaps where byte [] are keys.
BYTES_RAWCOMPARATOR - Static variable in class org.apache.hama.util.Bytes
Use comparing byte arrays, byte-by-byte
bytesToVint(byte[]) - Static method in class org.apache.hama.util.Bytes
 

C

captureDebugOut(List<String>, File) - Static method in class org.apache.hama.bsp.TaskLog
Wrap a command in a shell to capture debug script's stdout and stderr to debugout.
captureOutAndError(List<String>, File, File, long) - Static method in class org.apache.hama.bsp.TaskLog
Wrap a command in a shell to capture stdout and stderr to files.
captureOutAndError(List<String>, List<String>, File, File, long) - Static method in class org.apache.hama.bsp.TaskLog
Wrap a command in a shell to capture stdout and stderr to files.
cauchy(double, double) - Static method in class org.apache.hama.util.RandomVariable
Generate a random number from a Cauchy random variable (Mean = Inf, and Variance = Inf).
chi2(int) - Static method in class org.apache.hama.util.RandomVariable
Generate a random number from a Chi-2 random variable.
cleanup(int) - Static method in class org.apache.hama.bsp.TaskLog
Purge old user logs.
cleanupProgress() - Method in class org.apache.hama.bsp.JobStatus
 
cleanupStorage() - Method in class org.apache.hama.bsp.GroomServer
 
clear() - Method in class org.apache.hama.bsp.BSPPeer
 
clear() - Method in interface org.apache.hama.bsp.BSPPeerInterface
Clears all queues entries.
clear() - Method in class org.apache.hama.bsp.GroomServer
 
clearLocalQueue() - Method in class org.apache.hama.bsp.BSPPeer
Clears local queue
clearOutgoingQueues() - Method in class org.apache.hama.bsp.BSPPeer
Clears outgoing queues
clone() - Method in class org.apache.hama.bsp.JobStatus
 
close() - Method in class org.apache.hama.bsp.BSPJobClient
Close the JobClient.
close() - Method in class org.apache.hama.bsp.BSPPeer
 
close() - Method in class org.apache.hama.bsp.GroomServer
 
close() - Method in class org.apache.hama.bsp.TaskLogAppender
 
CLUSTER_DISTRIBUTED - Static variable in interface org.apache.hama.Constants
Cluster is in distributed mode or not
CLUSTER_IS_DISTRIBUTED - Static variable in interface org.apache.hama.Constants
Cluster is fully-distributed
ClusterStatus - Class in org.apache.hama.bsp
Status information on the current state of the BSP cluster.
ClusterStatus() - Constructor for class org.apache.hama.bsp.ClusterStatus
 
ClusterStatus(int, int, int, BSPMaster.State) - Constructor for class org.apache.hama.bsp.ClusterStatus
 
ClusterStatus(Map<String, String>, int, int, BSPMaster.State) - Constructor for class org.apache.hama.bsp.ClusterStatus
 
ClusterUtil - Class in org.apache.hama.util
 
ClusterUtil() - Constructor for class org.apache.hama.util.ClusterUtil
 
ClusterUtil.GroomServerThread - Class in org.apache.hama.util
Data Structure to hold GroomServer Thread and GroomServer instance
ClusterUtil.GroomServerThread(GroomServer, int) - Constructor for class org.apache.hama.util.ClusterUtil.GroomServerThread
 
compare(byte[], byte[]) - Method in class org.apache.hama.util.Bytes.ByteArrayComparator
 
compare(byte[], int, int, byte[], int, int) - Method in class org.apache.hama.util.Bytes.ByteArrayComparator
 
compareTo(ID) - Method in class org.apache.hama.bsp.BSPJobID
 
compareTo(ID) - Method in class org.apache.hama.bsp.ID
 
compareTo(ID) - Method in class org.apache.hama.bsp.TaskAttemptID
 
compareTo(ID) - Method in class org.apache.hama.bsp.TaskID
 
compareTo(byte[], byte[]) - Static method in class org.apache.hama.util.Bytes
 
compareTo(byte[], int, int, byte[], int, int) - Static method in class org.apache.hama.util.Bytes
Lexographically compare two arrays.
conf - Variable in class org.apache.hama.bsp.BSPJobContext
 
Constants - Interface in org.apache.hama
Some constants used in the Hama.
constructGroomServer(Class<? extends GroomServer>, Configuration) - Static method in class org.apache.hama.bsp.GroomServer
 
constructMaster(Class<? extends BSPMaster>, Configuration) - Static method in class org.apache.hama.bsp.BSPMaster
 
countTasks() - Method in class org.apache.hama.bsp.GroomServerStatus
Return the current MapTask count
createFCFSQueue(String) - Method in class org.apache.hama.bsp.QueueManager
Create a FCFS queue with the name provided.
createGroomServerThread(Configuration, Class<? extends GroomServer>, int) - Static method in class org.apache.hama.util.ClusterUtil
Creates a ClusterUtil.GroomServerThread.
createRunner(GroomServer) - Method in class org.apache.hama.bsp.BSPTask
 
createRunner(GroomServer) - Method in class org.apache.hama.bsp.Task
 
currentGroomServerPeers() - Method in class org.apache.hama.bsp.BSPMaster
 
currentState() - Method in class org.apache.hama.bsp.BSPMaster
 

D

data - Variable in class org.apache.hama.bsp.BSPMessage
 
DEFAULT_GROOM_RPC_HOST - Static variable in interface org.apache.hama.Constants
 
DEFAULT_GROOM_RPC_PORT - Static variable in interface org.apache.hama.Constants
Default port region rpc server listens on.
DEFAULT_PEER_HOST - Static variable in interface org.apache.hama.Constants
default host address
DEFAULT_PEER_PORT - Static variable in interface org.apache.hama.Constants
Default port region server listens on.
DEFAULT_ZOOKEEPER_PAUSE - Static variable in interface org.apache.hama.Constants
Default ZooKeeper pause value.
DEFAULT_ZOOKEEPER_RETRIES - Static variable in interface org.apache.hama.Constants
Default number of times to retry writes to ZooKeeper.
DEFAULT_ZOOKEEPER_ROOT - Static variable in interface org.apache.hama.Constants
zookeeper default root
DEFAULT_ZOOKEEPER_SERVER_ADDR - Static variable in interface org.apache.hama.Constants
zookeeper default server address
DEFAULT_ZOOKEPER_CLIENT_PORT - Static variable in interface org.apache.hama.Constants
 
deleteLocalFiles() - Method in class org.apache.hama.bsp.GroomServer
 
deleteLocalFiles(String) - Method in class org.apache.hama.bsp.GroomServer
 
dirac(double[], double[]) - Static method in class org.apache.hama.util.RandomVariable
Generate a random number from a discrete random variable.
Directive - Class in org.apache.hama.bsp
A generic directive from the BSPMaster to the GroomServer to take some 'action'.
Directive() - Constructor for class org.apache.hama.bsp.Directive
 
Directive(Map<String, String>, GroomServerAction[]) - Constructor for class org.apache.hama.bsp.Directive
 
Directive(GroomServerStatus) - Constructor for class org.apache.hama.bsp.Directive
 
Directive.Type - Enum in org.apache.hama.bsp
 
dispatch(Directive) - Method in class org.apache.hama.bsp.GroomServer
 
dispatch(Directive) - Method in interface org.apache.hama.ipc.WorkerProtocol
Instruct GroomServer performaning tasks.
done(TaskAttemptID, boolean) - Method in interface org.apache.hama.bsp.BSPPeerProtocol
Report that the task is successfully completed.
done(TaskAttemptID, boolean) - Method in class org.apache.hama.bsp.GroomServer
 
done(BSPPeerProtocol) - Method in class org.apache.hama.bsp.Task
 
doReport(TaskStatus) - Method in class org.apache.hama.bsp.GroomServer
Update and report refresh status back to BSPMaster.

E

EMPTY_BYTE_ARRAY - Static variable in interface org.apache.hama.Constants
An empty instance.
enterBarrier() - Method in class org.apache.hama.bsp.BSPPeer
 
equals(Object) - Method in class org.apache.hama.bsp.BSPJobID
 
equals(Object) - Method in class org.apache.hama.bsp.GroomServerStatus
 
equals(Object) - Method in class org.apache.hama.bsp.ID
 
equals(Object) - Method in class org.apache.hama.bsp.TaskAttemptID
 
equals(Object) - Method in class org.apache.hama.bsp.TaskID
 
equals(byte[], byte[]) - Static method in class org.apache.hama.util.Bytes
 
ESTIMATED_HEAP_TAX - Static variable in class org.apache.hama.util.Bytes
Estimate of size cost to pay beyond payload in jvm for instance of byte [].
exponential(double) - Static method in class org.apache.hama.util.RandomVariable
Generate a random number from an exponantial random variable (Mean = 1/lambda, variance = 1/lambda^2).

F

FAILED - Static variable in class org.apache.hama.bsp.JobStatus
 
failTask(TaskAttemptID) - Method in class org.apache.hama.bsp.BSPJob
 
findGroomServer(GroomServerStatus) - Method in class org.apache.hama.bsp.BSPMaster
 
findGroomServers() - Method in class org.apache.hama.bsp.BSPMaster
 
findQueue(String) - Method in class org.apache.hama.bsp.QueueManager
Find Queue according to the name specified.
forName(String) - Method in class org.apache.hama.bsp.BSPJobID
 
forName(String) - Static method in class org.apache.hama.bsp.TaskAttemptID
 
forName(String) - Static method in class org.apache.hama.bsp.TaskID
 
fsError(TaskAttemptID, String) - Method in interface org.apache.hama.bsp.BSPPeerProtocol
Report that the task encounted a local filesystem error.
fsError(TaskAttemptID, String) - Method in class org.apache.hama.bsp.GroomServer
 

G

get(String) - Method in class org.apache.hama.bsp.BSPJobContext
 
getActions() - Method in class org.apache.hama.bsp.Directive
 
getActiveGroomNames() - Method in class org.apache.hama.bsp.ClusterStatus
Get the names of groom servers, and their peers, in the cluster.
getAddress(Configuration) - Static method in class org.apache.hama.bsp.BSPMaster
 
getAllJobs() - Method in class org.apache.hama.bsp.BSPJobClient
Gets the jobs that are submitted.
getAllJobs() - Method in class org.apache.hama.bsp.BSPMaster
 
getAllJobs() - Method in interface org.apache.hama.ipc.JobSubmissionProtocol
Get all the jobs submitted.
getAllPeerNames() - Method in class org.apache.hama.bsp.BSPPeer
 
getAllPeerNames() - Method in interface org.apache.hama.bsp.BSPPeerInterface
 
getAllPeerNames() - Method in class org.apache.hama.bsp.GroomServer
 
getBspClass() - Method in class org.apache.hama.bsp.BSPJob
 
getBSPMasterState() - Method in class org.apache.hama.bsp.ClusterStatus
Get the current state of the BSPMaster, as BSPMaster.State
getBSPPeerConnection(InetSocketAddress) - Method in class org.apache.hama.bsp.BSPPeer
 
getBspPeerName() - Method in class org.apache.hama.bsp.GroomServer
GroomServer address information.
getClusterStatus(boolean) - Method in class org.apache.hama.bsp.BSPJobClient
Get status information about the BSP cluster
getClusterStatus(boolean) - Method in class org.apache.hama.bsp.BSPMaster
 
getClusterStatus(boolean) - Method in interface org.apache.hama.ipc.JobSubmissionProtocol
Get the current status of the cluster
getConf() - Method in class org.apache.hama.bsp.BSPJobContext
 
getConf() - Method in class org.apache.hama.bsp.BSPTask
 
getConf() - Method in class org.apache.hama.bsp.Task
 
getCurrentMessage() - Method in class org.apache.hama.bsp.BSPPeer
 
getCurrentMessage() - Method in interface org.apache.hama.bsp.BSPPeerInterface
 
getCurrentMessage() - Method in class org.apache.hama.bsp.GroomServer
 
getData() - Method in class org.apache.hama.bsp.BSPMessage
 
getFailures() - Method in class org.apache.hama.bsp.GroomServerStatus
 
getFilesystemName() - Method in class org.apache.hama.bsp.BSPMaster
 
getFilesystemName() - Method in interface org.apache.hama.ipc.JobSubmissionProtocol
A BSP system always operates on a single filesystem.
getFinishTime() - Method in class org.apache.hama.bsp.JobStatus
Get the finish time of the job.
getFs() - Method in class org.apache.hama.bsp.BSPJobClient
Get a filesystem handle.
getGroomName() - Method in class org.apache.hama.bsp.GroomServerStatus
 
getGroomServer() - Method in class org.apache.hama.util.ClusterUtil.GroomServerThread
 
getGroomServerPeers() - Method in class org.apache.hama.bsp.Directive
 
getGroomServers() - Method in class org.apache.hama.bsp.ClusterStatus
Get the number of groom servers in the cluster.
getId() - Method in class org.apache.hama.bsp.ID
 
getID() - Method in interface org.apache.hama.bsp.RunningJob
Get the job identifier.
getInt(String, int) - Method in class org.apache.hama.bsp.BSPJobContext
 
getJar() - Method in class org.apache.hama.bsp.BSPJobContext
 
getJobFile() - Method in class org.apache.hama.bsp.JobProfile
Get the configuration file for the job.
getJobFile() - Method in interface org.apache.hama.bsp.RunningJob
Get the path of the submitted job configuration.
getJobFile() - Method in class org.apache.hama.bsp.Task
 
getJobID() - Method in class org.apache.hama.bsp.BSPJobContext
 
getJobID() - Method in class org.apache.hama.bsp.JobProfile
Get the job id.
getJobID() - Method in class org.apache.hama.bsp.JobStatus
 
getJobID() - Method in class org.apache.hama.bsp.Task
Get the job name for this task.
getJobID() - Method in class org.apache.hama.bsp.TaskAttemptID
 
getJobID() - Method in class org.apache.hama.bsp.TaskID
Returns the BSPJobID object that this tip belongs to
getJobName() - Method in class org.apache.hama.bsp.BSPJobContext
 
getJobName() - Method in class org.apache.hama.bsp.JobProfile
Get the user-specified job name.
getJobName() - Method in interface org.apache.hama.bsp.RunningJob
Get the name of the job.
getJobProfile(BSPJobID) - Method in class org.apache.hama.bsp.BSPMaster
 
getJobProfile(BSPJobID) - Method in interface org.apache.hama.ipc.JobSubmissionProtocol
Grab a handle to a job that is already known to the BSPMaster.
getJobState() - Method in interface org.apache.hama.bsp.RunningJob
Returns the current state of the Job.
getJobStatus(BSPJobID) - Method in class org.apache.hama.bsp.BSPMaster
 
getJobStatus(BSPJobID) - Method in interface org.apache.hama.ipc.JobSubmissionProtocol
Grab a handle to a job that is already known to the BSPMaster.
getJtIdentifier() - Method in class org.apache.hama.bsp.BSPJobID
 
getLastSeen() - Method in class org.apache.hama.bsp.GroomServerStatus
 
getLocalDirs() - Method in class org.apache.hama.bsp.GroomServer
 
getLocalPath(String) - Method in class org.apache.hama.bsp.BSPJobContext
Constructs a local file name.
getLocalQueueSize() - Method in class org.apache.hama.bsp.BSPPeer
 
getMaxTasks() - Method in class org.apache.hama.bsp.ClusterStatus
Get the maximum capacity for running tasks in the cluster.
getMaxTasks() - Method in class org.apache.hama.bsp.GroomServerStatus
 
getName() - Method in interface org.apache.hama.bsp.Queue
The queue name.
getNewJobId() - Method in class org.apache.hama.bsp.BSPMaster
This method returns new job id.
getNewJobId() - Method in interface org.apache.hama.ipc.JobSubmissionProtocol
Allocate a new id for the job.
getNumBspTask() - Method in class org.apache.hama.bsp.BSPJob
 
getNumCurrentMessages() - Method in class org.apache.hama.bsp.BSPPeer
 
getNumCurrentMessages() - Method in interface org.apache.hama.bsp.BSPPeerInterface
 
getNumCurrentMessages() - Method in class org.apache.hama.bsp.GroomServer
 
getOutgoingQueueSize() - Method in class org.apache.hama.bsp.BSPPeer
 
getPartition() - Method in class org.apache.hama.bsp.Task
Get the index of this task within the job.
getPeerName() - Method in class org.apache.hama.bsp.BSPPeer
 
getPeerName() - Method in interface org.apache.hama.bsp.BSPPeerInterface
 
getPeerName() - Method in class org.apache.hama.bsp.GroomServer
 
getPeerName() - Method in class org.apache.hama.bsp.GroomServerStatus
The host (and port) from where the groom server can be reached.
getProtocolVersion(String, long) - Method in class org.apache.hama.bsp.BSPMaster
 
getProtocolVersion(String, long) - Method in class org.apache.hama.bsp.BSPPeer
 
getProtocolVersion(String, long) - Method in class org.apache.hama.bsp.GroomServer
 
getRpcServer() - Method in class org.apache.hama.bsp.GroomServerStatus
 
getRunState() - Method in class org.apache.hama.bsp.JobStatus
 
getSchedulingInfo() - Method in class org.apache.hama.bsp.JobStatus
 
getStartTime() - Method in class org.apache.hama.bsp.JobStatus
 
getState() - Method in class org.apache.hama.bsp.JobStatus
 
getStatus() - Method in class org.apache.hama.bsp.Directive
 
getStatus() - Method in class org.apache.hama.bsp.TaskAttemptContext
Get the last set status message.
getSuperstepCount() - Method in class org.apache.hama.bsp.BSPPeer
 
getSuperstepCount() - Method in interface org.apache.hama.bsp.BSPPeerInterface
 
getSuperstepCount() - Method in class org.apache.hama.bsp.GroomServer
 
getSuperstepCount() - Method in class org.apache.hama.bsp.JobStatus
 
getSuperstepCount() - Method in interface org.apache.hama.bsp.RunningJob
 
getSystemDir() - Method in class org.apache.hama.bsp.BSPJobClient
Grab the bspmaster system directory path where job-specific files are to be placed.
getSystemDir() - Method in class org.apache.hama.bsp.BSPMaster
Return system directory to which BSP store control files.
getSystemDir() - Method in interface org.apache.hama.ipc.JobSubmissionProtocol
Grab the bspmaster system directory path where job-specific files are to be placed.
getSystemDir() - Method in interface org.apache.hama.ipc.MasterProtocol
 
getTag() - Method in class org.apache.hama.bsp.BSPMessage
BSP messages are typically identified with tags.
getTask(TaskAttemptID) - Method in interface org.apache.hama.bsp.BSPPeerProtocol
Called when a child task process starts, to get its task.
getTask(TaskAttemptID) - Method in class org.apache.hama.bsp.GroomServer
 
getTask() - Method in class org.apache.hama.bsp.TaskRunner
 
getTaskAttemptId() - Method in class org.apache.hama.bsp.Task
 
getTaskAttemptID() - Method in class org.apache.hama.bsp.TaskAttemptContext
Get the unique name for this task attempt.
getTaskID() - Method in class org.apache.hama.bsp.Task
 
getTaskID() - Method in class org.apache.hama.bsp.TaskAttemptID
 
getTaskId() - Method in class org.apache.hama.bsp.TaskLogAppender
Getter/Setter methods for log4j.
getTaskLogFile(TaskAttemptID, TaskLog.LogName) - Static method in class org.apache.hama.bsp.TaskLog
 
getTaskLogLength(HamaConfiguration) - Static method in class org.apache.hama.bsp.TaskLog
Get the desired maximum length of task's logs.
getTaskReports() - Method in class org.apache.hama.bsp.GroomServerStatus
Get the current tasks at the GroomServer.
getTasks() - Method in class org.apache.hama.bsp.ClusterStatus
Get the number of currently running tasks in the cluster.
getTaskTrackerReportAddress() - Method in class org.apache.hama.bsp.GroomServer
Return the port at which the tasktracker bound to
getTimestamp() - Method in class org.apache.hama.bsp.Directive
 
getTotalLogFileSize() - Method in class org.apache.hama.bsp.TaskLogAppender
 
getType() - Method in class org.apache.hama.bsp.Directive
 
getUser() - Method in class org.apache.hama.bsp.BSPJobContext
 
getUser() - Method in class org.apache.hama.bsp.JobProfile
Get the user id.
getUsername() - Method in class org.apache.hama.bsp.JobStatus
 
getWorkingDirectory() - Method in class org.apache.hama.bsp.BSPJobContext
 
GROOM_RPC_HOST - Static variable in interface org.apache.hama.Constants
 
GROOM_RPC_PORT - Static variable in interface org.apache.hama.Constants
 
GROOM_SERVER_IMPL - Static variable in interface org.apache.hama.Constants
Parameter name for what groom server implementation to use.
GroomServer - Class in org.apache.hama.bsp
A Groom Server (shortly referred to as groom) is a process that performs bsp tasks assigned by BSPMaster.
GroomServer(Configuration) - Constructor for class org.apache.hama.bsp.GroomServer
 
GroomServer.Child - Class in org.apache.hama.bsp
The main() for child processes.
GroomServer.Child() - Constructor for class org.apache.hama.bsp.GroomServer.Child
 
GROOMSERVER_EXPIRY_INTERVAL - Static variable in class org.apache.hama.bsp.BSPMaster
 
GroomServerRunner - Class in org.apache.hama
This class starts and runs the GroomServer.
GroomServerRunner() - Constructor for class org.apache.hama.GroomServerRunner
 
groomServers - Variable in class org.apache.hama.bsp.BSPMaster
 
GroomServerStatus - Class in org.apache.hama.bsp
A GroomServerStatus is a BSP primitive.
GroomServerStatus() - Constructor for class org.apache.hama.bsp.GroomServerStatus
 
GroomServerStatus(String, String, List<TaskStatus>, int, int) - Constructor for class org.apache.hama.bsp.GroomServerStatus
 
GroomServerStatus(String, String, List<TaskStatus>, int, int, String) - Constructor for class org.apache.hama.bsp.GroomServerStatus
 
groomServerStatusKeySet() - Method in class org.apache.hama.bsp.BSPMaster
 

H

HamaConfiguration - Class in org.apache.hama
Adds Hama configuration files to a Configuration.
HamaConfiguration() - Constructor for class org.apache.hama.HamaConfiguration
constructor
HamaConfiguration(Path) - Constructor for class org.apache.hama.HamaConfiguration
 
HamaConfiguration(Configuration) - Constructor for class org.apache.hama.HamaConfiguration
Create a clone of passed configuration.
HamaRPCProtocolVersion - Interface in org.apache.hama.ipc
There is one version id for all the RPC interfaces.
hashCode() - Method in class org.apache.hama.bsp.BSPJobID
 
hashCode() - Method in class org.apache.hama.bsp.GroomServerStatus
For BSPMaster to distinguish between different GroomServers, because BSPMaster stores using GroomServerStatus as key.
hashCode() - Method in class org.apache.hama.bsp.ID
 
hashCode() - Method in class org.apache.hama.bsp.TaskAttemptID
 
hashCode() - Method in class org.apache.hama.bsp.TaskID
 
hashCode(byte[]) - Static method in class org.apache.hama.util.Bytes
 
hashCode(byte[], int) - Static method in class org.apache.hama.util.Bytes
 
head(byte[], int) - Static method in class org.apache.hama.util.Bytes
 

I

ID - Class in org.apache.hama.bsp
A general identifier, which internally stores the id as an integer.
ID(int) - Constructor for class org.apache.hama.bsp.ID
 
ID() - Constructor for class org.apache.hama.bsp.ID
 
id - Variable in class org.apache.hama.bsp.ID
 
idFormat - Static variable in class org.apache.hama.bsp.BSPJobID
 
idFormat - Static variable in class org.apache.hama.bsp.TaskID
 
incrementBytes(byte[], long) - Static method in class org.apache.hama.util.Bytes
Bytewise binary increment/deincrement of long contained in byte array on given amount.
init(Configuration) - Method in class org.apache.hama.bsp.BSPJobClient
 
initialize() - Method in class org.apache.hama.bsp.GroomServer
 
initJob(JobInProgress) - Method in class org.apache.hama.bsp.QueueManager
Initialize a job.
INPUT_FORMAT_CLASS_ATTR - Static variable in class org.apache.hama.bsp.BSPJobContext
 
isComplete() - Method in class org.apache.hama.bsp.BSPJob
 
isComplete() - Method in interface org.apache.hama.bsp.RunningJob
Check if the job is finished or not.
isJobComplete() - Method in class org.apache.hama.bsp.JobStatus
 
isRunning() - Method in class org.apache.hama.bsp.GroomServer
 
isSuccessful() - Method in class org.apache.hama.bsp.BSPJob
 
isSuccessful() - Method in interface org.apache.hama.bsp.RunningJob
Check if the job completed successfully.

J

JOB - Static variable in class org.apache.hama.bsp.BSPJobID
 
jobFile - Variable in class org.apache.hama.bsp.Task
 
jobId - Variable in class org.apache.hama.bsp.Task
 
JobProfile - Class in org.apache.hama.bsp
A JobProfile tracks job's status.
JobProfile() - Constructor for class org.apache.hama.bsp.JobProfile
Construct an empty JobProfile.
JobProfile(String, BSPJobID, String, String) - Constructor for class org.apache.hama.bsp.JobProfile
Construct a JobProfile the userid, jobid, job config-file, job-details url and job name.
jobs() - Method in interface org.apache.hama.bsp.Queue
Return all data stored in this queue.
JobStatus - Class in org.apache.hama.bsp
Describes the current status of a job.
JobStatus() - Constructor for class org.apache.hama.bsp.JobStatus
 
JobStatus(BSPJobID, String, long, int) - Constructor for class org.apache.hama.bsp.JobStatus
 
JobStatus(BSPJobID, String, long, long, int) - Constructor for class org.apache.hama.bsp.JobStatus
 
JobStatus(BSPJobID, String, long, long, long, int) - Constructor for class org.apache.hama.bsp.JobStatus
 
JobStatus(BSPJobID, String, long, long, long, int, long) - Constructor for class org.apache.hama.bsp.JobStatus
 
JobStatus.State - Enum in org.apache.hama.bsp
 
jobsToComplete() - Method in class org.apache.hama.bsp.BSPJobClient
Gets the jobs that are not completed and not failed.
jobsToComplete() - Method in class org.apache.hama.bsp.BSPMaster
 
jobsToComplete() - Method in interface org.apache.hama.ipc.JobSubmissionProtocol
Get the jobs that are not completed and not failed
JobSubmissionProtocol - Interface in org.apache.hama.ipc
Protocol that a groom server and the central BSP Master use to communicate.

K

kill() - Method in class org.apache.hama.bsp.TaskRunner
Kill the child process
KILLED - Static variable in class org.apache.hama.bsp.JobStatus
 
killJob() - Method in class org.apache.hama.bsp.BSPJob
 
killJob(BSPJobID) - Method in class org.apache.hama.bsp.BSPMaster
 
killJob() - Method in interface org.apache.hama.bsp.RunningJob
Kill the running job.
killJob(BSPJobID) - Method in interface org.apache.hama.ipc.JobSubmissionProtocol
Kill the indicated job
killTask(TaskAttemptID) - Method in class org.apache.hama.bsp.BSPJob
 
killTask(TaskAttemptID, boolean) - Method in class org.apache.hama.bsp.BSPMaster
 
killTask(TaskAttemptID, boolean) - Method in interface org.apache.hama.bsp.RunningJob
Kill indicated task attempt.
killTask(TaskAttemptID, boolean) - Method in interface org.apache.hama.ipc.JobSubmissionProtocol
Kill indicated task attempt.

L

lDirAlloc - Variable in class org.apache.hama.bsp.Task
 
leaveBarrier() - Method in class org.apache.hama.bsp.BSPPeer
 
LOG - Static variable in class org.apache.hama.bsp.BSPMaster
 
LOG - Static variable in class org.apache.hama.bsp.BSPPeer
 
LOG - Static variable in class org.apache.hama.bsp.BSPTaskRunner
 
LOG - Static variable in class org.apache.hama.bsp.Directive
 
LOG - Static variable in class org.apache.hama.bsp.GroomServer
 
LOG - Static variable in class org.apache.hama.bsp.GroomServerStatus
 
LOG - Static variable in class org.apache.hama.bsp.JobStatus
 
LOG - Static variable in class org.apache.hama.bsp.Task
 
LOG - Static variable in class org.apache.hama.bsp.TaskRunner
 
LOG - Static variable in class org.apache.hama.BSPMasterRunner
 
LOG - Static variable in class org.apache.hama.GroomServerRunner
 
LOG - Static variable in class org.apache.hama.ZooKeeperRunner
 
logNormal(double, double) - Static method in class org.apache.hama.util.RandomVariable
Generate a random number from a LogNormal random variable.

M

main(String[]) - Static method in class org.apache.hama.bsp.BSPJobClient
 
main(String[]) - Static method in class org.apache.hama.bsp.GroomServer.Child
 
main(String[]) - Static method in class org.apache.hama.BSPMasterRunner
 
main(String[]) - Static method in class org.apache.hama.GroomServerRunner
 
main(String[]) - Static method in class org.apache.hama.util.RunJar
Run a Hadoop job jar.
main(String[]) - Static method in class org.apache.hama.util.VersionInfo
 
main(String[]) - Static method in class org.apache.hama.zookeeper.ZKServerTool
Run the tool.
main(String[]) - Static method in class org.apache.hama.ZooKeeperRunner
 
makeZKProps(Configuration) - Static method in class org.apache.hama.zookeeper.QuorumPeer
Make a Properties object holding ZooKeeper config equivalent to zoo.cfg.
mapKey(byte[]) - Static method in class org.apache.hama.util.Bytes
 
mapKey(byte[], int) - Static method in class org.apache.hama.util.Bytes
 
MasterProtocol - Interface in org.apache.hama.ipc
A new protocol for GroomServers communicate with BSPMaster.
MiniZooKeeperCluster - Class in org.apache.hama
This class starts and runs the MiniZookeeperCluster.
MiniZooKeeperCluster() - Constructor for class org.apache.hama.MiniZooKeeperCluster
Create mini Zookeeper cluster.
monitorAndPrintJob(BSPJob, RunningJob) - Method in class org.apache.hama.bsp.BSPJobClient
Monitor a job and print status in real-time as progress is made and tasks fail.
moveJob(String, String, JobInProgress) - Method in class org.apache.hama.bsp.QueueManager
Move a job from a queue to another.

N

normal(double, double) - Static method in class org.apache.hama.util.RandomVariable
Generate a random number from a Gaussian (Normal) random variable.

O

offerService() - Method in class org.apache.hama.bsp.BSPMaster
 
offerService() - Method in class org.apache.hama.bsp.GroomServer
 
org.apache.hama - package org.apache.hama
 
org.apache.hama.bsp - package org.apache.hama.bsp
BSP computing framework.
org.apache.hama.ipc - package org.apache.hama.ipc
Tools to help define network clients and servers.
org.apache.hama.util - package org.apache.hama.util
Common utilities.
org.apache.hama.zookeeper - package org.apache.hama.zookeeper
Tools to start the ZooKeeper server and quorum peers.
OUTPUT_FORMAT_CLASS_ATTR - Static variable in class org.apache.hama.bsp.BSPJobContext
 

P

padHead(byte[], int) - Static method in class org.apache.hama.util.Bytes
 
padTail(byte[], int) - Static method in class org.apache.hama.util.Bytes
 
parseZooCfg(Configuration, InputStream) - Static method in class org.apache.hama.zookeeper.QuorumPeer
Parse ZooKeeper's zoo.cfg, injecting Hama Configuration variables in.
partition - Variable in class org.apache.hama.bsp.Task
 
PEER_HOST - Static variable in interface org.apache.hama.Constants
default host address
PEER_ID - Static variable in interface org.apache.hama.Constants
 
PEER_PORT - Static variable in interface org.apache.hama.Constants
 
ping(TaskAttemptID) - Method in interface org.apache.hama.bsp.BSPPeerProtocol
Periodically called by child to check if parent is still alive.
ping(TaskAttemptID) - Method in class org.apache.hama.bsp.GroomServer
 
PREP - Static variable in class org.apache.hama.bsp.JobStatus
 
prepare() - Method in class org.apache.hama.bsp.TaskRunner
Called to assemble this task's input.
process(WatchedEvent) - Method in class org.apache.hama.bsp.BSPPeer
 
progress() - Method in class org.apache.hama.bsp.BSPJob
 
progress() - Method in class org.apache.hama.bsp.JobStatus
 
progress() - Method in interface org.apache.hama.bsp.RunningJob
Get the progress of the job's tasks, as a float between 0.0 and 1.0.
progress() - Method in class org.apache.hama.bsp.TaskAttemptContext
Report progress.
put(BSPMessage) - Method in class org.apache.hama.bsp.BSPPeer
 
put(BSPMessage) - Method in interface org.apache.hama.bsp.BSPPeerInterface
Puts a message to local queue.
put(BSPMessage) - Method in class org.apache.hama.bsp.GroomServer
 
putByte(byte[], int, byte) - Static method in class org.apache.hama.util.Bytes
Write a single byte out to the specified byte array position.
putBytes(byte[], int, byte[], int, int) - Static method in class org.apache.hama.util.Bytes
Put bytes at the specified byte array position.
putDouble(byte[], int, double) - Static method in class org.apache.hama.util.Bytes
 
putFloat(byte[], int, float) - Static method in class org.apache.hama.util.Bytes
 
putInt(byte[], int, int) - Static method in class org.apache.hama.util.Bytes
Put an int value out to the specified byte array position.
putLong(byte[], int, long) - Static method in class org.apache.hama.util.Bytes
Put a long value out to the specified byte array position.
putShort(byte[], int, short) - Static method in class org.apache.hama.util.Bytes
Put a short value out to the specified byte array position.

Q

Queue<T> - Interface in org.apache.hama.bsp
Job Queue interface.
QueueManager - Class in org.apache.hama.bsp
A BSPJob Queue Manager.
QueueManager(Configuration) - Constructor for class org.apache.hama.bsp.QueueManager
 
QuorumPeer - Class in org.apache.hama.zookeeper
This class starts and runs the QuorumPeers
QuorumPeer() - Constructor for class org.apache.hama.zookeeper.QuorumPeer
 

R

rand() - Static method in class org.apache.hama.util.RandomVariable
Generate a random number between 0 and 1.
randInt(int, int) - Static method in class org.apache.hama.util.RandomVariable
Generate a random integer.
RandomVariable - Class in org.apache.hama.util
The RandomVaraibale Class provides static methods for generating random numbers.
RandomVariable() - Constructor for class org.apache.hama.util.RandomVariable
 
randString(String, int) - Static method in class org.apache.hama.util.RandomVariable
Generate a random string using the specified prefix and a fixed length.
readByteArray(DataInput) - Static method in class org.apache.hama.util.Bytes
Read byte-array written with a WritableableUtils.vint prefix.
readByteArrayThrowsRuntime(DataInput) - Static method in class org.apache.hama.util.Bytes
Read byte-array written with a WritableableUtils.vint prefix.
readFields(DataInput) - Method in class org.apache.hama.bsp.BSPJobID
 
readFields(DataInput) - Method in class org.apache.hama.bsp.BSPMessage
 
readFields(DataInput) - Method in class org.apache.hama.bsp.ClusterStatus
 
readFields(DataInput) - Method in class org.apache.hama.bsp.Directive
 
readFields(DataInput) - Method in class org.apache.hama.bsp.GroomServerStatus
 
readFields(DataInput) - Method in class org.apache.hama.bsp.ID
 
readFields(DataInput) - Method in class org.apache.hama.bsp.JobProfile
 
readFields(DataInput) - Method in class org.apache.hama.bsp.JobStatus
 
readFields(DataInput) - Method in class org.apache.hama.bsp.Task
 
readFields(DataInput) - Method in class org.apache.hama.bsp.TaskAttemptID
 
readFields(DataInput) - Method in class org.apache.hama.bsp.TaskID
 
readVLong(byte[], int) - Static method in class org.apache.hama.util.Bytes
Reads a zero-compressed encoded long from input stream and returns it.
register(GroomServerStatus) - Method in class org.apache.hama.bsp.BSPMaster
A GroomServer registers with its status to BSPMaster when startup, which will update GroomServers cache.
register(GroomServerStatus) - Method in interface org.apache.hama.ipc.MasterProtocol
A GroomServer register with its status to BSPMaster, which will update GroomServers cache.
reinitialize() - Method in class org.apache.hama.bsp.BSPPeer
 
removeJob(T) - Method in interface org.apache.hama.bsp.Queue
Remove a job from the queue.
removeJob() - Method in interface org.apache.hama.bsp.Queue
Get a job
removeJob(String, JobInProgress) - Method in class org.apache.hama.bsp.QueueManager
Remove a job from the head of a designated queue.
removeJobInProgressListener(JobInProgressListener) - Method in class org.apache.hama.bsp.BSPMaster
 
report(Directive) - Method in class org.apache.hama.bsp.BSPMaster
 
report(Directive) - Method in interface org.apache.hama.ipc.MasterProtocol
A GroomServer (periodically) reports task statuses back to the BSPMaster.
run(String[]) - Method in class org.apache.hama.bsp.BSPJobClient
 
run(BSPJob, BSPPeerProtocol) - Method in class org.apache.hama.bsp.BSPTask
 
run() - Method in class org.apache.hama.bsp.GroomServer
 
run(BSPJob, BSPPeerProtocol) - Method in class org.apache.hama.bsp.Task
Run this task as a part of the named job.
run() - Method in class org.apache.hama.bsp.TaskRunner
 
run(String[]) - Method in class org.apache.hama.BSPMasterRunner
 
run(String[]) - Method in class org.apache.hama.GroomServerRunner
 
run(Configuration) - Static method in class org.apache.hama.zookeeper.QuorumPeer
Parse ZooKeeper configuration from Hama XML config and run a QuorumPeer.
run(String[]) - Method in class org.apache.hama.ZooKeeperRunner
 
RunJar - Class in org.apache.hama.util
Run a Hama job jar.
RunJar() - Constructor for class org.apache.hama.util.RunJar
 
runJob(BSPJob) - Static method in class org.apache.hama.bsp.BSPJobClient
 
RUNNING - Static variable in class org.apache.hama.bsp.JobStatus
 
RunningJob - Interface in org.apache.hama.bsp
RunningJob is the user-interface to query for details on a running BSP job.

S

Schedulable - Interface in org.apache.hama.bsp
This is the class that schedules commands to GroomServer(s)
schedule(JobInProgress, GroomServerStatus...) - Method in interface org.apache.hama.bsp.Schedulable
Schedule job to designated GroomServer(s) immediately.
send(String, BSPMessage) - Method in class org.apache.hama.bsp.BSPPeer
 
send(String, BSPMessage) - Method in interface org.apache.hama.bsp.BSPPeerInterface
Send a data with a tag to another BSPSlave corresponding to hostname.
send(String, BSPMessage) - Method in class org.apache.hama.bsp.GroomServer
 
SEPARATOR - Static variable in class org.apache.hama.bsp.ID
 
set(String, String) - Method in class org.apache.hama.bsp.BSPJob
 
setBspClass(Class<? extends BSP>) - Method in class org.apache.hama.bsp.BSPJob
Set the BSP algorithm class for the job.
setClientPort(int) - Method in class org.apache.hama.MiniZooKeeperCluster
 
setConf(BSPJob) - Method in class org.apache.hama.bsp.BSPTask
 
setConf(BSPJob) - Method in class org.apache.hama.bsp.Task
 
setCurrentTaskStatus(TaskStatus) - Method in class org.apache.hama.bsp.BSPPeer
Sets the current status
setFinishTime(long) - Method in class org.apache.hama.bsp.JobStatus
 
setInputPath(HamaConfiguration, Path) - Method in class org.apache.hama.bsp.BSPJob
 
setJar(String) - Method in class org.apache.hama.bsp.BSPJob
 
setJarByClass(Class<?>) - Method in class org.apache.hama.bsp.BSPJob
 
setJobConf(BSPJob) - Method in class org.apache.hama.bsp.BSPPeer
Sets the job configuration
setJobFile(String) - Method in class org.apache.hama.bsp.Task
 
setJobName(String) - Method in class org.apache.hama.bsp.BSPJob
 
setLastSeen(long) - Method in class org.apache.hama.bsp.GroomServerStatus
 
setNumBspTask(int) - Method in class org.apache.hama.bsp.BSPJob
 
setRunState(int) - Method in class org.apache.hama.bsp.JobStatus
 
setSchedulingInfo(String) - Method in class org.apache.hama.bsp.JobStatus
 
setStartTime(long) - Method in class org.apache.hama.bsp.JobStatus
 
setState(JobStatus.State) - Method in class org.apache.hama.bsp.JobStatus
 
setStatus(String) - Method in class org.apache.hama.bsp.TaskAttemptContext
Set the current status of the task to the given string.
setTaskId(String) - Method in class org.apache.hama.bsp.TaskLogAppender
 
setTickTime(int) - Method in class org.apache.hama.MiniZooKeeperCluster
 
setTotalLogFileSize(long) - Method in class org.apache.hama.bsp.TaskLogAppender
 
setupProgress() - Method in class org.apache.hama.bsp.JobStatus
 
setUser(String) - Method in class org.apache.hama.bsp.BSPJob
 
setUsername(String) - Method in class org.apache.hama.bsp.JobStatus
 
setWorkingDirectory(Path) - Method in class org.apache.hama.bsp.BSPJob
 
shutdown() - Method in class org.apache.hama.bsp.BSPMaster
 
shutdown() - Method in class org.apache.hama.bsp.GroomServer
 
shutdown() - Method in class org.apache.hama.MiniZooKeeperCluster
 
shutdown(BSPMaster, List<ClusterUtil.GroomServerThread>, Configuration) - Static method in class org.apache.hama.util.ClusterUtil
 
SIZEOF_BOOLEAN - Static variable in class org.apache.hama.util.Bytes
Size of boolean in bytes
SIZEOF_BYTE - Static variable in class org.apache.hama.util.Bytes
Size of byte in bytes
SIZEOF_CHAR - Static variable in class org.apache.hama.util.Bytes
Size of char in bytes
SIZEOF_DOUBLE - Static variable in class org.apache.hama.util.Bytes
Size of double in bytes
SIZEOF_FLOAT - Static variable in class org.apache.hama.util.Bytes
Size of float in bytes
SIZEOF_INT - Static variable in class org.apache.hama.util.Bytes
Size of int in bytes
SIZEOF_LONG - Static variable in class org.apache.hama.util.Bytes
Size of long in bytes
SIZEOF_SHORT - Static variable in class org.apache.hama.util.Bytes
Size of short in bytes
split(byte[], byte[], int) - Static method in class org.apache.hama.util.Bytes
Split passed range.
startGroomServer(GroomServer) - Static method in class org.apache.hama.bsp.GroomServer
 
startGroomServer(GroomServer, String) - Static method in class org.apache.hama.bsp.GroomServer
 
startMaster(HamaConfiguration) - Static method in class org.apache.hama.bsp.BSPMaster
 
startMaster(HamaConfiguration, String) - Static method in class org.apache.hama.bsp.BSPMaster
 
startup(File) - Method in class org.apache.hama.MiniZooKeeperCluster
 
startup(BSPMaster, List<ClusterUtil.GroomServerThread>, Configuration) - Static method in class org.apache.hama.util.ClusterUtil
Start the cluster.
submit() - Method in class org.apache.hama.bsp.BSPJob
 
submitJob(BSPJob) - Method in class org.apache.hama.bsp.BSPJobClient
Submit a job to the BSP system.
submitJob(BSPJobID, String) - Method in class org.apache.hama.bsp.BSPMaster
 
submitJob(BSPJobID, String) - Method in interface org.apache.hama.ipc.JobSubmissionProtocol
Submit a Job for execution.
submitJobInternal(BSPJob) - Method in class org.apache.hama.bsp.BSPJobClient
 
SUCCEEDED - Static variable in class org.apache.hama.bsp.JobStatus
 
sync() - Method in class org.apache.hama.bsp.BSPPeer
 
sync() - Method in interface org.apache.hama.bsp.BSPPeerInterface
Barrier Synchronization.
sync() - Method in class org.apache.hama.bsp.GroomServer
 

T

tag - Variable in class org.apache.hama.bsp.BSPMessage
 
tail(byte[], int) - Static method in class org.apache.hama.util.Bytes
 
Task - Class in org.apache.hama.bsp
Base class for tasks.
Task() - Constructor for class org.apache.hama.bsp.Task
 
Task(BSPJobID, String, TaskAttemptID, int) - Constructor for class org.apache.hama.bsp.Task
 
TASK - Static variable in class org.apache.hama.bsp.TaskID
 
TaskAttemptContext - Class in org.apache.hama.bsp
The context for task attempts.
TaskAttemptContext(Configuration, TaskAttemptID) - Constructor for class org.apache.hama.bsp.TaskAttemptContext
 
TaskAttemptID - Class in org.apache.hama.bsp
TaskAttemptID is a unique identifier for a task attempt.
TaskAttemptID(TaskID, int) - Constructor for class org.apache.hama.bsp.TaskAttemptID
 
TaskAttemptID(String, int, int, int) - Constructor for class org.apache.hama.bsp.TaskAttemptID
 
TaskAttemptID() - Constructor for class org.apache.hama.bsp.TaskAttemptID
 
taskId - Variable in class org.apache.hama.bsp.Task
 
TaskID - Class in org.apache.hama.bsp
TaskID represents the immutable and unique identifier for a BSP Task.
TaskID(BSPJobID, int) - Constructor for class org.apache.hama.bsp.TaskID
 
TaskID(String, int, int) - Constructor for class org.apache.hama.bsp.TaskID
 
TaskID() - Constructor for class org.apache.hama.bsp.TaskID
 
TaskLog - Class in org.apache.hama.bsp
A simple logger to handle the task-specific user logs.
TaskLog() - Constructor for class org.apache.hama.bsp.TaskLog
 
TaskLog.LogName - Enum in org.apache.hama.bsp
The filter for userlogs.
TaskLogAppender - Class in org.apache.hama.bsp
A simple log4j-appender for the task child's BSP system logs.
TaskLogAppender() - Constructor for class org.apache.hama.bsp.TaskLogAppender
 
taskReports() - Method in class org.apache.hama.bsp.GroomServerStatus
 
TaskRunner - Class in org.apache.hama.bsp
Base class that runs a task in a separate process.
TaskRunner(BSPTask, GroomServer, BSPJob) - Constructor for class org.apache.hama.bsp.TaskRunner
 
toBinaryFromHex(byte) - Static method in class org.apache.hama.util.Bytes
Takes a ASCII digit in the range A-F0-9 and returns the corresponding integer/ordinal value.
toBoolean(byte[]) - Static method in class org.apache.hama.util.Bytes
Reverses Bytes.toBytes(boolean)
toByteArrays(String[]) - Static method in class org.apache.hama.util.Bytes
 
toByteArrays(String) - Static method in class org.apache.hama.util.Bytes
 
toByteArrays(byte[]) - Static method in class org.apache.hama.util.Bytes
 
toBytes(ByteBuffer) - Static method in class org.apache.hama.util.Bytes
Returns a new byte array, copied from the passed ByteBuffer.
toBytes(String) - Static method in class org.apache.hama.util.Bytes
Converts a string to a UTF-8 byte array.
toBytes(boolean) - Static method in class org.apache.hama.util.Bytes
Convert a boolean to a byte array.
toBytes(long) - Static method in class org.apache.hama.util.Bytes
Convert a long value to a byte array using big-endian.
toBytes(float) - Static method in class org.apache.hama.util.Bytes
 
toBytes(double) - Static method in class org.apache.hama.util.Bytes
Serialize a double as the IEEE 754 double format output.
toBytes(int) - Static method in class org.apache.hama.util.Bytes
Convert an int value to a byte array
toBytes(short) - Static method in class org.apache.hama.util.Bytes
Convert a short value to a byte array of Bytes.SIZEOF_SHORT bytes long.
toBytesBinary(String) - Static method in class org.apache.hama.util.Bytes
 
toDouble(byte[]) - Static method in class org.apache.hama.util.Bytes
 
toDouble(byte[], int) - Static method in class org.apache.hama.util.Bytes
 
toFloat(byte[]) - Static method in class org.apache.hama.util.Bytes
Presumes float encoded as IEEE 754 floating-point "single format"
toFloat(byte[], int) - Static method in class org.apache.hama.util.Bytes
Presumes float encoded as IEEE 754 floating-point "single format"
toInt(byte[]) - Static method in class org.apache.hama.util.Bytes
Converts a byte array to an int value
toInt(byte[], int) - Static method in class org.apache.hama.util.Bytes
Converts a byte array to an int value
toInt(byte[], int, int) - Static method in class org.apache.hama.util.Bytes
Converts a byte array to an int value
toLong(byte[]) - Static method in class org.apache.hama.util.Bytes
Converts a byte array to a long value.
toLong(byte[], int) - Static method in class org.apache.hama.util.Bytes
Converts a byte array to a long value.
toLong(byte[], int, int) - Static method in class org.apache.hama.util.Bytes
Converts a byte array to a long value.
toShort(byte[]) - Static method in class org.apache.hama.util.Bytes
Converts a byte array to a short value
toShort(byte[], int) - Static method in class org.apache.hama.util.Bytes
Converts a byte array to a short value
toShort(byte[], int, int) - Static method in class org.apache.hama.util.Bytes
Converts a byte array to a short value
toString() - Method in class org.apache.hama.bsp.BSPJobID
 
toString() - Method in class org.apache.hama.bsp.ID
 
toString() - Method in class org.apache.hama.bsp.Task
 
toString() - Method in class org.apache.hama.bsp.TaskAttemptID
 
toString() - Method in class org.apache.hama.bsp.TaskID
 
toString() - Method in enum org.apache.hama.bsp.TaskLog.LogName
 
toString(byte[]) - Static method in class org.apache.hama.util.Bytes
 
toString(byte[], String, byte[]) - Static method in class org.apache.hama.util.Bytes
Joins two byte arrays together using a separator.
toString(byte[], int, int) - Static method in class org.apache.hama.util.Bytes
This method will convert utf8 encoded bytes into a string.
toStringBinary(byte[]) - Static method in class org.apache.hama.util.Bytes
Write a printable representation of a byte array.
toStringBinary(byte[], int, int) - Static method in class org.apache.hama.util.Bytes
Write a printable representation of a byte array.
triangular(double, double) - Static method in class org.apache.hama.util.RandomVariable
Generate a random number from a symetric triangular random variable.
triangular(double, double, double) - Static method in class org.apache.hama.util.RandomVariable
Generate a random number from a non-symetric triangular random variable.

U

uniform(double, double) - Static method in class org.apache.hama.util.RandomVariable
Generate a random number from a uniform random variable.
unJar(File, File) - Static method in class org.apache.hama.util.RunJar
Unpack a jar file into a directory.
updateTaskStatus(TaskStatus) - Method in class org.apache.hama.bsp.GroomServer
 
UTF8_ENCODING - Static variable in interface org.apache.hama.Constants
When we encode strings, we always specify UTF8 encoding

V

value() - Method in enum org.apache.hama.bsp.Directive.Type
 
value() - Method in enum org.apache.hama.bsp.JobStatus.State
 
valueOf(String) - Static method in enum org.apache.hama.bsp.BSPJob.JobState
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.hama.bsp.BSPJobClient.TaskStatusFilter
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.hama.bsp.BSPMaster.State
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.hama.bsp.Directive.Type
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.hama.bsp.JobStatus.State
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.hama.bsp.TaskLog.LogName
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.apache.hama.bsp.BSPJob.JobState
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.apache.hama.bsp.BSPJobClient.TaskStatusFilter
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.apache.hama.bsp.BSPMaster.State
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.apache.hama.bsp.Directive.Type
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.apache.hama.bsp.JobStatus.State
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.apache.hama.bsp.TaskLog.LogName
Returns an array containing the constants of this enum type, in the order they are declared.
versionID - Static variable in interface org.apache.hama.bsp.BSPRPCProtocolVersion
Interface Version History 0 - Alpha Version
versionID - Static variable in interface org.apache.hama.ipc.HamaRPCProtocolVersion
 
VersionInfo - Class in org.apache.hama.util
A version information class.
VersionInfo() - Constructor for class org.apache.hama.util.VersionInfo
 
vintToBytes(long) - Static method in class org.apache.hama.util.Bytes
 

W

waitForCompletion(boolean) - Method in class org.apache.hama.bsp.BSPJob
 
waitForCompletion() - Method in interface org.apache.hama.bsp.RunningJob
Blocks until the job is complete.
waitForServerOnline() - Method in class org.apache.hama.util.ClusterUtil.GroomServerThread
Block until the groom server has come online, indicating it is ready to be used.
waitForSync() - Method in class org.apache.hama.bsp.BSPPeer
 
weibull(double, double) - Static method in class org.apache.hama.util.RandomVariable
Generate a random number from a Weibull random variable.
WORK_CLASS_ATTR - Static variable in class org.apache.hama.bsp.BSPJobContext
 
WorkerProtocol - Interface in org.apache.hama.ipc
A protocol for BSPMaster talks to GroomServer.
WORKING_DIR - Static variable in class org.apache.hama.bsp.BSPJobContext
 
write(DataOutput) - Method in class org.apache.hama.bsp.BSPJobID
 
write(DataOutput) - Method in class org.apache.hama.bsp.BSPMessage
 
write(DataOutput) - Method in class org.apache.hama.bsp.ClusterStatus
 
write(DataOutput) - Method in class org.apache.hama.bsp.Directive
 
write(DataOutput) - Method in class org.apache.hama.bsp.GroomServerStatus
 
write(DataOutput) - Method in class org.apache.hama.bsp.ID
 
write(DataOutput) - Method in class org.apache.hama.bsp.JobProfile
 
write(DataOutput) - Method in class org.apache.hama.bsp.JobStatus
 
write(DataOutput) - Method in class org.apache.hama.bsp.Task
 
write(DataOutput) - Method in class org.apache.hama.bsp.TaskAttemptID
 
write(DataOutput) - Method in class org.apache.hama.bsp.TaskID
 
writeByteArray(DataOutput, byte[]) - Static method in class org.apache.hama.util.Bytes
Write byte-array with a WritableableUtils.vint prefix.
writeByteArray(DataOutput, byte[], int, int) - Static method in class org.apache.hama.util.Bytes
Write byte-array to out with a vint length prefix.
writeByteArray(byte[], int, byte[], int, int) - Static method in class org.apache.hama.util.Bytes
Write byte-array from src to tgt with a vint length prefix.
writeXml(OutputStream) - Method in class org.apache.hama.bsp.BSPJobContext
 

Z

ZKServerTool - Class in org.apache.hama.zookeeper
A tool class for Zookeeper use.
ZKServerTool() - Constructor for class org.apache.hama.zookeeper.ZKServerTool
 
ZOOKEEPER_CONFIG_NAME - Static variable in interface org.apache.hama.Constants
 
ZOOKEEPER_PAUSE - Static variable in interface org.apache.hama.Constants
Parameter name for ZooKeeper pause between retries.
ZOOKEEPER_QUORUM - Static variable in interface org.apache.hama.Constants
 
ZOOKEEPER_RETRIES - Static variable in interface org.apache.hama.Constants
Parameter name for number of times to retry writes to ZooKeeper.
ZOOKEEPER_ROOT - Static variable in interface org.apache.hama.Constants
zookeeper root
ZOOKEEPER_SERVER_ADDRS - Static variable in interface org.apache.hama.Constants
zookeeper server address
ZooKeeperRunner - Class in org.apache.hama
This class starts and runs the ZooKeeperServer.
ZooKeeperRunner() - Constructor for class org.apache.hama.ZooKeeperRunner
 
ZOOKEPER_CLIENT_PORT - Static variable in interface org.apache.hama.Constants
 

A B C D E F G H I J K L M N O P Q R S T U V W Z

Copyright © 2011 The Apache Software Foundation