Replication Arguments for Hive3 schedules / policies
| name | data type | description |
|---|---|---|
| sourceHiveService | ApiServiceRef | |
| status | PolicyStatus | |
| rangerReplication | boolean | |
| atlasReplication | boolean | |
| externalTableReplication | boolean | |
| externalTableBaseDir | string | |
| distcpOnTarget | boolean | |
| numMaps | number | |
| bandwidthPerMap | number | |
| policyOptions | map of string | |
| sourceDbName | string | |
| targetDbName | string | |
| policyName | string | |
| scheduleClause | string | |
| runAs | string | |
| hiveOp | string | |
| hiveUpdateOp | string | |
| excludeSource | boolean | |
| excludeTarget | boolean | |
| failoverStatus | string | |
| cloudArgs | ApiHive3CloudArguments |
Example
{
"sourceHiveService" : {
"peerName" : "...",
"clusterName" : "...",
"serviceName" : "...",
"serviceDisplayName" : "...",
"serviceType" : "..."
},
"status" : "ENABLED",
"rangerReplication" : true,
"atlasReplication" : true,
"externalTableReplication" : true,
"externalTableBaseDir" : "...",
"distcpOnTarget" : true,
"numMaps" : 12345,
"bandwidthPerMap" : 12345,
"policyOptions" : {
"property1" : "...",
"property2" : "..."
},
"sourceDbName" : "...",
"targetDbName" : "...",
"policyName" : "...",
"scheduleClause" : "...",
"runAs" : "...",
"hiveOp" : "...",
"hiveUpdateOp" : "...",
"excludeSource" : true,
"excludeTarget" : true,
"failoverStatus" : "...",
"cloudArgs" : {
"sourceAccount" : "..."
}
}