{"action":"created","comment":{"url":"https://api.github.com/repos/SnappyDataInc/snappy-spark/pulls/comments/72455664","id":72455664,"diff_hunk":"@@ -2230,7 +2232,34 @@ private[spark] object Utils extends Logging {\n    * Returns a path of temporary file which is in the same directory with `path`.\n    */\n   def tempFileWith(path: File): File = {\n-    new File(path.getAbsolutePath + \".\" + UUID.randomUUID())\n+    var temp: File = null\n+    var i = 0\n+    while (i < 50) {\n+      temp = new File(path.getAbsolutePath + \".\" +\n+          StorageUtils.newNonSecureRandomUUID())\n+      if (!temp.exists()) return temp\n+      i += 1\n+    }\n+    temp\n+  }\n+\n+  /**\n+   * Returns a path of temporary file which is in the same directory with `path`.\n+   */\n+  def tempFileWith(parent: String, prefix: String): File = {\n+    var temp: File = null\n+    var i = 0\n+    while (i < 50) {","path":"core/src/main/scala/org/apache/spark/util/Utils.scala","position":40,"original_position":40,"commit_id":"36c4843794c6ac0fb9da5cb27b1757b09e9bdbf5","original_commit_id":"36c4843794c6ac0fb9da5cb27b1757b09e9bdbf5","user":{"login":"sumwale","id":11540628,"avatar_url":"https://avatars.githubusercontent.com/u/11540628?v=3","gravatar_id":"","url":"https://api.github.com/users/sumwale","html_url":"https://github.com/sumwale","followers_url":"https://api.github.com/users/sumwale/followers","following_url":"https://api.github.com/users/sumwale/following{/other_user}","gists_url":"https://api.github.com/users/sumwale/gists{/gist_id}","starred_url":"https://api.github.com/users/sumwale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sumwale/subscriptions","organizations_url":"https://api.github.com/users/sumwale/orgs","repos_url":"https://api.github.com/users/sumwale/repos","events_url":"https://api.github.com/users/sumwale/events{/privacy}","received_events_url":"https://api.github.com/users/sumwale/received_events","type":"User","site_admin":false},"body":"Ok","created_at":"2016-07-27T14:58:07Z","updated_at":"2016-07-27T14:58:07Z","html_url":"https://github.com/SnappyDataInc/snappy-spark/pull/40#discussion_r72455664","pull_request_url":"https://api.github.com/repos/SnappyDataInc/snappy-spark/pulls/40","_links":{"self":{"href":"https://api.github.com/repos/SnappyDataInc/snappy-spark/pulls/comments/72455664"},"html":{"href":"https://github.com/SnappyDataInc/snappy-spark/pull/40#discussion_r72455664"},"pull_request":{"href":"https://api.github.com/repos/SnappyDataInc/snappy-spark/pulls/40"}}},"pull_request":{"url":"https://api.github.com/repos/SnappyDataInc/snappy-spark/pulls/40","id":78566446,"html_url":"https://github.com/SnappyDataInc/snappy-spark/pull/40","diff_url":"https://github.com/SnappyDataInc/snappy-spark/pull/40.diff","patch_url":"https://github.com/SnappyDataInc/snappy-spark/pull/40.patch","issue_url":"https://api.github.com/repos/SnappyDataInc/snappy-spark/issues/40","number":40,"state":"open","locked":false,"title":" [SNAP-931] Use non-secure randomUUID where appropriate","user":{"login":"sumwale","id":11540628,"avatar_url":"https://avatars.githubusercontent.com/u/11540628?v=3","gravatar_id":"","url":"https://api.github.com/users/sumwale","html_url":"https://github.com/sumwale","followers_url":"https://api.github.com/users/sumwale/followers","following_url":"https://api.github.com/users/sumwale/following{/other_user}","gists_url":"https://api.github.com/users/sumwale/gists{/gist_id}","starred_url":"https://api.github.com/users/sumwale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sumwale/subscriptions","organizations_url":"https://api.github.com/users/sumwale/orgs","repos_url":"https://api.github.com/users/sumwale/repos","events_url":"https://api.github.com/users/sumwale/events{/privacy}","received_events_url":"https://api.github.com/users/sumwale/received_events","type":"User","site_admin":false},"body":"Adding a non-secure version for random UUID adapted from Android UUID.java. Removing the old implementation in DiskBlockManager.\r\n\r\nUse the same for file name in DiskBlockManager, Utils methods, WriteAheadLogBackedBlockRDD","created_at":"2016-07-23T07:48:51Z","updated_at":"2016-07-27T14:58:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4084707e4cb589ebf683f83df9b59078138a491e","assignee":{"login":"suranjan","id":189977,"avatar_url":"https://avatars.githubusercontent.com/u/189977?v=3","gravatar_id":"","url":"https://api.github.com/users/suranjan","html_url":"https://github.com/suranjan","followers_url":"https://api.github.com/users/suranjan/followers","following_url":"https://api.github.com/users/suranjan/following{/other_user}","gists_url":"https://api.github.com/users/suranjan/gists{/gist_id}","starred_url":"https://api.github.com/users/suranjan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/suranjan/subscriptions","organizations_url":"https://api.github.com/users/suranjan/orgs","repos_url":"https://api.github.com/users/suranjan/repos","events_url":"https://api.github.com/users/suranjan/events{/privacy}","received_events_url":"https://api.github.com/users/suranjan/received_events","type":"User","site_admin":false},"assignees":[{"login":"suranjan","id":189977,"avatar_url":"https://avatars.githubusercontent.com/u/189977?v=3","gravatar_id":"","url":"https://api.github.com/users/suranjan","html_url":"https://github.com/suranjan","followers_url":"https://api.github.com/users/suranjan/followers","following_url":"https://api.github.com/users/suranjan/following{/other_user}","gists_url":"https://api.github.com/users/suranjan/gists{/gist_id}","starred_url":"https://api.github.com/users/suranjan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/suranjan/subscriptions","organizations_url":"https://api.github.com/users/suranjan/orgs","repos_url":"https://api.github.com/users/suranjan/repos","events_url":"https://api.github.com/users/suranjan/events{/privacy}","received_events_url":"https://api.github.com/users/suranjan/received_events","type":"User","site_admin":false},{"login":"kneeraj","id":1151021,"avatar_url":"https://avatars.githubusercontent.com/u/1151021?v=3","gravatar_id":"","url":"https://api.github.com/users/kneeraj","html_url":"https://github.com/kneeraj","followers_url":"https://api.github.com/users/kneeraj/followers","following_url":"https://api.github.com/users/kneeraj/following{/other_user}","gists_url":"https://api.github.com/users/kneeraj/gists{/gist_id}","starred_url":"https://api.github.com/users/kneeraj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kneeraj/subscriptions","organizations_url":"https://api.github.com/users/kneeraj/orgs","repos_url":"https://api.github.com/users/kneeraj/repos","events_url":"https://api.github.com/users/kneeraj/events{/privacy}","received_events_url":"https://api.github.com/users/kneeraj/received_events","type":"User","site_admin":false},{"login":"soubhik-c","id":11516481,"avatar_url":"https://avatars.githubusercontent.com/u/11516481?v=3","gravatar_id":"","url":"https://api.github.com/users/soubhik-c","html_url":"https://github.com/soubhik-c","followers_url":"https://api.github.com/users/soubhik-c/followers","following_url":"https://api.github.com/users/soubhik-c/following{/other_user}","gists_url":"https://api.github.com/users/soubhik-c/gists{/gist_id}","starred_url":"https://api.github.com/users/soubhik-c/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/soubhik-c/subscriptions","organizations_url":"https://api.github.com/users/soubhik-c/orgs","repos_url":"https://api.github.com/users/soubhik-c/repos","events_url":"https://api.github.com/users/soubhik-c/events{/privacy}","received_events_url":"https://api.github.com/users/soubhik-c/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/SnappyDataInc/snappy-spark/pulls/40/commits","review_comments_url":"https://api.github.com/repos/SnappyDataInc/snappy-spark/pulls/40/comments","review_comment_url":"https://api.github.com/repos/SnappyDataInc/snappy-spark/pulls/comments{/number}","comments_url":"https://api.github.com/repos/SnappyDataInc/snappy-spark/issues/40/comments","statuses_url":"https://api.github.com/repos/SnappyDataInc/snappy-spark/statuses/36c4843794c6ac0fb9da5cb27b1757b09e9bdbf5","head":{"label":"SnappyDataInc:SNAP-931","ref":"SNAP-931","sha":"36c4843794c6ac0fb9da5cb27b1757b09e9bdbf5","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":32897088,"name":"snappy-spark","full_name":"SnappyDataInc/snappy-spark","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/snappy-spark","description":"Apache Spark with SnappyData extensions","fork":false,"url":"https://api.github.com/repos/SnappyDataInc/snappy-spark","forks_url":"https://api.github.com/repos/SnappyDataInc/snappy-spark/forks","keys_url":"https://api.github.com/repos/SnappyDataInc/snappy-spark/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SnappyDataInc/snappy-spark/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SnappyDataInc/snappy-spark/teams","hooks_url":"https://api.github.com/repos/SnappyDataInc/snappy-spark/hooks","issue_events_url":"https://api.github.com/repos/SnappyDataInc/snappy-spark/issues/events{/number}","events_url":"https://api.github.com/repos/SnappyDataInc/snappy-spark/events","assignees_url":"https://api.github.com/repos/SnappyDataInc/snappy-spark/assignees{/user}","branches_url":"https://api.github.com/repos/SnappyDataInc/snappy-spark/branches{/branch}","tags_url":"https://api.github.com/repos/SnappyDataInc/snappy-spark/tags","blobs_url":"https://api.github.com/repos/SnappyDataInc/snappy-spark/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SnappyDataInc/snappy-spark/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SnappyDataInc/snappy-spark/git/refs{/sha}","trees_url":"https://api.github.com/repos/SnappyDataInc/snappy-spark/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SnappyDataInc/snappy-spark/statuses/{sha}","languages_url":"https://api.github.com/repos/SnappyDataInc/snappy-spark/languages","stargazers_url":"https://api.github.com/repos/SnappyDataInc/snappy-spark/stargazers","contributors_url":"https://api.github.com/repos/SnappyDataInc/snappy-spark/contributors","subscribers_url":"https://api.github.com/repos/SnappyDataInc/snappy-spark/subscribers","subscription_url":"https://api.github.com/repos/SnappyDataInc/snappy-spark/subscription","commits_url":"https://api.github.com/repos/SnappyDataInc/snappy-spark/commits{/sha}","git_commits_url":"https://api.github.com/repos/SnappyDataInc/snappy-spark/git/commits{/sha}","comments_url":"https://api.github.com/repos/SnappyDataInc/snappy-spark/comments{/number}","issue_comment_url":"https://api.github.com/repos/SnappyDataInc/snappy-spark/issues/comments{/number}","contents_url":"https://api.github.com/repos/SnappyDataInc/snappy-spark/contents/{+path}","compare_url":"https://api.github.com/repos/SnappyDataInc/snappy-spark/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SnappyDataInc/snappy-spark/merges","archive_url":"https://api.github.com/repos/SnappyDataInc/snappy-spark/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SnappyDataInc/snappy-spark/downloads","issues_url":"https://api.github.com/repos/SnappyDataInc/snappy-spark/issues{/number}","pulls_url":"https://api.github.com/repos/SnappyDataInc/snappy-spark/pulls{/number}","milestones_url":"https://api.github.com/repos/SnappyDataInc/snappy-spark/milestones{/number}","notifications_url":"https://api.github.com/repos/SnappyDataInc/snappy-spark/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SnappyDataInc/snappy-spark/labels{/name}","releases_url":"https://api.github.com/repos/SnappyDataInc/snappy-spark/releases{/id}","deployments_url":"https://api.github.com/repos/SnappyDataInc/snappy-spark/deployments","created_at":"2015-03-25T23:34:11Z","updated_at":"2016-05-31T20:28:58Z","pushed_at":"2016-07-27T08:34:38Z","git_url":"git://github.com/SnappyDataInc/snappy-spark.git","ssh_url":"git@github.com:SnappyDataInc/snappy-spark.git","clone_url":"https://github.com/SnappyDataInc/snappy-spark.git","svn_url":"https://github.com/SnappyDataInc/snappy-spark","homepage":"","size":162889,"stargazers_count":6,"watchers_count":6,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":5,"forks":2,"open_issues":5,"watchers":6,"default_branch":"snappy/master"}},"base":{"label":"SnappyDataInc:branch-1.6.2-5","ref":"branch-1.6.2-5","sha":"018e7f4a93f9bfe206394ecd52af07b2af811eac","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":32897088,"name":"snappy-spark","full_name":"SnappyDataInc/snappy-spark","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/snappy-spark","description":"Apache Spark with SnappyData extensions","fork":false,"url":"https://api.github.com/repos/SnappyDataInc/snappy-spark","forks_url":"https://api.github.com/repos/SnappyDataInc/snappy-spark/forks","keys_url":"https://api.github.com/repos/SnappyDataInc/snappy-spark/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SnappyDataInc/snappy-spark/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SnappyDataInc/snappy-spark/teams","hooks_url":"https://api.github.com/repos/SnappyDataInc/snappy-spark/hooks","issue_events_url":"https://api.github.com/repos/SnappyDataInc/snappy-spark/issues/events{/number}","events_url":"https://api.github.com/repos/SnappyDataInc/snappy-spark/events","assignees_url":"https://api.github.com/repos/SnappyDataInc/snappy-spark/assignees{/user}","branches_url":"https://api.github.com/repos/SnappyDataInc/snappy-spark/branches{/branch}","tags_url":"https://api.github.com/repos/SnappyDataInc/snappy-spark/tags","blobs_url":"https://api.github.com/repos/SnappyDataInc/snappy-spark/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SnappyDataInc/snappy-spark/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SnappyDataInc/snappy-spark/git/refs{/sha}","trees_url":"https://api.github.com/repos/SnappyDataInc/snappy-spark/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SnappyDataInc/snappy-spark/statuses/{sha}","languages_url":"https://api.github.com/repos/SnappyDataInc/snappy-spark/languages","stargazers_url":"https://api.github.com/repos/SnappyDataInc/snappy-spark/stargazers","contributors_url":"https://api.github.com/repos/SnappyDataInc/snappy-spark/contributors","subscribers_url":"https://api.github.com/repos/SnappyDataInc/snappy-spark/subscribers","subscription_url":"https://api.github.com/repos/SnappyDataInc/snappy-spark/subscription","commits_url":"https://api.github.com/repos/SnappyDataInc/snappy-spark/commits{/sha}","git_commits_url":"https://api.github.com/repos/SnappyDataInc/snappy-spark/git/commits{/sha}","comments_url":"https://api.github.com/repos/SnappyDataInc/snappy-spark/comments{/number}","issue_comment_url":"https://api.github.com/repos/SnappyDataInc/snappy-spark/issues/comments{/number}","contents_url":"https://api.github.com/repos/SnappyDataInc/snappy-spark/contents/{+path}","compare_url":"https://api.github.com/repos/SnappyDataInc/snappy-spark/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SnappyDataInc/snappy-spark/merges","archive_url":"https://api.github.com/repos/SnappyDataInc/snappy-spark/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SnappyDataInc/snappy-spark/downloads","issues_url":"https://api.github.com/repos/SnappyDataInc/snappy-spark/issues{/number}","pulls_url":"https://api.github.com/repos/SnappyDataInc/snappy-spark/pulls{/number}","milestones_url":"https://api.github.com/repos/SnappyDataInc/snappy-spark/milestones{/number}","notifications_url":"https://api.github.com/repos/SnappyDataInc/snappy-spark/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SnappyDataInc/snappy-spark/labels{/name}","releases_url":"https://api.github.com/repos/SnappyDataInc/snappy-spark/releases{/id}","deployments_url":"https://api.github.com/repos/SnappyDataInc/snappy-spark/deployments","created_at":"2015-03-25T23:34:11Z","updated_at":"2016-05-31T20:28:58Z","pushed_at":"2016-07-27T08:34:38Z","git_url":"git://github.com/SnappyDataInc/snappy-spark.git","ssh_url":"git@github.com:SnappyDataInc/snappy-spark.git","clone_url":"https://github.com/SnappyDataInc/snappy-spark.git","svn_url":"https://github.com/SnappyDataInc/snappy-spark","homepage":"","size":162889,"stargazers_count":6,"watchers_count":6,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":5,"forks":2,"open_issues":5,"watchers":6,"default_branch":"snappy/master"}},"_links":{"self":{"href":"https://api.github.com/repos/SnappyDataInc/snappy-spark/pulls/40"},"html":{"href":"https://github.com/SnappyDataInc/snappy-spark/pull/40"},"issue":{"href":"https://api.github.com/repos/SnappyDataInc/snappy-spark/issues/40"},"comments":{"href":"https://api.github.com/repos/SnappyDataInc/snappy-spark/issues/40/comments"},"review_comments":{"href":"https://api.github.com/repos/SnappyDataInc/snappy-spark/pulls/40/comments"},"review_comment":{"href":"https://api.github.com/repos/SnappyDataInc/snappy-spark/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/SnappyDataInc/snappy-spark/pulls/40/commits"},"statuses":{"href":"https://api.github.com/repos/SnappyDataInc/snappy-spark/statuses/36c4843794c6ac0fb9da5cb27b1757b09e9bdbf5"}}}}
{"actor":{"display_login":"sumwale"}}