atlas-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shweth...@apache.org
Subject incubator-atlas git commit: ATLAS-387 Running quick_start without a valid atlas endpoint in configuration or argument prints a spurious success message (yhemanth via shwethags)
Date Wed, 06 Jan 2016 06:46:56 GMT
Repository: incubator-atlas
Updated Branches:
  refs/heads/master 90a3a9e70 -> 4bd2df49e


ATLAS-387 Running quick_start without a valid atlas endpoint in configuration or argument
prints a spurious success message (yhemanth via shwethags)


Project: http://git-wip-us.apache.org/repos/asf/incubator-atlas/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-atlas/commit/4bd2df49
Tree: http://git-wip-us.apache.org/repos/asf/incubator-atlas/tree/4bd2df49
Diff: http://git-wip-us.apache.org/repos/asf/incubator-atlas/diff/4bd2df49

Branch: refs/heads/master
Commit: 4bd2df49e4495c95ef115ffc070b20d61b37b0c6
Parents: 90a3a9e
Author: Shwetha GS <sshivalingamurthy@hortonworks.com>
Authored: Wed Jan 6 12:16:46 2016 +0530
Committer: Shwetha GS <sshivalingamurthy@hortonworks.com>
Committed: Wed Jan 6 12:16:46 2016 +0530

----------------------------------------------------------------------
 distro/src/bin/quick_start.py | 8 +++++---
 release-log.txt               | 1 +
 2 files changed, 6 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-atlas/blob/4bd2df49/distro/src/bin/quick_start.py
----------------------------------------------------------------------
diff --git a/distro/src/bin/quick_start.py b/distro/src/bin/quick_start.py
index b96115b..c176be3 100755
--- a/distro/src/bin/quick_start.py
+++ b/distro/src/bin/quick_start.py
@@ -52,13 +52,15 @@ def main():
                        + os.path.join(atlas_home, "libext", "*")
 
     process = mc.java("org.apache.atlas.examples.QuickStart", sys.argv[1:], atlas_classpath,
jvm_opts_list)
-    process.wait()
-
-    print "Example data added to Apache Atlas Server!!!\n"
+    return process.wait()
 
 if __name__ == '__main__':
     try:
         returncode = main()
+        if returncode == 0:
+            print "Example data added to Apache Atlas Server!!!\n"
+        else:
+            print "No data was added to the Apache Atlas Server.\n"
     except Exception as e:
         print "Exception: %s " % str(e)
         returncode = -1

http://git-wip-us.apache.org/repos/asf/incubator-atlas/blob/4bd2df49/release-log.txt
----------------------------------------------------------------------
diff --git a/release-log.txt b/release-log.txt
index 5f33ddc..d46627c 100644
--- a/release-log.txt
+++ b/release-log.txt
@@ -6,6 +6,7 @@ INCOMPATIBLE CHANGES:
 ATLAS-379 Create sqoop and falcon metadata addons (venkatnrangan,bvellanki,sowmyaramesh via
shwethags)
 
 ALL CHANGES:
+ATLAS-387 Running quick_start without a valid atlas endpoint in configuration or argument
prints a spurious success message (yhemanth via shwethags)
 ATLAS-182 Add data model for Storm topology elements (svenkat,yhemanth via shwethags)
 ATLAS-414 Doc: Increase MAVEN_OPTS limit to 512m in InstallationSteps.twiki (yhemanth via
shwethags)
 ATLAS-418 Update atlas website (shwethags)


Mime
View raw message