- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Historical Disk Usage Report - date format in excel/csv
- Labels:
-
Cloudera Manager
Created 06-14-2017 08:46 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello -
When I view the Historical Disk Usage report in CM for daily or weekly or monthly, the values displayed look like dates: 2017-02 or 2017-05-02.
However, when I download the report to excel or csv, the date column has values like: 1491020099000
Just wondering what that format is and how i can covert back to a date.
thanks
Created 06-15-2017 08:53 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi all ...
According to Cloudera support the date value
"...is an epoch timestamp includes milliseconds, which makes the the timestamp three digits longer than the date converter expects. You can either remove the last three characters using a substring function, or insert a period before the millisecond digits. Either of these commands will provide the correct timestamp for 1491020099000: date --date='@1491020099' date --date='@1491020099.000'"
So...if anyone else needs to know!
...douglas
Created 06-15-2017 08:53 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi all ...
According to Cloudera support the date value
"...is an epoch timestamp includes milliseconds, which makes the the timestamp three digits longer than the date converter expects. You can either remove the last three characters using a substring function, or insert a period before the millisecond digits. Either of these commands will provide the correct timestamp for 1491020099000: date --date='@1491020099' date --date='@1491020099.000'"
So...if anyone else needs to know!
...douglas
