hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "shenyinjie (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (MAPREDUCE-6716) Shell command "mapred job -list" show wrong time format
Date Fri, 17 Jun 2016 08:06:05 GMT

     [ https://issues.apache.org/jira/browse/MAPREDUCE-6716?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

shenyinjie updated MAPREDUCE-6716:
----------------------------------
    Affects Version/s: 2.8.0

> 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"  ,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(),...



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: mapreduce-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: mapreduce-issues-help@hadoop.apache.org


Mime
View raw message