Uploaded image for project: 'YADE - Yet Another Data Exchange Tool'
  1. YADE - Yet Another Data Exchange Tool
  2. YADE-239

YADE should not raise an error "File Not Found" when file_compress=true for use with jump hosts

    XMLWordPrintable

Details

    • Fix
    • Status: Released (View Workflow)
    • Major
    • Resolution: Fixed
    • 1.7.4, 1.8
    • 1.7.5, 1.8.1, 1.9
    • YADE Client
    • Galadriel.sos / UK.sos-berlin.com / Japan.sos-berlin.com

    Description

      • If user specifies a YADE profile i.e.
        file_spec        = ^.*_22.01.2015\.xls$
        compress_files  = true 
        

        for a matching file group YADE does following

        1. Find the correct file and compress it with default compressed file extension .gz i.e. SOS-100_22.01.2015.xls --> SOS-100_22.01.2015.xls.gz
        2. Transfer SOS-100_22.01.2015.xls.gz to jumphost temporary directory
        3. BUT when YADE starts the transfer from jumphost to target_host, YADE looks for original files i.e. SOS-100_22.01.2015.xls matching with file_spec=^.*_22.01.2015\.xls$, but since there is no file SOS-100_22.01.2015.xls but compressed file SOS-100_22.01.2015.xls.gz, YADE throws error
      • Error
        SOSJADE_E_0100: No filename found which match the criteria as specified using the regular expression '^.*_22.01.2015.xls$'
        SOSJADE_E_0100: No filename found which match the criteria as specified using the regular expression '^.*_22.01.2015.xls$' (SOSJADE_E_0100: No filename found which match the criteria as specified using the regular expression '^.*_22.01.2015.xls$')
        
      • How to reproduce
        • user YADE CLI on Galadriel.sos
          YADE CLI

          /home/sos/sos-berlin.com/jade_client/jade_rc/bin/jade4dmz.sh -settings=/home/sos/sos-berlin.com/jade_client/jade_rc/config/jade_settings_compress_jumphost_compress_file.ini -profile=from_Galadriel_to_Japan_via_UK

      Attachments

        Issue Links

          Activity

            People

              oh Oliver Haufe
              mp Mahendra Patidar
              Mahendra Patidar Mahendra Patidar
              Mahendra Patidar Mahendra Patidar
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 4 hours
                  4h