blob: 87ef0ef149dd94566c76f13232c57465f7d597be [file] [log] [blame]
vinayakba955f162011-01-01 07:51:18 +00001Hyracks Applications
2
3 The Hyracks platform provides users the ability to execute jobs on a cluster. Jobs in Hyracks are expressed as a DAG of Operators and Connectors. Prior to being able to execute jobs on a Hyracks cluster, the code that implements the operators and connectors used in the jobs must be installed on the nodes of the cluster. The unit of deployment of code onto the cluster is called an application. Once an application containing the required code is created, multiple jobs can be executed against it until it is destroyed. A Hyracks cluster can have multiple applications installed simultaneously.
4
5* Hyracks Application Archive
6
7 A Hyracks application must be packaged into a Hyracks Application Archive (HAR) file before it can be installed on a Hyracks Cluster. A HAR file is a Zip file that contains all the code that will be executed on the cluster when jobs are issued and any deployment descriptors (discussed below) that are necessary to set up the application correctly.
8
9* HAR File Contents
10
11 A HAR file is a zip file that contains one or more JAR files. The JAR files are appened to the classpath of the application.
12
13* Hyracks Application Startup and Shutdown
14
15 Hyracks provides applications to run code at startup and shutdown. An application can provide the code to be executed at the ClusterController by providing an implementation of the edu.uci.ics.hyracks.api.application.ICCBootstrap interface. Similarly, the code to be executed at the NodeControllers can be specified by providing and implementation of the edu.uci.ics.hyracks.api.application.INCBootstrap interface. The bootstrap classes implementations of the above interfaces are specified in a deployment descriptor file.
16
17* Hyracks deployment descriptor
18
19 A Hyracks deployment descriptor is a file called hyracks-deployment.properties. This file is made available to Hyracks in the application classpath by packaging it in a JAR file inside the Hyracks Application Archive.
20
21 The Hyracks deployment descriptor currently allows two properties.
22
23 * cc.bootstrap.class: Name of the Bootstrap class to be executed at the Cluster Controller.
24
25 * nc.bootstrap.class: Name of the Bootstrap class to be executed at the Node Controller.
26
27