Bug #81

File names may exceed the filesystem limit

Added by Alejandro Lorca over 1 year ago. Updated over 1 year ago.

Status:Resolved Start date:2010-11-25
Priority:High Due date:
Assignee:Alejandro Lorca % Done:

0%

Category:-
Target version:1.1

Description

The default behaviour builds the tag combination (line 725):
my $tag_combination = "${job_template_prefix}${jt_id}${jt_id_to_arg_separation}${worker_basename}${jt_id_to_arg_separation}${file_arg}";
to form the following file names:
  • Job template: "${tag_combination}${job_template_suffix}"
  • Standard output: "${tag_combination}.out"
  • Standard error: "${tag_combination}.err"

If the arguments are long enough or just too many, the usual limit in ext2,ext3,ext4 filesystems can be exceeded turning into an error.

History

Updated by Alejandro Lorca over 1 year ago

  • Status changed from New to Resolved
  • Assignee set to Alejandro Lorca
  • Priority changed from Normal to High

The default file naming for templates, stdout and stderr can be shortened with the following patch (line 725).

-  my $tag_combination = "${job_template_prefix}${jt_id}${jt_id_to_arg_separation}${worker_basename}${jt_id_to_arg_separation}${file_arg}";
+  my $tag_combination = $shorttag_combination;

which is result after executing the sed instruction

sed 725d -i gw_job_template_manager
sed "725i\ \ my \$tag_combination = \$shorttag_combination;" -i gw_job_template_manager

Updated by Alejandro Lorca over 1 year ago

  • Target version set to 1.1
  • Start date changed from 2010-11-23 to 2010-11-25

A proper configuration option is required to let the user modify the naming convention and use short tags. It will be also useful to be able to rename the extensions of standard output and error files with equivalent options to job_template_suffix.

Also available in: Atom PDF