Informatica Administrator for Enterprise Data Catalog > Monitoring > Monitor Ad Hoc Jobs
  

Monitor Ad Hoc Jobs

You can monitor ad hoc jobs on the Monitor tab. Ad hoc jobs are jobs that users run from the Developer tool or the Analyst tool.
An ad hoc job is a preview, scorecard, profile, mapping, audit, or reference table process that a user runs from the Developer tool or the Analyst tool. When a user runs a job, a Data Integration Service runs the job process and the job appears in the Monitor tab.
You can run up to five jobs at a time from the Developer tool. All remaining jobs are queued, and do not appear in the Monitor tab until they run.
By default, you can monitor jobs that you run. If you have the appropriate monitoring privilege, you can also view jobs that other users run.
When you select Ad Hoc Jobs in the Navigator of the Execution Statistics view, a list of jobs appears in the contents panel. The contents panel groups related jobs based on the job type. You can expand a job type to view the related jobs under it. For example, when you run a profile job, the Data Integration Service converts the job into a mapping. The mapping appears under the profile job in the contents panel.
When you select a job in the contents panel, you can view logs for the job, view context for the job, or cancel the job. You can also view properties for the job in the details panel. Depending on the type of job, the details panel might show general properties, mapping properties, or statistics.
When you select Ad Hoc jobs in the Navigator of the Execution Statistics view, a list of jobs appears in the contents panel. The contents panel groups related jobs based on the job type. You can expand a job type to view the related jobs under it.
The following list describes the types of properties and statistics that can appear in the details panel:
Properties
Shows the general properties about the selected job, such as the name, job type, user who ran the job, and start time of the job. If the job ran on a grid, the details panel shows the node that the job ran on.
Mapping Properties
You can view mapping properties when you select a profile or scorecard job in the contents panel. These jobs have an associated mapping. You can view mapping properties such as the request ID, the mapping name, and the log file name. You can also view throughput and resource usage statistics for the associated mappings.
Blaze Execution Plan
You can view a Blaze execution plan when you run a mapping with the Blaze engine in the Hadoop environment. The Blaze execution plan displays the Blaze engine script that the Data Integration Service generates based on the mapping logic, the unique identifier for the script, and the tasks that the script depends on.
Summary Statistics
You can view summary statistics you select an ad hoc mapping job, deployed mapping job, or mapping object in a workflow in the contents panel. The Summary Statistics view displays throughput and resource usage statistics for the job run.
The following image shows the Summary Statistics view for a mapping job:
The Summary Statistics view for a Mapping job has two sections: throughput and resource usage. The Throughput section displays statistics for the source and target. The resource usage section lists the executing node, cpu usage, and memory usage for the job.
You can also view the summary statistics for the source or target on the Summary Statistics tab, such as processed rows and bytes.
Note: Only the number of rows processed appears in the Summary Statistics for the Hive source and target. The remaining property values appears as 0 or N/A for the Hive source or target.
Detailed Statistics
You can view detailed statistics for an ad hoc mapping job, deployed mapping job, or mapping object in a workflow in the contents panel. Detailed statistics appear for jobs that run longer than one minute in separate local processes. The Detailed Statistics view displays graphs of the throughput and resource usage statistics for the job run.
The following image shows the Detailed Statistics view for a mapping job in a workflow:
The Detailed Statistics view for a Mapping job has two sections: throughput and resource usage. The Throughput graph plots the rows processed against the time it took to run the mapping. The Resource Usage has a graph for CPU usage and a graph for memory usage. the Graphs plot usage against the time it took to run the mapping.
Historical Statistics
You can view historical statistics when you select an ad hoc mapping job, deployed mapping job, or mapping object in a workflow in the Contents panel. The Historical Statistics view shows averaged data from the last 500 runs for a specific job. For example, you can view the minimum, maximum, and average duration of the mapping job. You can view the average amount of CPU that the job consumes when it runs. You can choose to view averages for mapping jobs with different states, such as completed, canceled, or aborted. A bar graph shows the number of jobs in each state. Click a link below the bar graph to view statistics for a specific state.
The following image shows the Historical Statistics view for a mapping job that completed three times and failed one time:
The Historical Statistics view has three sections: the job listings, the average statistics, and the elapsed time graph. The average statistics section shows the number of jobs in each state, such as completed, failed, or aborted.
Aggregated Cluster Logs
You can get aggregated cluster logs for deployed Hadoop mappings, Databricks mappings, auto-deploy cluster jobs, local files, and Spark data preview jobs based on the job ID. You can get a .zip or tar.gz file of the aggregated cluster logs for a job and write the compressed aggregated log file to a target directory. You can also use the infacmd ms fetchAggregatedClusterLogs command or use the REST API to collect the aggregated cluster logs for a job.
For more information about the infacmd ms fetchAggregatedClusterLogs command, see the Informatica 10.4.0 Command Reference.

Viewing Logs for an Ad Hoc Job

You can download the logs for a job to view the job details.
    1. In the Administrator tool, click the Monitor tab.
    2. Click the Execution Statistics view.
    3. In the Domain Navigator, expand a Data Integration Service and select Ad Hoc Jobs.
    4. In the contents panel, select a job.
    5. Click Actions > View Logs for Selected Object.
    A dialog box appears with the option to open or save the log file.

Canceling an Ad Hoc Job

You can cancel a running job. You may want to cancel a job that hangs or that is taking an excessive amount of time to complete.
    1. In the Administrator tool, click the Monitor tab.
    2. Click the Execution Statistics view.
    3. In the Domain Navigator, expand a Data Integration Service and select Ad Hoc Jobs.
    4. In the contents panel, select a job.
    5. Click Actions > Cancel Selected Object.

Viewing Summary Statistics for an Ad Hoc Job

You can view throughput and resource usage statistics for ad hoc mapping jobs.
    1. In the Administrator tool, click the Monitor tab.
    2. Click the Execution Statistics view.
    3. In the Domain Navigator, expand a Data Integration Service and select Ad Hoc Jobs.
    A list of jobs appears in the contents panel.
    4. In the contents panel, select a job.
    The details panel displays the Properties for the job.
    5. Click the Summary Statistics view in the details panel.
    The Summary Statistics view displays throughput and resource usage statistics for the source and target.
Optionally, you can sort the statistics in ascending or descending order. Click a column header to sort the column in ascending order. Click the column header again to sort the column in descending order.

Viewing Detailed Statistics for an Ad Hoc Job

You can view graphs of the throughput and resource usage for ad hoc mapping jobs that run in separate local processes. Detailed statistics appear for jobs that run longer than one minute.
    1. In the Administrator tool, click the Monitor tab.
    2. Click the Execution Statistics view.
    3. In the Domain Navigator, expand a Data Integration Service and select Ad Hoc Jobs.
    A list of jobs appears in the contents panel.
    4. In the contents panel, select a job.
    The details panel displays the Properties for the job.
    5. Click the Detailed Statistics view in the details panel.
    The Detailed Statistics view displays the throughput graph and resource usage graphs.
Optionally, you can complete the following tasks in the Detailed Statistics view:
Task
Description
Enlarge a graph
Move the cursor over a graph, and then click the magnifying glass icon.
Enlarge a section of an enlarged graph
Drag the cursor to select an area to enlarge.
Switch between rows and bytes in the throughput graph
Click the Bytes option or the Rows option.
Choose which statistics are plotted on the throughput graph
In the throughput field, select the sources and targets that you want to view.