Member since
02-02-2019
2
Posts
0
Kudos Received
0
Solutions
02-02-2019
01:07 AM
Thank you for answering the question. I am able to get a response back. But how can I HTTP PUT the below object to create a new resource pool? Would you happen to have a CURL example? { 'minSharePreemptionTimeout': None, 'name': 'username', 'schedulingPolicy': 'fair', 'fairSharePreemptionTimeout': None, 'queues': [], 'aclAdministerApps': None, 'fairSharePreemptionThreshold': None, 'allowPreemptionFrom': None, 'aclSubmitApps': 'scrubbed', 'schedulablePropertiesList': [ { 'maxAMShare': None, 'weight': 1.0, 'impalaDefaultQueryMemLimit': None, 'maxRunningApps': None, 'impalaQueueTimeout': None, 'maxChildResources': None, 'impalaMaxQueuedQueries': None, 'impalaMaxRunningQueries': None, 'scheduleName': 'default', 'maxResources': {'vcores': 60, 'memory': 131072}, 'impalaDefaultQueryOptions': None, 'impalaMaxMemory': None, 'minResources': {'vcores': 25, 'memory': 32768} } ], 'type': None } When I insert this into the response and PUT it back to the endpoint, I get a 200 status code. However the resource pool is not actually created nor visible in Web UI.
... View more