Class: Hadoop::API::Jobtracker::ThriftJobCounterRollups

Inherits:
Object
  • Object
show all
Includes:
Thrift::Struct, Thrift::Struct_Union
Defined in:
lib/thrift/jobtracker_types.rb

Overview

Counters for map tasks only, reduce tasks only, and job-scoped counters

Constant Summary collapse

MAPCOUNTERS =
1
REDUCECOUNTERS =
2
JOBCOUNTERS =
3
FIELDS =
{
  MAPCOUNTERS => {:type => ::Thrift::Types::STRUCT, :name => 'mapCounters', :class => Hadoop::API::Jobtracker::ThriftGroupList},
  REDUCECOUNTERS => {:type => ::Thrift::Types::STRUCT, :name => 'reduceCounters', :class => Hadoop::API::Jobtracker::ThriftGroupList},
  JOBCOUNTERS => {:type => ::Thrift::Types::STRUCT, :name => 'jobCounters', :class => Hadoop::API::Jobtracker::ThriftGroupList}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



215
# File 'lib/thrift/jobtracker_types.rb', line 215

def struct_fields; FIELDS; end

#validateObject



217
218
# File 'lib/thrift/jobtracker_types.rb', line 217

def validate
end