Class BootstrapActions.ConfigureHadoop

  • Enclosing class:
    BootstrapActions

    @Deprecated
    public class BootstrapActions.ConfigureHadoop
    extends Object
    Deprecated.
    ConfigureHadoop is deprecated. Use .elasticmapreduce.model.RunJobFlowRequest#setConfigurations instead. For more information see,
    • Method Detail

      • withXml

        public BootstrapActions.ConfigureHadoop withXml​(BootstrapActions.ConfigFile file,
                                                        String xmlPath)
        Deprecated.
        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)
        Deprecated.
        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()
        Deprecated.
        Returns an object which can be used in a RunJobflow call.
        Returns:
        an object which can be used in a RunJobflow call.