This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| hbase hbck 'automotive:devicesync' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| val finalMegaJoinAgendaCount = finalMegaJoin | |
| .filter { | |
| case ((cr, tv, ce, wod, rs, teb), ag) => ag.data.isEqual(dt) | |
| } | |
| .count() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| private def phonixDeleteAgenda(agendaKeys: RDD[(Option[Product], Product)]) = ??? | |
| private def phonixDeleteDiscard(discardKeys: RDD[Product]) = ??? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| agenda | |
| .map { a => | |
| // key extraction | |
| val k1 = a._1.map(extractKey(_)) | |
| val k2 = extractKey(a._2) | |
| (k1, k2) | |
| } | |
| .saveAsTextFile(consistencyPath.toUri.getPath) |