Cluster object has missing fields
prongs opened this issue · 1 comments
prongs commented
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 commented
Thanks for taking the time to report this issue! If you don't mind, can you send a pull request for fixing this?