Skip to content
This repository was archived by the owner on Jun 13, 2023. It is now read-only.
This repository was archived by the owner on Jun 13, 2023. It is now read-only.

Cluster object has missing fields #239

@prongs

Description

@prongs

The design of the type awscala.emr.Cluster is such that

  • it extends com.amazonaws.services.elasticmapreduce.model.Cluster.
  • it takes an instance of com.amazonaws.services.elasticmapreduce.model.Cluster for initialization. In the constructor, it copies some fields.

Now the problem here is that some fields are missing. For me, I encountered this problem for the field master dns name and I had to write the following

    val clstr   = emr.describeCluster(new DescribeClusterRequest().withClusterId(cid)).getCluster
    val cluster = Cluster(clstr)
    cluster.setMasterPublicDnsName(clstr.getMasterPublicDnsName)

Constructor https://github.com/seratch/AWScala/blob/master/emr/src/main/scala/awscala/emr/Cluster.scala#L18

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions