Qiang Zhang created ATLAS-1248:
----------------------------------

             Summary: execute ./bin/atlas_stop.py,  After ten minuters process 
still alive
                 Key: ATLAS-1248
                 URL: https://issues.apache.org/jira/browse/ATLAS-1248
             Project: Atlas
          Issue Type: Bug
    Affects Versions: 0.8-incubating
            Reporter: Qiang Zhang


Hi All, 
       1. I executed ./bin/atlas_stop.py to stop atlas, but after ten minutes i 
found it still alive.
 
       2. By reviewing atlas_stop.py code , I found that we called  
os.kill(pid, SIGTERM)  to kill the process, but it didn't work sometimes. 

       3. Then I referred to hadoop and hbase stop shell,  I found they both 
Elegant kill process at first 
       4. Then check process whether still alive after sleeping some 
seconds.(sleep(60))
 
       5. If it was still alive, they compulsory kill process with os.kill(pid, 
SIGKILL) . 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to