{"action":"opened","issue":{"url":"https://api.github.com/repos/wangtuntun/keep/issues/6","repository_url":"https://api.github.com/repos/wangtuntun/keep","labels_url":"https://api.github.com/repos/wangtuntun/keep/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/wangtuntun/keep/issues/6/comments","events_url":"https://api.github.com/repos/wangtuntun/keep/issues/6/events","html_url":"https://github.com/wangtuntun/keep/issues/6","id":155249891,"number":6,"title":"动态生成一个数组","user":{"login":"wangtuntun","id":7301298,"avatar_url":"https://avatars.githubusercontent.com/u/7301298?v=3","gravatar_id":"","url":"https://api.github.com/users/wangtuntun","html_url":"https://github.com/wangtuntun","followers_url":"https://api.github.com/users/wangtuntun/followers","following_url":"https://api.github.com/users/wangtuntun/following{/other_user}","gists_url":"https://api.github.com/users/wangtuntun/gists{/gist_id}","starred_url":"https://api.github.com/users/wangtuntun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wangtuntun/subscriptions","organizations_url":"https://api.github.com/users/wangtuntun/orgs","repos_url":"https://api.github.com/users/wangtuntun/repos","events_url":"https://api.github.com/users/wangtuntun/events{/privacy}","received_events_url":"https://api.github.com/users/wangtuntun/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-17T12:43:41Z","updated_at":"2016-05-17T12:43:41Z","closed_at":null,"body":"val startDate = new DateTime(2015,9,1,0,0)\r\nval  fmt = DateTimeFormat.forPattern(\"YYYYMMdd\")\r\nval dateRange = (0 to 59).map(x=>fmt.print(startDate.plusDays(x))).toArray\r\nval dr = sc.broadcast(dateRange)\r\nval submit_layout_data = sc.parallelize(artistId_averageTimes_rdd.map(_.split(\",\")).flatMap(aar=>dateRange.map(date=>aar(0)+\",\"+date+\",\"+aar(1))))\r\n"}}