Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.elasticmapreduce.util
Class BootstrapActions.ConfigureHadoop

java.lang.Object
  extended by com.amazonaws.services.elasticmapreduce.util.BootstrapActions.ConfigureHadoop
Enclosing class:
BootstrapActions

public class BootstrapActions.ConfigureHadoop
extends Object


Method Summary
 BootstrapActionConfig build()
          Returns an object which can be used in a RunJobflow call.
 BootstrapActions.ConfigureHadoop withKeyValue(BootstrapActions.ConfigFile file, String key, String value)
          Specify a key-value pair to merge with Hadoop's default configuration.
 BootstrapActions.ConfigureHadoop withXml(BootstrapActions.ConfigFile file, String xmlPath)
          Specify an XML file in S3 to merge with Hadoop's default configuration.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

withXml

public BootstrapActions.ConfigureHadoop withXml(BootstrapActions.ConfigFile file,
                                                String xmlPath)
Specify an XML file in S3 to merge with Hadoop's default configuration.

Parameters:
file - The config file to merge with.
xmlPath - The path in S3 of the XML file.
Returns:
A reference to this updated object so that method calls can be chained together.

withKeyValue

public BootstrapActions.ConfigureHadoop withKeyValue(BootstrapActions.ConfigFile file,
                                                     String key,
                                                     String value)
Specify a key-value pair to merge with Hadoop's default configuration.

Parameters:
file - The config file to merge with.
key - The config key.
value - The config value.
Returns:
A reference to this updated object so that method calls can be chained together.

build

public BootstrapActionConfig build()
Returns an object which can be used in a RunJobflow call.

Returns:
an object which can be used in a RunJobflow call.


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.