Skip to content

Commit 6e20fca

Browse files
committed
Tidy up debug output
Remove some debug that looked like it had been left in by mistake, and update some other debug to use the logging framework.
1 parent 1d88de5 commit 6e20fca

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

api/src/main/resources/application_creator.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,6 @@ def create_application(self, package_data_path, package_metadata, application_na
5959
except KeyError:
6060
raise FailedCreation('User %s does not exist. Verify that this user account exists on the machine running the deployment manager.' % user_name)
6161

62-
print 'done'
6362
stage_path = self._stage_package(package_data_path)
6463

6564
# create each class of components in the package, aggregating any
@@ -151,7 +150,7 @@ def get_application_runtime_details(self, application_name, application_create_d
151150

152151
def _load_creator(self, component_type):
153152

154-
print "_load_creator", component_type
153+
logging.debug("_load_creator %s", component_type)
155154

156155
creator = self._component_creators.get(component_type)
157156

api/src/main/resources/plugins/oozie.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,5 +213,4 @@ def _start_oozie(self, job_id, oozie_user):
213213
def _stop_oozie(self, job_id, oozie_user):
214214
logging.debug("_stop_oozie: %s", job_id)
215215
oozie_url = '%s/v1/job/%s?action=suspend&user.name=%s' % (self._environment['oozie_uri'], job_id, oozie_user)
216-
print oozie_url
217216
requests.put(oozie_url)

0 commit comments

Comments
 (0)