ApiReplicationCommandList Data Model

A list of replication commands.

Properties
name data type description
items array of ApiReplicationCommand

Example

{
  "items" : [ {
    "hdfsResult" : {
      "progress" : 12345,
      "throughput" : 12345.0,
      "remainingTime" : 12345,
      "estimatedCompletionTime" : "...",
      "counters" : [ { }, { } ],
      "numFilesDryRun" : 12345,
      "numBytesDryRun" : 12345,
      "numFilesExpected" : 12345,
      "numBytesExpected" : 12345,
      "numFilesCopied" : 12345,
      "numBytesCopied" : 12345,
      "numFilesSkipped" : 12345,
      "numBytesSkipped" : 12345,
      "numFilesDeleted" : 12345,
      "numFilesCopyFailed" : 12345,
      "numBytesCopyFailed" : 12345,
      "setupError" : "...",
      "jobId" : "...",
      "jobDetailsUri" : "...",
      "dryRun" : true,
      "snapshottedDirs" : [ "...", "..." ],
      "runAsUser" : "...",
      "runOnSourceAsUser" : "...",
      "logPath" : "...",
      "failedFiles" : [ "...", "..." ]
    },
    "hiveResult" : {
      "phase" : "...",
      "tableCount" : 12345,
      "tables" : [ { }, { } ],
      "impalaUDFCount" : 12345,
      "hiveUDFCount" : 12345,
      "impalaUDFs" : [ { }, { } ],
      "hiveUDFs" : [ { }, { } ],
      "errorCount" : 12345,
      "errors" : [ { }, { } ],
      "dataReplicationResult" : { },
      "dryRun" : true,
      "runAsUser" : "...",
      "runOnSourceAsUser" : "...",
      "logPath" : "...",
      "directoryForMetadata" : "...",
      "statsAvailable" : true,
      "dbProcessed" : 12345,
      "tableProcessed" : 12345,
      "partitionProcessed" : 12345,
      "functionProcessed" : 12345,
      "indexProcessed" : 12345,
      "statsProcessed" : 12345,
      "dbExpected" : 12345,
      "tableExpected" : 12345,
      "partitionExpected" : 12345,
      "functionExpected" : 12345,
      "indexExpected" : 12345,
      "statsExpected" : 12345
    },
    "hiveOnTezResult" : {
      "type" : "...",
      "status" : "...",
      "error" : "...",
      "tablesCurrent" : 12345,
      "tablesTotal" : 12345,
      "functionsCurrent" : 12345,
      "functionsTotal" : 12345,
      "eventsCurrent" : 12345,
      "eventsTotal" : 12345,
      "policiesCurrent" : 12345,
      "policiesTotal" : 12345,
      "entitiesCurrent" : 12345,
      "entitiesTotal" : 12345
    },
    "id" : 12345,
    "name" : "...",
    "startTime" : "...",
    "endTime" : "...",
    "active" : true,
    "success" : true,
    "resultMessage" : "...",
    "resultDataUrl" : "...",
    "clusterRef" : {
      "clusterName" : "...",
      "displayName" : "..."
    },
    "serviceRef" : {
      "peerName" : "...",
      "clusterName" : "...",
      "serviceName" : "...",
      "serviceDisplayName" : "...",
      "serviceType" : "..."
    },
    "roleRef" : {
      "clusterName" : "...",
      "serviceName" : "...",
      "roleName" : "..."
    },
    "hostRef" : {
      "hostId" : "...",
      "hostname" : "..."
    },
    "parent" : {
      "id" : 12345,
      "name" : "...",
      "startTime" : "...",
      "endTime" : "...",
      "active" : true,
      "success" : true,
      "resultMessage" : "...",
      "resultDataUrl" : "...",
      "clusterRef" : { },
      "serviceRef" : { },
      "roleRef" : { },
      "hostRef" : { },
      "parent" : { },
      "children" : { },
      "canRetry" : true
    },
    "children" : {
      "items" : [ { }, { } ]
    },
    "canRetry" : true
  }, {
    "hdfsResult" : {
      "progress" : 12345,
      "throughput" : 12345.0,
      "remainingTime" : 12345,
      "estimatedCompletionTime" : "...",
      "counters" : [ { }, { } ],
      "numFilesDryRun" : 12345,
      "numBytesDryRun" : 12345,
      "numFilesExpected" : 12345,
      "numBytesExpected" : 12345,
      "numFilesCopied" : 12345,
      "numBytesCopied" : 12345,
      "numFilesSkipped" : 12345,
      "numBytesSkipped" : 12345,
      "numFilesDeleted" : 12345,
      "numFilesCopyFailed" : 12345,
      "numBytesCopyFailed" : 12345,
      "setupError" : "...",
      "jobId" : "...",
      "jobDetailsUri" : "...",
      "dryRun" : true,
      "snapshottedDirs" : [ "...", "..." ],
      "runAsUser" : "...",
      "runOnSourceAsUser" : "...",
      "logPath" : "...",
      "failedFiles" : [ "...", "..." ]
    },
    "hiveResult" : {
      "phase" : "...",
      "tableCount" : 12345,
      "tables" : [ { }, { } ],
      "impalaUDFCount" : 12345,
      "hiveUDFCount" : 12345,
      "impalaUDFs" : [ { }, { } ],
      "hiveUDFs" : [ { }, { } ],
      "errorCount" : 12345,
      "errors" : [ { }, { } ],
      "dataReplicationResult" : { },
      "dryRun" : true,
      "runAsUser" : "...",
      "runOnSourceAsUser" : "...",
      "logPath" : "...",
      "directoryForMetadata" : "...",
      "statsAvailable" : true,
      "dbProcessed" : 12345,
      "tableProcessed" : 12345,
      "partitionProcessed" : 12345,
      "functionProcessed" : 12345,
      "indexProcessed" : 12345,
      "statsProcessed" : 12345,
      "dbExpected" : 12345,
      "tableExpected" : 12345,
      "partitionExpected" : 12345,
      "functionExpected" : 12345,
      "indexExpected" : 12345,
      "statsExpected" : 12345
    },
    "hiveOnTezResult" : {
      "type" : "...",
      "status" : "...",
      "error" : "...",
      "tablesCurrent" : 12345,
      "tablesTotal" : 12345,
      "functionsCurrent" : 12345,
      "functionsTotal" : 12345,
      "eventsCurrent" : 12345,
      "eventsTotal" : 12345,
      "policiesCurrent" : 12345,
      "policiesTotal" : 12345,
      "entitiesCurrent" : 12345,
      "entitiesTotal" : 12345
    },
    "id" : 12345,
    "name" : "...",
    "startTime" : "...",
    "endTime" : "...",
    "active" : true,
    "success" : true,
    "resultMessage" : "...",
    "resultDataUrl" : "...",
    "clusterRef" : {
      "clusterName" : "...",
      "displayName" : "..."
    },
    "serviceRef" : {
      "peerName" : "...",
      "clusterName" : "...",
      "serviceName" : "...",
      "serviceDisplayName" : "...",
      "serviceType" : "..."
    },
    "roleRef" : {
      "clusterName" : "...",
      "serviceName" : "...",
      "roleName" : "..."
    },
    "hostRef" : {
      "hostId" : "...",
      "hostname" : "..."
    },
    "parent" : {
      "id" : 12345,
      "name" : "...",
      "startTime" : "...",
      "endTime" : "...",
      "active" : true,
      "success" : true,
      "resultMessage" : "...",
      "resultDataUrl" : "...",
      "clusterRef" : { },
      "serviceRef" : { },
      "roleRef" : { },
      "hostRef" : { },
      "parent" : { },
      "children" : { },
      "canRetry" : true
    },
    "children" : {
      "items" : [ { }, { } ]
    },
    "canRetry" : true
  } ]
}