Issue 11200

Improve directory and final file name

11200
Reporter: omeyn
Assignee: omeyn
Type: Task
Summary: Improve directory and final file name
Description: Currently the created dir and final file are the full oozie job id which is ugly. Maybe something like gbif-occurrence-download-####-###### where the numbers are the first part of the jobid (enough to uniquely identify it).
Priority: Major
Resolution: Fixed
Status: Closed
Created: 2012-05-18 10:16:13.188
Updated: 2013-12-17 15:17:06.704
Resolved: 2012-05-24 15:58:09.952


Author: omeyn@gbif.org
Comment: Changed dir and file to be gbif-occurrence-download-<timestamp>
Created: 2012-05-24 14:12:16.518
Updated: 2012-05-24 14:12:16.518


Author: lfrancke@gbif.org
Comment: Should we not at least introduce another random number or the hash of the job id? If we're really unlucky there could be two jobs at the same time.
Created: 2012-05-24 14:16:04.882
Updated: 2012-05-24 14:16:04.882


Author: omeyn@gbif.org
Comment: This needs another look - Lars is right, timestamp by itself is dumb.
Created: 2012-05-24 15:37:05.216
Updated: 2012-05-24 15:37:05.216


Author: omeyn@gbif.org
Comment: Now uses gbif-occurrence-download-####-##### where the two numbers are the first parts of the oozie jobId - as originally intended.
Created: 2012-05-24 15:58:09.985
Updated: 2012-05-24 15:58:09.985