摘要: 【数据倾斜出现的原因】 并行计算中,我们总希望分配的每一个任务(task)都能以相似的粒度来切分,且完成时间相差不大。但是由于集群中的硬件和应用的类型不同、切分的数据大小不一,总会导致部分任务极大地拖慢了整个任务的完成时间,数据倾斜原因如下: 业务数据本身的特性 Key分布不均匀 建表时考虑不周 某 阅读全文
posted @ 2016-05-27 16:11 Black_Knight 阅读(273) 评论(0) 推荐(0) 编辑
摘要: A robot is located at the top-left corner of a m x n grid (marked 'Start' in the diagram below). The robot can only move either down or right at any p 阅读全文
posted @ 2016-05-27 10:42 Black_Knight 阅读(201) 评论(0) 推荐(0) 编辑