func (p *HiveClusterStatus) ReadField6(iprot thrift.TProtocol) (err thrift.TProtocolException) { v10, err11 := iprot.ReadI32() if err11 != nil { return thrift.NewTProtocolExceptionReadField(6, "state", p.ThriftName(), err11) } p.State = JobTrackerState(v10) return err }
func (p *HiveServerException) ReadField2(iprot thrift.TProtocol) (err thrift.TProtocolException) { v14, err15 := iprot.ReadI32() if err15 != nil { return thrift.NewTProtocolExceptionReadField(2, "errorCode", p.ThriftName(), err15) } p.ErrorCode = v14 return err }
func (p *HiveClusterStatus) ReadField5(iprot thrift.TProtocol) (err thrift.TProtocolException) { v8, err9 := iprot.ReadI32() if err9 != nil { return thrift.NewTProtocolExceptionReadField(5, "maxReduceTasks", p.ThriftName(), err9) } p.MaxReduceTasks = v8 return err }
func (p *HiveClusterStatus) ReadField4(iprot thrift.TProtocol) (err thrift.TProtocolException) { v6, err7 := iprot.ReadI32() if err7 != nil { return thrift.NewTProtocolExceptionReadField(4, "maxMapTasks", p.ThriftName(), err7) } p.MaxMapTasks = v6 return err }
func (p *HiveClusterStatus) ReadField3(iprot thrift.TProtocol) (err thrift.TProtocolException) { v4, err5 := iprot.ReadI32() if err5 != nil { return thrift.NewTProtocolExceptionReadField(3, "reduceTasks", p.ThriftName(), err5) } p.ReduceTasks = v4 return err }
func (p *HiveClusterStatus) ReadField2(iprot thrift.TProtocol) (err thrift.TProtocolException) { v2, err3 := iprot.ReadI32() if err3 != nil { return thrift.NewTProtocolExceptionReadField(2, "mapTasks", p.ThriftName(), err3) } p.MapTasks = v2 return err }
func (p *HiveClusterStatus) ReadField1(iprot thrift.TProtocol) (err thrift.TProtocolException) { v0, err1 := iprot.ReadI32() if err1 != nil { return thrift.NewTProtocolExceptionReadField(1, "taskTrackers", p.ThriftName(), err1) } p.TaskTrackers = v0 return err }