Updating thrift generated code to be 0.12.0 final generated code.
This commit is contained in:
parent
15e05653e6
commit
904fdbd1a1
6 changed files with 23833 additions and 26393 deletions
|
@ -1,7 +1,7 @@
|
||||||
// Autogenerated by Thrift Compiler (1.0.0-dev)
|
|
||||||
// Autogenerated by Thrift Compiler (0.12.0)
|
// Autogenerated by Thrift Compiler (0.12.0)
|
||||||
// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
|
// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
|
||||||
|
|
||||||
package aurora
|
package aurora
|
||||||
|
|
||||||
var GoUnusedProtection__ int
|
var GoUnusedProtection__ int;
|
||||||
|
|
||||||
|
|
|
@ -6,10 +6,9 @@ package aurora
|
||||||
import (
|
import (
|
||||||
"bytes"
|
"bytes"
|
||||||
"context"
|
"context"
|
||||||
"fmt"
|
|
||||||
"reflect"
|
"reflect"
|
||||||
|
"fmt"
|
||||||
"git.apache.org/thrift.git/lib/go/thrift"
|
"github.com/apache/thrift/lib/go/thrift"
|
||||||
)
|
)
|
||||||
|
|
||||||
// (needed to ensure safety because of naive import list construction.)
|
// (needed to ensure safety because of naive import list construction.)
|
||||||
|
@ -20,39 +19,36 @@ var _ = reflect.DeepEqual
|
||||||
var _ = bytes.Equal
|
var _ = bytes.Equal
|
||||||
|
|
||||||
const AURORA_EXECUTOR_NAME = "AuroraExecutor"
|
const AURORA_EXECUTOR_NAME = "AuroraExecutor"
|
||||||
|
|
||||||
var ACTIVE_STATES []ScheduleStatus
|
var ACTIVE_STATES []ScheduleStatus
|
||||||
var SLAVE_ASSIGNED_STATES []ScheduleStatus
|
var SLAVE_ASSIGNED_STATES []ScheduleStatus
|
||||||
var LIVE_STATES []ScheduleStatus
|
var LIVE_STATES []ScheduleStatus
|
||||||
var TERMINAL_STATES []ScheduleStatus
|
var TERMINAL_STATES []ScheduleStatus
|
||||||
|
|
||||||
const GOOD_IDENTIFIER_PATTERN = "^[\\w\\-\\.]+$"
|
const GOOD_IDENTIFIER_PATTERN = "^[\\w\\-\\.]+$"
|
||||||
const GOOD_IDENTIFIER_PATTERN_JVM = "^[\\w\\-\\.]+$"
|
const GOOD_IDENTIFIER_PATTERN_JVM = "^[\\w\\-\\.]+$"
|
||||||
const GOOD_IDENTIFIER_PATTERN_PYTHON = "^[\\w\\-\\.]+$"
|
const GOOD_IDENTIFIER_PATTERN_PYTHON = "^[\\w\\-\\.]+$"
|
||||||
|
|
||||||
var ACTIVE_JOB_UPDATE_STATES []JobUpdateStatus
|
var ACTIVE_JOB_UPDATE_STATES []JobUpdateStatus
|
||||||
var AWAITNG_PULSE_JOB_UPDATE_STATES []JobUpdateStatus
|
var AWAITNG_PULSE_JOB_UPDATE_STATES []JobUpdateStatus
|
||||||
|
|
||||||
const BYPASS_LEADER_REDIRECT_HEADER_NAME = "Bypass-Leader-Redirect"
|
const BYPASS_LEADER_REDIRECT_HEADER_NAME = "Bypass-Leader-Redirect"
|
||||||
const TASK_FILESYSTEM_MOUNT_POINT = "taskfs"
|
const TASK_FILESYSTEM_MOUNT_POINT = "taskfs"
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
ACTIVE_STATES = []ScheduleStatus{
|
ACTIVE_STATES = []ScheduleStatus{
|
||||||
9, 17, 6, 0, 13, 12, 2, 1, 18, 16}
|
9, 17, 6, 0, 13, 12, 2, 1, 18, 16, }
|
||||||
|
|
||||||
SLAVE_ASSIGNED_STATES = []ScheduleStatus{
|
SLAVE_ASSIGNED_STATES = []ScheduleStatus{
|
||||||
9, 17, 6, 13, 12, 2, 18, 1}
|
9, 17, 6, 13, 12, 2, 18, 1, }
|
||||||
|
|
||||||
LIVE_STATES = []ScheduleStatus{
|
LIVE_STATES = []ScheduleStatus{
|
||||||
6, 13, 12, 17, 18, 2}
|
6, 13, 12, 17, 18, 2, }
|
||||||
|
|
||||||
TERMINAL_STATES = []ScheduleStatus{
|
TERMINAL_STATES = []ScheduleStatus{
|
||||||
4, 3, 5, 7}
|
4, 3, 5, 7, }
|
||||||
|
|
||||||
ACTIVE_JOB_UPDATE_STATES = []JobUpdateStatus{
|
ACTIVE_JOB_UPDATE_STATES = []JobUpdateStatus{
|
||||||
0, 1, 2, 3, 9, 10}
|
0, 1, 2, 3, 9, 10, }
|
||||||
|
|
||||||
AWAITNG_PULSE_JOB_UPDATE_STATES = []JobUpdateStatus{
|
AWAITNG_PULSE_JOB_UPDATE_STATES = []JobUpdateStatus{
|
||||||
9, 10}
|
9, 10, }
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -4,7 +4,6 @@
|
||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"apache/aurora"
|
|
||||||
"context"
|
"context"
|
||||||
"flag"
|
"flag"
|
||||||
"fmt"
|
"fmt"
|
||||||
|
@ -14,10 +13,11 @@ import (
|
||||||
"os"
|
"os"
|
||||||
"strconv"
|
"strconv"
|
||||||
"strings"
|
"strings"
|
||||||
|
"github.com/apache/thrift/lib/go/thrift"
|
||||||
"git.apache.org/thrift.git/lib/go/thrift"
|
"apache/aurora"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
func Usage() {
|
func Usage() {
|
||||||
fmt.Fprintln(os.Stderr, "Usage of ", os.Args[0], " [-h host:port] [-u url] [-f[ramed]] function [arg1 [arg2...]]:")
|
fmt.Fprintln(os.Stderr, "Usage of ", os.Args[0], " [-h host:port] [-u url] [-f[ramed]] function [arg1 [arg2...]]:")
|
||||||
flag.PrintDefaults()
|
flag.PrintDefaults()
|
||||||
|
|
|
@ -4,7 +4,6 @@
|
||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"apache/aurora"
|
|
||||||
"context"
|
"context"
|
||||||
"flag"
|
"flag"
|
||||||
"fmt"
|
"fmt"
|
||||||
|
@ -14,10 +13,11 @@ import (
|
||||||
"os"
|
"os"
|
||||||
"strconv"
|
"strconv"
|
||||||
"strings"
|
"strings"
|
||||||
|
"github.com/apache/thrift/lib/go/thrift"
|
||||||
"git.apache.org/thrift.git/lib/go/thrift"
|
"apache/aurora"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
func Usage() {
|
func Usage() {
|
||||||
fmt.Fprintln(os.Stderr, "Usage of ", os.Args[0], " [-h host:port] [-u url] [-f[ramed]] function [arg1 [arg2...]]:")
|
fmt.Fprintln(os.Stderr, "Usage of ", os.Args[0], " [-h host:port] [-u url] [-f[ramed]] function [arg1 [arg2...]]:")
|
||||||
flag.PrintDefaults()
|
flag.PrintDefaults()
|
||||||
|
|
|
@ -4,7 +4,6 @@
|
||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"apache/aurora"
|
|
||||||
"context"
|
"context"
|
||||||
"flag"
|
"flag"
|
||||||
"fmt"
|
"fmt"
|
||||||
|
@ -14,10 +13,11 @@ import (
|
||||||
"os"
|
"os"
|
||||||
"strconv"
|
"strconv"
|
||||||
"strings"
|
"strings"
|
||||||
|
"github.com/apache/thrift/lib/go/thrift"
|
||||||
"git.apache.org/thrift.git/lib/go/thrift"
|
"apache/aurora"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
func Usage() {
|
func Usage() {
|
||||||
fmt.Fprintln(os.Stderr, "Usage of ", os.Args[0], " [-h host:port] [-u url] [-f[ramed]] function [arg1 [arg2...]]:")
|
fmt.Fprintln(os.Stderr, "Usage of ", os.Args[0], " [-h host:port] [-u url] [-f[ramed]] function [arg1 [arg2...]]:")
|
||||||
flag.PrintDefaults()
|
flag.PrintDefaults()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue