thealmightygrant commented on a change in pull request #61: ATLAS-3295: Remove 
unused setup code and documentation
URL: https://github.com/apache/atlas/pull/61#discussion_r301804522
 
 

 ##########
 File path: distro/src/bin/atlas_start.py
 ##########
 @@ -143,13 +135,10 @@ def main():
     web_app_path = os.path.join(web_app_dir, "atlas")
     if (mc.isCygwin()):
         web_app_path = mc.convertCygwinPath(web_app_path)
-    if not is_setup:
-        start_atlas_server(atlas_classpath, atlas_pid_file, jvm_logdir, 
jvm_opts_list, web_app_path)
-        mc.wait_for_startup(confdir, 300)
-        print "Apache Atlas Server started!!!\n"
-    else:
-        process = mc.java("org.apache.atlas.web.setup.AtlasSetup", [], 
atlas_classpath, jvm_opts_list, jvm_logdir)
 
 Review comment:
   To go along with this, the current script fails. And this line needs to be 
changed to:
   ```py
   process = mc.java("org.apache.atlas.web.setup.AtlasSetupModule", [], 
atlas_classpath, jvm_opts_list, jvm_logdir)
   ```
   otherwise, `-setup` fails.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to