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

Cluster object has missing fields #239

Open
prongs opened this issue Mar 18, 2021 · 1 comment
Open

Cluster object has missing fields #239

prongs opened this issue Mar 18, 2021 · 1 comment

Comments

@prongs
Copy link

prongs commented Mar 18, 2021

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

@seratch
Copy link
Owner

seratch commented Mar 23, 2021

Thanks for taking the time to report this issue! If you don't mind, can you send a pull request for fixing this?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants