Commit cb5d3bfb428c74b572bcf268fa341cc5574801e8

Authored by Joanne ago
1 parent b06928f4c1
Exists in master

doi

Showing 1 changed file with 2 additions and 2 deletions Side-by-side Diff

app/com/piki_ds/ver1/QualityScore.scala View file @ cb5d3bf
... ... @@ -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   -
  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","")