class Hive::Thrift::HiveClusterStatus

Constants

FIELDS
MAPTASKS
MAXMAPTASKS
MAXREDUCETASKS
REDUCETASKS
STATE
TASKTRACKERS

Public Instance Methods

struct_fields() click to toggle source
   # File lib/thrift/hive_service_types.rb
40 def struct_fields; FIELDS; end
validate() click to toggle source
   # File lib/thrift/hive_service_types.rb
42 def validate
43   unless @state.nil? || ::Hive::Thrift::JobTrackerState::VALID_VALUES.include?(@state)
44     raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field state!')
45   end
46 end