blob: 7cc52d6327093b0027f35c84ecc156703dcc0991 [file] [log] [blame]
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
[
{
"namespace": "org.apache.reef.reef.bridge.client.avro",
"type": "record",
"name": "AvroAppSubmissionParameters",
"doc": "General cross-language application submission parameters shared by all runtimes",
"fields": [
{ "name": "tcpBeginPort", "type": "int" },
{ "name": "tcpRangeCount", "type": "int" },
{ "name": "tcpTryCount", "type": "int" }
]
},
{
"namespace": "org.apache.reef.reef.bridge.client.avro",
"type": "record",
"name": "AvroLocalAppSubmissionParameters",
"doc": "Cross-language application submission parameters to the Local runtime",
"fields": [
{ "name": "sharedAppSubmissionParameters", "type": "AvroAppSubmissionParameters" },
{ "name": "maxNumberOfConcurrentEvaluators", "type": "int" }
]
},
{
"namespace": "org.apache.reef.reef.bridge.client.avro",
"type": "record",
"name": "AvroYarnAppSubmissionParameters",
"doc": "General cross-language application submission parameters to the YARN runtime",
"fields": [
{ "name": "sharedAppSubmissionParameters", "type": "AvroAppSubmissionParameters" },
{ "name": "driverRecoveryTimeout", "type": "int" }
]
},
{
"namespace": "org.apache.reef.reef.bridge.client.avro",
"type": "record",
"name": "AvroMultiRuntimeAppSubmissionParameters",
"doc": "General cross-language application submission parameters to the YARN runtime",
"fields": [
{ "name": "sharedAppSubmissionParameters", "type": "AvroAppSubmissionParameters" },
{ "name": "localRuntimeAppParameters", "type": ["null", "AvroLocalAppSubmissionParameters"], "default":
null },
{ "name": "yarnRuntimeAppParameters", "type": ["null", "AvroYarnAppSubmissionParameters"], "default": null },
{ "name": "defaultRuntimeName", "type":"string", "doc":"The name of the default runtime" },
{ "name": "runtimes", "type": { "type" :"array", "items": "string"}, "doc":"defined runtimes" }
]
}
]