DWS管控面之常规排查方法
一、DWS管控面查看traceId
在dws console中,按F12,在network标签下找对应请求,从headers列表中查找traceid
二、DWS controller日志查看方式
登录CDK master节点
执行以下命令列出dwscontroller容器列表。
kubectl get pods -n dws
进入DWS controller容器
kubectl exec -ti dwscontroller-xxx -n dws bash
进入容器中,默认在logs目录下,查看ossres-dws.log, 搜索日志。
三、DWS task失败日志查看方式
Select task.* from taskmgr_task as task left outer join taskmgr_job as job on job.job_id = task.job_id where job.request like '%{clusterName}%' order by job_id, task_index asc;
从失败行中找到对应JobId,在controller日志中搜该jobid
四、DWS 查看失败快照JobId
Select job_id,begin_time,job_def_name from taskmgr_job where job_def_name like 'ºckup%' order by Begin_time desc limit 5;
在controller日志中搜该jobid
cat ossres-dws.log | grep jobid | grep ERROR
- 点赞
- 收藏
- 关注作者
评论(0)