Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

x/y location when instantiating a template

Highlighted

x/y location when instantiating a template

Contributor

Hi All,

I'm trying to programmatically instantiate a template via the rest api (version 1.0). What I am doing right now, is:

  1. search for existing process group by name
  2. delete it if exists
  3. Upload new template
  4. Instantiate template

What I'd like to do is instantiate the new template in the same x,y location as the old one (if it was there) but what I'm noticing is that the search always returns:

"position":{"x":0.0,"y":0.0}

is this a bug? Is there a better way to find out where it was?

Thanks!