Exemplo n.º 1
0
func NewHiveServerException() *HiveServerException {
	output := &HiveServerException{
		TStruct: thrift.NewTStruct("HiveServerException", []thrift.TField{
			thrift.NewTField("message", thrift.STRING, 1),
			thrift.NewTField("errorCode", thrift.I32, 2),
			thrift.NewTField("SQLState", thrift.STRING, 3),
		}),
	}
	{
	}
	return output
}
Exemplo n.º 2
0
func NewHiveClusterStatus() *HiveClusterStatus {
	output := &HiveClusterStatus{
		TStruct: thrift.NewTStruct("HiveClusterStatus", []thrift.TField{
			thrift.NewTField("taskTrackers", thrift.I32, 1),
			thrift.NewTField("mapTasks", thrift.I32, 2),
			thrift.NewTField("reduceTasks", thrift.I32, 3),
			thrift.NewTField("maxMapTasks", thrift.I32, 4),
			thrift.NewTField("maxReduceTasks", thrift.I32, 5),
			thrift.NewTField("state", thrift.I32, 6),
		}),
	}
	{
	}
	return output
}