Commit 9710cff0 by Suma Shivaprasad

ATLAS-333 atlas_stop.py – script must delete “atlas.pid” file(ndjouhr via sumasai)

parent 4f351219
......@@ -37,10 +37,21 @@ def main():
pf.close()
except:
pid = None
if not pid:
sys.stderr.write("No process ID file found. Server not running?\n")
return
if mc.ON_POSIX:
if not mc.unix_exist_pid(pid):
sys.stderr.write("Server no longer running with pid %s\nImproper shutdown?\npid file deleted.\n" %pid)
os.remove(metadata_pid_file)
return
else:
if mc.IS_WINDOWS:
if not mc.win_exist_pid((str)(pid)):
sys.stderr.write("Server no longer running with pid %s\nImproper shutdown?\npid file deleted.\n" %pid)
os.remove(metadata_pid_file)
return
os.kill(pid, SIGTERM)
......
......@@ -9,6 +9,7 @@ ATLAS-54 Rename configs in hive hook (shwethags)
ATLAS-3 Mixed Index creation fails with Date types (sumasai via shwethags)
ALL CHANGES:
ATLAS-333 atlas_stop.py – script must delete “atlas.pid” file (ndjouhr via sumasai)
ATLAS-220 Gets on Enum attribute should return EnumValue(yhemanth via sumasai)
ATLAS-334 Update documentation to reflect copying required atlas file on solr installation (sumasai via shwethags)
ATLAS-294 Select queries(ex: from DB select DB.name) response contains column names as "_col_x" instead of the actual names requested in the query.(thiyag via sumasai)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment