{"action":"created","comment":{"url":"https://api.github.com/repos/SnappyDataInc/snappydata/pulls/comments/66233508","id":66233508,"diff_hunk":"@@ -251,6 +378,69 @@ protected void writeConfigDataToFiles() {\n     }\n \n     /**\n+     * Write the configuration data required to start the snappy locator in locators file under conf directory at snappy build location.\n+     */\n+    public static void HydraTask_writeLocatorConfigData() {\n+        snappyTest.writeLocatorConfigData();\n+    }\n+\n+    /**\n+     * Write the configuration data required to start the snappy server in servers file under conf directory at snappy build location.\n+     */\n+    public static void HydraTask_writeServerConfigData() {\n+        snappyTest.writeServerConfigData();\n+    }\n+\n+    /**\n+     * Write the configuration data required to start the snappy lead in leads file under conf directory at snappy build location.\n+     */\n+    public static void HydraTask_writeLeadConfigData() {\n+        snappyTest.writeLeadConfigData();\n+    }\n+\n+    protected void writeLocatorConfigData() {\n+        locatorsFilePath = productConfDirPath + \"locators\";\n+        File locatorsFile = new File(locatorsFilePath);\n+        Set<String> locatorsFileContent = new LinkedHashSet<String>();\n+        locatorsFileContent = snappyTest.getFileContents(\"locatorLogDir\", locatorsFileContent);\n+        if (locatorsFileContent.size() == 0) {\n+            String s = \"No data found for writing to locators file under conf directory\";\n+            throw new TestException(s);\n+        }\n+        for (String s : locatorsFileContent) {\n+            snappyTest.writeToFile(s, locatorsFile);\n+        }\n+    }\n+\n+    protected void writeServerConfigData() {","path":"dtests/src/test/java/io/snappydata/hydra/cluster/SnappyTest.java","position":261,"original_position":261,"commit_id":"fbc534bdb563f4c1520ca112a094ffe127f850f9","original_commit_id":"fbc534bdb563f4c1520ca112a094ffe127f850f9","user":{"login":"nthanvi","id":13985470,"avatar_url":"https://avatars.githubusercontent.com/u/13985470?v=3","gravatar_id":"","url":"https://api.github.com/users/nthanvi","html_url":"https://github.com/nthanvi","followers_url":"https://api.github.com/users/nthanvi/followers","following_url":"https://api.github.com/users/nthanvi/following{/other_user}","gists_url":"https://api.github.com/users/nthanvi/gists{/gist_id}","starred_url":"https://api.github.com/users/nthanvi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nthanvi/subscriptions","organizations_url":"https://api.github.com/users/nthanvi/orgs","repos_url":"https://api.github.com/users/nthanvi/repos","events_url":"https://api.github.com/users/nthanvi/events{/privacy}","received_events_url":"https://api.github.com/users/nthanvi/received_events","type":"User","site_admin":false},"body":"can we have single method writing to a Directory and call it whenever needed. ","created_at":"2016-06-08T10:45:47Z","updated_at":"2016-06-08T10:45:47Z","html_url":"https://github.com/SnappyDataInc/snappydata/pull/277#discussion_r66233508","pull_request_url":"https://api.github.com/repos/SnappyDataInc/snappydata/pulls/277","_links":{"self":{"href":"https://api.github.com/repos/SnappyDataInc/snappydata/pulls/comments/66233508"},"html":{"href":"https://github.com/SnappyDataInc/snappydata/pull/277#discussion_r66233508"},"pull_request":{"href":"https://api.github.com/repos/SnappyDataInc/snappydata/pulls/277"}}},"pull_request":{"url":"https://api.github.com/repos/SnappyDataInc/snappydata/pulls/277","id":73010252,"html_url":"https://github.com/SnappyDataInc/snappydata/pull/277","diff_url":"https://github.com/SnappyDataInc/snappydata/pull/277.diff","patch_url":"https://github.com/SnappyDataInc/snappydata/pull/277.patch","issue_url":"https://api.github.com/repos/SnappyDataInc/snappydata/issues/277","number":277,"state":"open","locked":false,"title":"\tAdded test to verify upgrading cluster from gemFireXD to snappy works as expected","user":{"login":"swatisawant","id":10976034,"avatar_url":"https://avatars.githubusercontent.com/u/10976034?v=3","gravatar_id":"","url":"https://api.github.com/users/swatisawant","html_url":"https://github.com/swatisawant","followers_url":"https://api.github.com/users/swatisawant/followers","following_url":"https://api.github.com/users/swatisawant/following{/other_user}","gists_url":"https://api.github.com/users/swatisawant/gists{/gist_id}","starred_url":"https://api.github.com/users/swatisawant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swatisawant/subscriptions","organizations_url":"https://api.github.com/users/swatisawant/orgs","repos_url":"https://api.github.com/users/swatisawant/repos","events_url":"https://api.github.com/users/swatisawant/events{/privacy}","received_events_url":"https://api.github.com/users/swatisawant/received_events","type":"User","site_admin":false},"body":"## Changes proposed in this pull request\r\n\r\n-  Added test to verify upgrading cluster from gemFireXD to snappy works smooth.\r\n-  Added method for verifying data  after cluster upgrade.\r\n-  Added methods for verifying data after perofming insert, update and delete ops on upgarded cluster.\r\n\r\n## Patch testing\r\n\r\nRan the test for multiple iterations and found it working fine.\r\n\r\n## Other PRs \r\n\r\nThis change required changes store. \r\nPlease find below link of PR of store that is related to this change:\r\nhttps://github.com/SnappyDataInc/snappy-store/pull/78\r\n","created_at":"2016-06-08T09:06:16Z","updated_at":"2016-06-08T10:45:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ccae8ff6787fda101ed38185e6f191b7e30685cf","assignee":{"login":"rk-geode","id":11883411,"avatar_url":"https://avatars.githubusercontent.com/u/11883411?v=3","gravatar_id":"","url":"https://api.github.com/users/rk-geode","html_url":"https://github.com/rk-geode","followers_url":"https://api.github.com/users/rk-geode/followers","following_url":"https://api.github.com/users/rk-geode/following{/other_user}","gists_url":"https://api.github.com/users/rk-geode/gists{/gist_id}","starred_url":"https://api.github.com/users/rk-geode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rk-geode/subscriptions","organizations_url":"https://api.github.com/users/rk-geode/orgs","repos_url":"https://api.github.com/users/rk-geode/repos","events_url":"https://api.github.com/users/rk-geode/events{/privacy}","received_events_url":"https://api.github.com/users/rk-geode/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/SnappyDataInc/snappydata/pulls/277/commits","review_comments_url":"https://api.github.com/repos/SnappyDataInc/snappydata/pulls/277/comments","review_comment_url":"https://api.github.com/repos/SnappyDataInc/snappydata/pulls/comments{/number}","comments_url":"https://api.github.com/repos/SnappyDataInc/snappydata/issues/277/comments","statuses_url":"https://api.github.com/repos/SnappyDataInc/snappydata/statuses/fbc534bdb563f4c1520ca112a094ffe127f850f9","head":{"label":"SnappyDataInc:SNAP-833","ref":"SNAP-833","sha":"fbc534bdb563f4c1520ca112a094ffe127f850f9","user":{"login":"SnappyDataInc","id":11342682,"avatar_url":"https://avatars.githubusercontent.com/u/11342682?v=3","gravatar_id":"","url":"https://api.github.com/users/SnappyDataInc","html_url":"https://github.com/SnappyDataInc","followers_url":"https://api.github.com/users/SnappyDataInc/followers","following_url":"https://api.github.com/users/SnappyDataInc/following{/other_user}","gists_url":"https://api.github.com/users/SnappyDataInc/gists{/gist_id}","starred_url":"https://api.github.com/users/SnappyDataInc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SnappyDataInc/subscriptions","organizations_url":"https://api.github.com/users/SnappyDataInc/orgs","repos_url":"https://api.github.com/users/SnappyDataInc/repos","events_url":"https://api.github.com/users/SnappyDataInc/events{/privacy}","received_events_url":"https://api.github.com/users/SnappyDataInc/received_events","type":"Organization","site_admin":false},"repo":{"id":42580991,"name":"snappydata","full_name":"SnappyDataInc/snappydata","owner":{"login":"SnappyDataInc","id":11342682,"avatar_url":"https://avatars.githubusercontent.com/u/11342682?v=3","gravatar_id":"","url":"https://api.github.com/users/SnappyDataInc","html_url":"https://github.com/SnappyDataInc","followers_url":"https://api.github.com/users/SnappyDataInc/followers","following_url":"https://api.github.com/users/SnappyDataInc/following{/other_user}","gists_url":"https://api.github.com/users/SnappyDataInc/gists{/gist_id}","starred_url":"https://api.github.com/users/SnappyDataInc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SnappyDataInc/subscriptions","organizations_url":"https://api.github.com/users/SnappyDataInc/orgs","repos_url":"https://api.github.com/users/SnappyDataInc/repos","events_url":"https://api.github.com/users/SnappyDataInc/events{/privacy}","received_events_url":"https://api.github.com/users/SnappyDataInc/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/SnappyDataInc/snappydata","description":"SnappyData: OLTP + OLAP Database built on Apache Spark","fork":false,"url":"https://api.github.com/repos/SnappyDataInc/snappydata","forks_url":"https://api.github.com/repos/SnappyDataInc/snappydata/forks","keys_url":"https://api.github.com/repos/SnappyDataInc/snappydata/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SnappyDataInc/snappydata/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SnappyDataInc/snappydata/teams","hooks_url":"https://api.github.com/repos/SnappyDataInc/snappydata/hooks","issue_events_url":"https://api.github.com/repos/SnappyDataInc/snappydata/issues/events{/number}","events_url":"https://api.github.com/repos/SnappyDataInc/snappydata/events","assignees_url":"https://api.github.com/repos/SnappyDataInc/snappydata/assignees{/user}","branches_url":"https://api.github.com/repos/SnappyDataInc/snappydata/branches{/branch}","tags_url":"https://api.github.com/repos/SnappyDataInc/snappydata/tags","blobs_url":"https://api.github.com/repos/SnappyDataInc/snappydata/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SnappyDataInc/snappydata/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SnappyDataInc/snappydata/git/refs{/sha}","trees_url":"https://api.github.com/repos/SnappyDataInc/snappydata/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SnappyDataInc/snappydata/statuses/{sha}","languages_url":"https://api.github.com/repos/SnappyDataInc/snappydata/languages","stargazers_url":"https://api.github.com/repos/SnappyDataInc/snappydata/stargazers","contributors_url":"https://api.github.com/repos/SnappyDataInc/snappydata/contributors","subscribers_url":"https://api.github.com/repos/SnappyDataInc/snappydata/subscribers","subscription_url":"https://api.github.com/repos/SnappyDataInc/snappydata/subscription","commits_url":"https://api.github.com/repos/SnappyDataInc/snappydata/commits{/sha}","git_commits_url":"https://api.github.com/repos/SnappyDataInc/snappydata/git/commits{/sha}","comments_url":"https://api.github.com/repos/SnappyDataInc/snappydata/comments{/number}","issue_comment_url":"https://api.github.com/repos/SnappyDataInc/snappydata/issues/comments{/number}","contents_url":"https://api.github.com/repos/SnappyDataInc/snappydata/contents/{+path}","compare_url":"https://api.github.com/repos/SnappyDataInc/snappydata/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SnappyDataInc/snappydata/merges","archive_url":"https://api.github.com/repos/SnappyDataInc/snappydata/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SnappyDataInc/snappydata/downloads","issues_url":"https://api.github.com/repos/SnappyDataInc/snappydata/issues{/number}","pulls_url":"https://api.github.com/repos/SnappyDataInc/snappydata/pulls{/number}","milestones_url":"https://api.github.com/repos/SnappyDataInc/snappydata/milestones{/number}","notifications_url":"https://api.github.com/repos/SnappyDataInc/snappydata/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SnappyDataInc/snappydata/labels{/name}","releases_url":"https://api.github.com/repos/SnappyDataInc/snappydata/releases{/id}","deployments_url":"https://api.github.com/repos/SnappyDataInc/snappydata/deployments","created_at":"2015-09-16T10:36:36Z","updated_at":"2016-06-08T05:01:45Z","pushed_at":"2016-06-08T10:06:39Z","git_url":"git://github.com/SnappyDataInc/snappydata.git","ssh_url":"git@github.com:SnappyDataInc/snappydata.git","clone_url":"https://github.com/SnappyDataInc/snappydata.git","svn_url":"https://github.com/SnappyDataInc/snappydata","homepage":"http://www.snappydata.io","size":143048,"stargazers_count":291,"watchers_count":291,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":34,"mirror_url":null,"open_issues_count":9,"forks":34,"open_issues":9,"watchers":291,"default_branch":"master"}},"base":{"label":"SnappyDataInc:master","ref":"master","sha":"6c1dbe7f7bcba1d87f1bb0a9f76ecff5bc002253","user":{"login":"SnappyDataInc","id":11342682,"avatar_url":"https://avatars.githubusercontent.com/u/11342682?v=3","gravatar_id":"","url":"https://api.github.com/users/SnappyDataInc","html_url":"https://github.com/SnappyDataInc","followers_url":"https://api.github.com/users/SnappyDataInc/followers","following_url":"https://api.github.com/users/SnappyDataInc/following{/other_user}","gists_url":"https://api.github.com/users/SnappyDataInc/gists{/gist_id}","starred_url":"https://api.github.com/users/SnappyDataInc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SnappyDataInc/subscriptions","organizations_url":"https://api.github.com/users/SnappyDataInc/orgs","repos_url":"https://api.github.com/users/SnappyDataInc/repos","events_url":"https://api.github.com/users/SnappyDataInc/events{/privacy}","received_events_url":"https://api.github.com/users/SnappyDataInc/received_events","type":"Organization","site_admin":false},"repo":{"id":42580991,"name":"snappydata","full_name":"SnappyDataInc/snappydata","owner":{"login":"SnappyDataInc","id":11342682,"avatar_url":"https://avatars.githubusercontent.com/u/11342682?v=3","gravatar_id":"","url":"https://api.github.com/users/SnappyDataInc","html_url":"https://github.com/SnappyDataInc","followers_url":"https://api.github.com/users/SnappyDataInc/followers","following_url":"https://api.github.com/users/SnappyDataInc/following{/other_user}","gists_url":"https://api.github.com/users/SnappyDataInc/gists{/gist_id}","starred_url":"https://api.github.com/users/SnappyDataInc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SnappyDataInc/subscriptions","organizations_url":"https://api.github.com/users/SnappyDataInc/orgs","repos_url":"https://api.github.com/users/SnappyDataInc/repos","events_url":"https://api.github.com/users/SnappyDataInc/events{/privacy}","received_events_url":"https://api.github.com/users/SnappyDataInc/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/SnappyDataInc/snappydata","description":"SnappyData: OLTP + OLAP Database built on Apache Spark","fork":false,"url":"https://api.github.com/repos/SnappyDataInc/snappydata","forks_url":"https://api.github.com/repos/SnappyDataInc/snappydata/forks","keys_url":"https://api.github.com/repos/SnappyDataInc/snappydata/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SnappyDataInc/snappydata/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SnappyDataInc/snappydata/teams","hooks_url":"https://api.github.com/repos/SnappyDataInc/snappydata/hooks","issue_events_url":"https://api.github.com/repos/SnappyDataInc/snappydata/issues/events{/number}","events_url":"https://api.github.com/repos/SnappyDataInc/snappydata/events","assignees_url":"https://api.github.com/repos/SnappyDataInc/snappydata/assignees{/user}","branches_url":"https://api.github.com/repos/SnappyDataInc/snappydata/branches{/branch}","tags_url":"https://api.github.com/repos/SnappyDataInc/snappydata/tags","blobs_url":"https://api.github.com/repos/SnappyDataInc/snappydata/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SnappyDataInc/snappydata/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SnappyDataInc/snappydata/git/refs{/sha}","trees_url":"https://api.github.com/repos/SnappyDataInc/snappydata/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SnappyDataInc/snappydata/statuses/{sha}","languages_url":"https://api.github.com/repos/SnappyDataInc/snappydata/languages","stargazers_url":"https://api.github.com/repos/SnappyDataInc/snappydata/stargazers","contributors_url":"https://api.github.com/repos/SnappyDataInc/snappydata/contributors","subscribers_url":"https://api.github.com/repos/SnappyDataInc/snappydata/subscribers","subscription_url":"https://api.github.com/repos/SnappyDataInc/snappydata/subscription","commits_url":"https://api.github.com/repos/SnappyDataInc/snappydata/commits{/sha}","git_commits_url":"https://api.github.com/repos/SnappyDataInc/snappydata/git/commits{/sha}","comments_url":"https://api.github.com/repos/SnappyDataInc/snappydata/comments{/number}","issue_comment_url":"https://api.github.com/repos/SnappyDataInc/snappydata/issues/comments{/number}","contents_url":"https://api.github.com/repos/SnappyDataInc/snappydata/contents/{+path}","compare_url":"https://api.github.com/repos/SnappyDataInc/snappydata/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SnappyDataInc/snappydata/merges","archive_url":"https://api.github.com/repos/SnappyDataInc/snappydata/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SnappyDataInc/snappydata/downloads","issues_url":"https://api.github.com/repos/SnappyDataInc/snappydata/issues{/number}","pulls_url":"https://api.github.com/repos/SnappyDataInc/snappydata/pulls{/number}","milestones_url":"https://api.github.com/repos/SnappyDataInc/snappydata/milestones{/number}","notifications_url":"https://api.github.com/repos/SnappyDataInc/snappydata/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SnappyDataInc/snappydata/labels{/name}","releases_url":"https://api.github.com/repos/SnappyDataInc/snappydata/releases{/id}","deployments_url":"https://api.github.com/repos/SnappyDataInc/snappydata/deployments","created_at":"2015-09-16T10:36:36Z","updated_at":"2016-06-08T05:01:45Z","pushed_at":"2016-06-08T10:06:39Z","git_url":"git://github.com/SnappyDataInc/snappydata.git","ssh_url":"git@github.com:SnappyDataInc/snappydata.git","clone_url":"https://github.com/SnappyDataInc/snappydata.git","svn_url":"https://github.com/SnappyDataInc/snappydata","homepage":"http://www.snappydata.io","size":143048,"stargazers_count":291,"watchers_count":291,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":34,"mirror_url":null,"open_issues_count":9,"forks":34,"open_issues":9,"watchers":291,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/SnappyDataInc/snappydata/pulls/277"},"html":{"href":"https://github.com/SnappyDataInc/snappydata/pull/277"},"issue":{"href":"https://api.github.com/repos/SnappyDataInc/snappydata/issues/277"},"comments":{"href":"https://api.github.com/repos/SnappyDataInc/snappydata/issues/277/comments"},"review_comments":{"href":"https://api.github.com/repos/SnappyDataInc/snappydata/pulls/277/comments"},"review_comment":{"href":"https://api.github.com/repos/SnappyDataInc/snappydata/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/SnappyDataInc/snappydata/pulls/277/commits"},"statuses":{"href":"https://api.github.com/repos/SnappyDataInc/snappydata/statuses/fbc534bdb563f4c1520ca112a094ffe127f850f9"}}}}
{"actor":{"display_login":"nthanvi"}}