myApp
by calling the Jobs API:
datasource:myDatasource
indicates a datasource, myDatasource
, is present. The line "status": "ready"
indicates the current state of the job, which has never run.Field | Definition |
---|---|
counter.deleted | Total number of documents deleted or removed from the Solr index. |
counter.failed | Total number of documents not indexed due to failure. The errors are written to the log. |
counter.input | Total number of fetched documents passed to the index pipeline. |
counter.new | Total number of documents fetched for the first time. |
counter.output | Total number of documents processed in the run (sum of failed + deleted + indexed documents). |
counter.skipped | Total number of documents skipped due to rules such as max, min, and file size. |
endTime | Time the job concluded, aborted, or was manually stopped. |
resource: datasource | Name of the datasource. |
startTime | Time the job started. |
status | Job status such as Success, Running, or Aborted. |
lastStartTime
and lastEndTime
values from the Jobs API call. (These values are only present if a job has been run at least once.)
Icon | Description |
---|---|
![]() | The Run button opens a panel containing various run options and information. |
![]() | The Start button starts a job. |
![]() | The New Schedule button displays a dropdown with several scheduling options: ● cron. Schedule a job based on a Crontab expression. See Cron Trigger documentation for more info. ● interval. Schedule a job to run on an interval after a set starting point. For example, you can schedule a job to run every day at 1:00AM. Job schedule interval ● job_completion. Schedule a job to run after another job has completed. You can schedule the job to run if the job succeeds, fails, or regardless of the job’s success. Job schedule job_completion |
![]() | The Stop button stops a running job. This results in a status of "status" : "aborted" . |
![]() | The Job History button opens the Job History panel. Click one of the job entries to see additional details. Expand the job details for more information. Click Open Logs in Dashboard for complete information. |
![]() | The Clear Datasource removes documents from your collection that are indexed from that datasource. The job history will not be deleted. |
Icon | Description |
---|---|
![]() | The job has been created but has not been run. |
![]() | The job is currently running. Depending on the number of documents being processed, the job can take a long time to complete. Stop the job with the Stop button. |
![]() | The job was completed successfully. |
![]() | The job was not able to successfully run. Expand the job details for more information. Click Open Logs in Dashboard for complete information. |
![]() | The job was manually stopped before it could finish. |
myDatasource
:
myApp/jobs?type=datasource
- Retrieves the current datasource job states for all datasources of a specified app. In this case, the app is specified as myApp
.type=spark
to retrieve all Spark jobs and type=task
for task jobs./jobs/datasource:myDatasource/history
- Retrieves a specific object’s job history. In this case, the object type is a datasource, as selected with datasource:
.spark:
) and task jobs (task:
).JobController
and SolrJobHistoryStore
.
http://<connectors-node-ip>:8984/connectors/v1/connectors/jobs/myDatasource
. The call reaches the component ConnectorsManagerController
to query the job status of currently running jobs with the ID myDatasource
.