[scala] cluster examples