This is an automated email from the ASF dual-hosted git repository.

karthikz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-heron.git


The following commit(s) were added to refs/heads/master by this push:
     new c2e9754  Update pidhandler.py (#3094)
c2e9754 is described below

commit c2e97547aff4ada669f82166ffc420972c02f408
Author: Windham Wong <windhamw...@nva-hk.com>
AuthorDate: Wed Oct 31 13:58:07 2018 +0800

    Update pidhandler.py (#3094)
    
    Fixing Bash syntax error in pid checking script.
---
 heron/shell/src/python/handlers/pidhandler.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/heron/shell/src/python/handlers/pidhandler.py 
b/heron/shell/src/python/handlers/pidhandler.py
index b374cdc..da1c5c3 100644
--- a/heron/shell/src/python/handlers/pidhandler.py
+++ b/heron/shell/src/python/handlers/pidhandler.py
@@ -39,5 +39,5 @@ class PidHandler(tornado.web.RequestHandler):
         ['ps', 'auxwwww'],
         ['grep', instance_id],
         ['grep', 'java'],
-        ['awk', '{print $2}']])).strip())
+        ['awk', '\'{print $2}\'']])).strip())
     self.finish()

Reply via email to