Module: Elasticity

Defined in:
lib/elasticity.rb,
lib/elasticity/emr.rb,
lib/elasticity/looper.rb,
lib/elasticity/version.rb,
lib/elasticity/job_flow.rb,
lib/elasticity/pig_step.rb,
lib/elasticity/aws_utils.rb,
lib/elasticity/hive_step.rb,
lib/elasticity/spark_step.rb,
lib/elasticity/sync_to_s3.rb,
lib/elasticity/application.rb,
lib/elasticity/aws_session.rb,
lib/elasticity/script_step.rb,
lib/elasticity/job_flow_step.rb,
lib/elasticity/s3distcp_step.rb,
lib/elasticity/scalding_step.rb,
lib/elasticity/aws_request_v4.rb,
lib/elasticity/cluster_status.rb,
lib/elasticity/instance_group.rb,
lib/elasticity/streaming_step.rb,
lib/elasticity/custom_jar_step.rb,
lib/elasticity/bootstrap_action.rb,
lib/elasticity/cluster_step_status.rb,
lib/elasticity/hadoop_bootstrap_action.rb,
lib/elasticity/ganglia_bootstrap_action.rb,
lib/elasticity/setup_hadoop_debugging_step.rb,
lib/elasticity/hadoop_file_bootstrap_action.rb

Defined Under Namespace

Modules: JobFlowStep Classes: Application, AwsRequestV4, AwsSession, AwsUtils, BootstrapAction, ClusterStatus, ClusterStepStatus, Configuration, CustomJarStep, EMR, EbsBlockDeviceConfig, EbsConfiguration, GangliaBootstrapAction, HadoopBootstrapAction, HadoopFileBootstrapAction, HiveStep, InstanceGroup, JobFlow, JobFlowMissingStepsError, JobFlowNotStartedError, JobFlowRunningError, LogUriMissingError, Looper, MissingKeyError, MissingRegionError, NoBucketError, NoDirectoryError, NoFileError, PigStep, S3DistCpStep, ScaldingStep, ScriptStep, SetupHadoopDebuggingStep, SparkStep, StreamingStep, SyncToS3, ThrottlingException, UnknownPlacementError

Constant Summary

VERSION =
'6.0.12'

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject (readonly)

Returns the value of attribute configuration



44
45
46
# File 'lib/elasticity.rb', line 44

def configuration
  @configuration
end

Class Method Details

.configure {|configuration| ... } ⇒ Object

Yields:



54
55
56
# File 'lib/elasticity.rb', line 54

def configure
  yield(configuration)
end

.default_configurationObject



50
51
52
# File 'lib/elasticity.rb', line 50

def default_configuration
  @configuration = Configuration.new
end