Skip to content

Commit

Permalink
The api uses jvm_mem, task_mem instead of jvm_memory and task_memory
Browse files Browse the repository at this point in the history
  • Loading branch information
Rohit Agarwal committed Mar 25, 2014
1 parent 8e34e14 commit 6078720
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions qds_sdk/cluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -503,8 +503,8 @@ def set_presto_settings(self, jvm_memory=None, task_memory=None):
`task_memory`: The maximum memory a worker task can use in Presto.
"""
self.presto_settings['jvm_memory'] = jvm_memory
self.presto_settings['task_memory'] = task_memory
self.presto_settings['jvm_mem'] = jvm_memory
self.presto_settings['task_mem'] = task_memory

def minimal_payload(self):
"""
Expand Down

0 comments on commit 6078720

Please sign in to comment.