[
https://issues.apache.org/jira/browse/MAPREDUCE-6716?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
shenyinjie updated MAPREDUCE-6716:
----------------------------------
Description:
when client excute shell "mapred job -list",
the result shows " job's startTime" is a long type,which is not user-friendly
to end-user.
was:
when client excute shell "mapred job -list",
the result shows " job's startTime" ,but it is a long type:
Total jobs:1
JobId State StartTime
UserName Queue Priority UsedContainers RsvdContainers
UsedMem RsvdMem NeededMem AM info
job_1466130676071_0003 PREP 1466133828870 hdfs
default VERY_HIGH 1 0 1536M
0M 1536M
http://shenyj.bchadoop.novalocal:8088/proxy/application_1466130676071_0003/
refer to source code, found that "job.getStartTime()" is long type, and should
be converted to date format。
...writer.printf(dataPattern, job.getJobID().toString(), job.getState(),
job.getStartTime(),...
> Shell command "mapred job -list" show wrong time format
> --------------------------------------------------------
>
> Key: MAPREDUCE-6716
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-6716
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: client
> Affects Versions: 2.6.0, 2.8.0
> Environment: centos6.5 x64
> hadoop 2.6.0 /hadoop2.8.0
> Reporter: shenyinjie
> Priority: Minor
> Fix For: 2.8.0
>
> Attachments: MAPREDUCE-6716.patch, MAPREDUCE-6716_trunk.patch
>
>
> when client excute shell "mapred job -list",
> the result shows " job's startTime" is a long type,which is not
> user-friendly to end-user.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]