{"action":"created","issue":{"url":"https://api.github.com/repos/SnappyDataInc/snappydata/issues/335","repository_url":"https://api.github.com/repos/SnappyDataInc/snappydata","labels_url":"https://api.github.com/repos/SnappyDataInc/snappydata/issues/335/labels{/name}","comments_url":"https://api.github.com/repos/SnappyDataInc/snappydata/issues/335/comments","events_url":"https://api.github.com/repos/SnappyDataInc/snappydata/issues/335/events","html_url":"https://github.com/SnappyDataInc/snappydata/pull/335","id":172407012,"number":335,"title":"Fix SNAP-684","user":{"login":"dshirish","id":10976204,"avatar_url":"https://avatars.githubusercontent.com/u/10976204?v=3","gravatar_id":"","url":"https://api.github.com/users/dshirish","html_url":"https://github.com/dshirish","followers_url":"https://api.github.com/users/dshirish/followers","following_url":"https://api.github.com/users/dshirish/following{/other_user}","gists_url":"https://api.github.com/users/dshirish/gists{/gist_id}","starred_url":"https://api.github.com/users/dshirish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dshirish/subscriptions","organizations_url":"https://api.github.com/users/dshirish/orgs","repos_url":"https://api.github.com/users/dshirish/repos","events_url":"https://api.github.com/users/dshirish/events{/privacy}","received_events_url":"https://api.github.com/users/dshirish/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"hbhanawat","id":8359624,"avatar_url":"https://avatars.githubusercontent.com/u/8359624?v=3","gravatar_id":"","url":"https://api.github.com/users/hbhanawat","html_url":"https://github.com/hbhanawat","followers_url":"https://api.github.com/users/hbhanawat/followers","following_url":"https://api.github.com/users/hbhanawat/following{/other_user}","gists_url":"https://api.github.com/users/hbhanawat/gists{/gist_id}","starred_url":"https://api.github.com/users/hbhanawat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hbhanawat/subscriptions","organizations_url":"https://api.github.com/users/hbhanawat/orgs","repos_url":"https://api.github.com/users/hbhanawat/repos","events_url":"https://api.github.com/users/hbhanawat/events{/privacy}","received_events_url":"https://api.github.com/users/hbhanawat/received_events","type":"User","site_admin":false},"assignees":[{"login":"hbhanawat","id":8359624,"avatar_url":"https://avatars.githubusercontent.com/u/8359624?v=3","gravatar_id":"","url":"https://api.github.com/users/hbhanawat","html_url":"https://github.com/hbhanawat","followers_url":"https://api.github.com/users/hbhanawat/followers","following_url":"https://api.github.com/users/hbhanawat/following{/other_user}","gists_url":"https://api.github.com/users/hbhanawat/gists{/gist_id}","starred_url":"https://api.github.com/users/hbhanawat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hbhanawat/subscriptions","organizations_url":"https://api.github.com/users/hbhanawat/orgs","repos_url":"https://api.github.com/users/hbhanawat/repos","events_url":"https://api.github.com/users/hbhanawat/events{/privacy}","received_events_url":"https://api.github.com/users/hbhanawat/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2016-08-22T09:31:27Z","updated_at":"2016-08-23T11:25:51Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/SnappyDataInc/snappydata/pulls/335","html_url":"https://github.com/SnappyDataInc/snappydata/pull/335","diff_url":"https://github.com/SnappyDataInc/snappydata/pull/335.diff","patch_url":"https://github.com/SnappyDataInc/snappydata/pull/335.patch"},"body":"## Changes proposed in this pull request\r\nIf the Lead is running and an application runs a program that points to the Snappy cluster as the Master, then, the client program perpetually hangs. Now throwing error in this case.\r\n\r\n*For reference code flow*\r\n\r\n**Stack trace while acquiring lock on lead node thru application porgram:**\r\n`\r\njava.lang.Exception: Stack trace\r\nat java.lang.Thread.dumpStack(Thread.java:1365)\r\nat io.snappydata.impl.LeadImpl.internalStart(LeadImpl.scala:184)\r\nat io.snappydata.impl.LeadImpl$.invokeLeadStart(LeadImpl.scala:407)\r\nat org.apache.spark.scheduler.cluster.SnappyEmbeddedModeClusterManager.initialize(SnappyEmbeddedModeClusterManager.scala:88)\r\nat org.apache.spark.SparkContext$.org$apache$spark$SparkContext$$createTaskScheduler(SparkContext.scala:2519)\r\nat org.apache.spark.SparkContext.<init>(SparkContext.scala:510)\r\nat io.snappydata.cluster.ClusterManagerTestBase$.startSnappyLead(ClusterManagerTestBase.scala:216)\r\nat io.snappydata.cluster.ClusterManagerTestBase.beforeClass(ClusterManagerTestBase.scala:120)\r\nio.snappydata.test.dunit.DistributedTestBase.setUp(DistributedTestBase.java:700)\r\nat io.snappydata.cluster.ClusterManagerTestBase.setUp(ClusterManagerTestBase.scala:127)\r\n`\r\n\r\n\r\n**When started using snappy-start-all**\r\n\r\n`\r\njava.lang.Exception: Stack trace\r\n        at java.lang.Thread.dumpStack(Thread.java:1365)\r\n        at io.snappydata.impl.LeadImpl.internalStart(LeadImpl.scala:184)\r\n        at io.snappydata.impl.LeadImpl$.invokeLeadStart(LeadImpl.scala:407)\r\n        at org.apache.spark.scheduler.cluster.SnappyEmbeddedModeClusterManager.initialize(SnappyEmbeddedModeClusterManager.scala:88)\r\n        at org.apache.spark.SparkContext$.org$apache$spark$SparkContext$$createTaskScheduler(SparkContext.scala:2519)\r\n        at org.apache.spark.SparkContext.<init>(SparkContext.scala:510)\r\n        at io.snappydata.impl.LeadImpl.start(LeadImpl.scala:145)\r\n        at io.snappydata.impl.ServerImpl.start(ServerImpl.scala:32)\r\n        at io.snappydata.tools.LeaderLauncher.startServerVM(LeaderLauncher.scala:91)\r\n        at com.pivotal.gemfirexd.tools.internal.GfxdServerLauncher.connect(GfxdServerLauncher.java:174)\r\n        at com.gemstone.gemfire.internal.cache.CacheServerLauncher$AsyncServerLauncher.run(CacheServerLauncher.java:996)\r\n        at java.lang.Thread.run(Thread.java:745)\r\n`\r\n\r\n## Patch testing\r\nAdded a unit test. Ran precheckin.\r\n\r\n## ReleaseNotes.txt changes\r\n\r\n\r\n## Other PRs \r\n"},"comment":{"url":"https://api.github.com/repos/SnappyDataInc/snappydata/issues/comments/241702047","html_url":"https://github.com/SnappyDataInc/snappydata/pull/335#issuecomment-241702047","issue_url":"https://api.github.com/repos/SnappyDataInc/snappydata/issues/335","id":241702047,"user":{"login":"hbhanawat","id":8359624,"avatar_url":"https://avatars.githubusercontent.com/u/8359624?v=3","gravatar_id":"","url":"https://api.github.com/users/hbhanawat","html_url":"https://github.com/hbhanawat","followers_url":"https://api.github.com/users/hbhanawat/followers","following_url":"https://api.github.com/users/hbhanawat/following{/other_user}","gists_url":"https://api.github.com/users/hbhanawat/gists{/gist_id}","starred_url":"https://api.github.com/users/hbhanawat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hbhanawat/subscriptions","organizations_url":"https://api.github.com/users/hbhanawat/orgs","repos_url":"https://api.github.com/users/hbhanawat/repos","events_url":"https://api.github.com/users/hbhanawat/events{/privacy}","received_events_url":"https://api.github.com/users/hbhanawat/received_events","type":"User","site_admin":false},"created_at":"2016-08-23T11:25:51Z","updated_at":"2016-08-23T11:25:51Z","body":"Looks good.  "}}
{"actor":{"display_login":"hbhanawat"}}