Commit b356b95668d6af0a3600a49ec0fae69663c47ea8
1 parent
7393595ae8
Exists in
master
back to normal quality
Showing 1 changed file with 2 additions and 2 deletions Side-by-side Diff
app/com/piki_ds/ver1/QualityScore.scala
View file @
b356b95
... | ... | @@ -66,8 +66,8 @@ |
66 | 66 | |
67 | 67 | def main(args: Array[String]) { |
68 | 68 | val nowTS: Long = System.currentTimeMillis |
69 | - //val doi = getDateKey(nowTS) | |
70 | - val doi = "20160508" | |
69 | + val doi = getDateKey(nowTS) | |
70 | + //val doi = "20160508" | |
71 | 71 | val content: RDD[(Int, Int)] = scoreLoad(sc,doi,"content","all") |
72 | 72 | val comment: RDD[(Int, Int)] = scoreLoad(sc,doi,"comment","").groupByKey().map(x=>(x._1,0)) |
73 | 73 | val editor: RDD[(Int, Int)] = scoreLoad(sc,doi,"editor","") |