Spectra Logic
1-800-833-1132 : 1-303-449-6400


Spectra S3 Bucket, Object, and Job Operations : Job Operations : Get Job

Get Job
Description
Get information about a specified job. Jobs that completed or were canceled are automatically cleared after 30 days.
Requests
Syntax
GET http[s]://{datapathDNSname}/_rest_/job/{job UUID or other unique identifier}/
To determine the UUID for a job, see Get Jobs.
Responses
Response Elements
<MasterObjectList
   Aggregating="TRUE|FALSE"
   BucketName="{
string}"
   CachedSizeInBytes="{64‑bit integer}"
   ChunkClientProcessingOrderGuarantee="IN_ORDER|NONE"
   CompletedSizeInBytes="{64‑bit integer}"
   EntirelyInCache="TRUE|FALSE"
   JobId="{string}"
   Naked="TRUE|FALSE"
   Name="{string}"
   OriginalSizeInBytes="{64‑bit integer}"
   Priority="CRITICAL|URGENT|HIGH|NORMAL|LOW|BACKGROUND"
   RequestType="GET|PUT|VERIFY"
   StartDate="YYYY-MM-DDThh:mm:ss.xxxZ"
   Status="IN_PROGRESS|COMPLETED|CANCELED"
   UserId="{string}"
   UserName="{string}">
   <Nodes>
      <Node EndPoint="{string}" Id="{string}"/>
   </Nodes>
   <Objects
      ChunkId="{
string}"
      ChunkNumber="{32‑bit integer}">
      <Object Id="{string}" InCache="TRUE|FALSE"
         Latest="TRUE|FALSE" Length="{64‑bit integer}"
         Name="{string}" Offset="{64‑bit integer}"
         Version="{64‑bit integer}"/>
      ...
   </Objects>
   ...
</MasterObjectList>
where the response elements are defined as follows:
Whether the job can have additional PUTs or GETs appended to it. Jobs aggregate if created with the aggregating request parameter set to TRUE, or if created by the BlackPearl system in response to Amazon S3 PUT and GET requests. Values: TRUE, FALSE
The amount of data that has been transferred to the cache for this job. For RequestType=PUT, this is the amount of data successfully transferred to the BlackPearl Converged Storage System from the client. For RequestType=GET, this the amount of data either in cache originally, or loaded into cache from the permanent data store. For RequestType=VERIFY, this the amount of data loaded into cache from the permanent data store.
The amount of data that is completely processed for this job. For RequestType=PUT, this indicates the amount of data written to all permanent data stores. For RequestType=GET, this indicates the amount of data that has been read successfully by the client. For RequestType=VERIFY, this indicates the amount of data for which the CRC has been verified.
Whether the job was created as the result of a native S3 command (TRUE) or a Create Bulk GET/PUT/VERIFY job command (FALSE). Values: TRUE, FALSE
§
IN_PROGRESS — The job is currently running.
§
COMPLETED — The job completed.
§
CANCELED — The job was canceled by the user or automatically due to internal timeouts.
Example
Sample Request
This request GETs the parameters for the job with the UUID 7761fe8b-0bdc-4ce0-839e-4b1fa3c50cf4.
GET http://blackpearl-hostname/_rest_/job/7761fe8b-0bdc-4ce0-839e-4b1fa3c50cf4 HTTP/1.1
Sample Response
HTTP/1.1 200 OK
<MasterObjectList
   Aggregating="FALSE"
   BucketName="bucket_name"
   CachedSizeInBytes="0"
   ChunkClientProcessingOrderGuarantee="IN_ORDER"
   CompletedSizeInBytes="0"
   EntirelyInCache="FALSE"
   JobId="b5604de7-904e-4577-987b-4b65c24096e6"
   Naked="FALSE"
   Name="Untitled"
   OriginalSizeInBytes="0" Priority="URGENT" RequestType="PUT"
   StartDate="2015-10-07T22:33:27.000Z" Status="IN_PROGRESS"
   UserId="4c8fc543-e33b-494c-adfb-870747296bd0"
   UserName="user_name">
   <Nodes>
      <Node EndPoint="blackpearl-hostname"
      Id="b145fe8d-7019-4beb-b2b7-76d3994516be"/>
   </Nodes>
   <Objects ChunkId="a846352f-1936-4a63-b8a5-17f497847795"
      ChunkNumber="1">
      <Object Id="1209c59e-6845-47f3-a373-acca107b1621"
         InCache="FALSE" Latest="TRUE" Length="10" Name="o1"
         Offset="0" Version=1"/>
   </Objects>
</MasterObjectList>