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

YADE jump host transfer should work for file names that contain Umlaut ö,ü,ä

    XMLWordPrintable

Details

    • Fix
    • Status: Released (View Workflow)
    • Blocker
    • 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

      • user want to transfer three files , all contains Umlauts ä,ö,ü in the file names
        1. SOS München_26_01.2015.xls
        2. SOS Zürich_26_01.2015.xls
        3. SOS Klön_26_01.2015.xls
        • YADE does transfer all three files to the jumphost
        • 
          5335 [main] INFO com.sos.DataExchange.SOSDataExchangeEngine  - 3 files found for regexp '^.*_26.01.2015\.xls$'.
          5335 [main] INFO com.sos.VirtualFileSystem.DataElements.SOSFileListEntry  - SOSVfs_I_0108: Übertragung von /home/test/data/from_homer/SOS München_26_01.2015.xls gestartet
          5431 [main] INFO com.sos.VirtualFileSystem.DataElements.SOSFileListEntry  - SOSVfs_I_274: Security hash (MD5) der Datei SOS München_26_01.2015.xls ist 92d1347c30526cca78d73e0418b9f53c
          5431 [main] INFO com.sos.VirtualFileSystem.DataElements.SOSFileListEntry  - SOSVfs_I_0108: Übertragung von /home/test/data/from_homer/SOS Klön_26_01.2015.xls gestartet
          5529 [main] INFO com.sos.VirtualFileSystem.DataElements.SOSFileListEntry  - SOSVfs_I_274: Security hash (MD5) der Datei SOS Klön_26_01.2015.xls ist 92d1347c30526cca78d73e0418b9f53c
          5529 [main] INFO com.sos.VirtualFileSystem.DataElements.SOSFileListEntry  - SOSVfs_I_0108: Übertragung von /home/test/data/from_homer/SOS Zürich_26_01.2015.xls gestartet
          5623 [main] INFO com.sos.VirtualFileSystem.DataElements.SOSFileListEntry  - SOSVfs_I_274: Security hash (MD5) der Datei SOS Zürich_26_01.2015.xls ist 92d1347c30526cca78d73e0418b9f53c
          5670 [main] INFO com.sos.VirtualFileSystem.SFTP.SOSVfsSFtpJCraft  - (london@uk.sos-berlin.com:22) SOSVfs_I_189: ...Antwort des Servers [rename] von ['/tmp/jade-2dc1ee30-875d-4f83-ba2b-13bdedc0a623/SOS München_26_01.2015.xls~'] nach ['/tmp/jade-2dc1ee30-875d-4f83-ba2b-13bdedc0a623/SOS München_26_01.2015.xls'] : /tmp/jade-2dc1ee30-875d-4f83-ba2b-13bdedc0a623/SOS München_26_01.2015.xls
          5713 [main] INFO com.sos.VirtualFileSystem.SFTP.SOSVfsSFtpJCraft  - (london@uk.sos-berlin.com:22) SOSVfs_I_189: ...Antwort des Servers [rename] von ['/tmp/jade-2dc1ee30-875d-4f83-ba2b-13bdedc0a623/SOS Klön_26_01.2015.xls~'] nach ['/tmp/jade-2dc1ee30-875d-4f83-ba2b-13bdedc0a623/SOS Klön_26_01.2015.xls'] : /tmp/jade-2dc1ee30-875d-4f83-ba2b-13bdedc0a623/SOS Klön_26_01.2015.xls
          5760 [main] INFO com.sos.VirtualFileSystem.SFTP.SOSVfsSFtpJCraft  - (london@uk.sos-berlin.com:22) SOSVfs_I_189: ...Antwort des Servers [rename] von ['/tmp/jade-2dc1ee30-875d-4f83-ba2b-13bdedc0a623/SOS Zürich_26_01.2015.xls~'] nach ['/tmp/jade-2dc1ee30-875d-4f83-ba2b-13bdedc0a623/SOS Zürich_26_01.2015.xls'] : /tmp/jade-2dc1ee30-875d-4f83-ba2b-13bdedc0a623/SOS Zürich_26_01.2015.xls
          5761 [main] INFO JadeReportLog.SOSVfsReportLog  - SOSVfs_D_213: Transfer-Operation 'copy' gestartet bei 20150127102024, beendet bei 20150127102026. Dauer: 2000
          5761 [main] INFO JadeReportLog.SOSVfsReportLog  - SOSVfs_D_214: Operation = copy, Ziel-Dateiname = /tmp/jade-2dc1ee30-875d-4f83-ba2b-13bdedc0a623/SOS München_26_01.2015.xls, QuellDateiName = /home/test/data/from_homer/SOS München_26_01.2015.xls, Bytes übertragen = 344
          5761 [main] INFO JadeReportLog.SOSVfsReportLog  - SOSVfs_D_214: Operation = copy, Ziel-Dateiname = /tmp/jade-2dc1ee30-875d-4f83-ba2b-13bdedc0a623/SOS Klön_26_01.2015.xls, QuellDateiName = /home/test/data/from_homer/SOS Klön_26_01.2015.xls, Bytes übertragen = 344
          5761 [main] INFO JadeReportLog.SOSVfsReportLog  - SOSVfs_D_214: Operation = copy, Ziel-Dateiname = /tmp/jade-2dc1ee30-875d-4f83-ba2b-13bdedc0a623/SOS Zürich_26_01.2015.xls, QuellDateiName = /home/test/data/from_homer/SOS Zürich_26_01.2015.xls, Bytes übertragen = 344
          5762 [main] INFO JadeReportLog  - SOSJADE_I_0101: Es wurden 3 Dateien übertragen
          5762 [main] INFO com.sos.DataExchange.SOSDataExchangeEngine  - Elapsed time = 2074, per File = 691, total bytes = 3
          5765 [main] INFO JadeReportLog  -
          *************************************************************************
           Ausführungsstatus     = Ohne Fehler.
           Erfolgreiche Übertragungen = 3
           Fehlgeschlagene Übertragungen     = 0
           letzter aufgetretener Fehler           =
          *************************************************************************
          
        • But as soon as trasnfer from jumphost to target starts, JADE throws error
        • file regExp          = ^.*_26.01.2015.xls$
          file path            =
          source host          = ?source_host?
          source directory     = /tmp/jade-2dc1ee30-875d-4f83-ba2b-13bdedc0a623
          target host          = japan.sos-berlin.com
          target directory     = /home/tokyo/data/to_tokyo
          ErrorWhenNoData  = true
          
          822 [main] INFO com.sos.DataExchange.SOSDataExchangeEngine  - 3 files found for regexp '^.*_26.01.2015.xls$'.
          825 [main] INFO com.sos.VirtualFileSystem.DataElements.SOSFileListEntry  - SOSVfs_I_0108: transfer of /tmp/jade-2dc1ee30-875d-4f83-ba2b-13bdedc0a623/SOS Kl??n_26_01.2015.xls started
          826 [main] ERROR com.sos.VirtualFileSystem.DataElements.SOSFileListEntry  - SOSVfs_E_229: error. unable to transfer data, reason: com.sos.JSHelper.Exceptions.JobSchedulerException: SOSVfs_E_226: .. file '/tmp/jade-2dc1ee30-875d-4f83-ba2b-13bdedc0a623/SOS Kl??n_26_01.2015.xls' does not exist.
          828 [main] ERROR com.sos.DataExchange.SOSDataExchangeEngine  - SOSDataExchangeEngine.TRANSACTION_ABORTED
          com.sos.JSHelper.Exceptions.JobSchedulerException: SOSVfs_E_229: error. unable to transfer data, reason: com.sos.JSHelper.Exceptions.JobSchedulerException: SOSVfs_E_226: .. file '/tmp/jade-2dc1ee30-875d-4f83-ba2b-13bdedc0a623/SOS Kl??n_26_01.2015.xls' does not exist.
                  at com.sos.VirtualFileSystem.DataElements.SOSFileListEntry.run(SOSFileListEntry.java:998)
                  at com.sos.DataExchange.SOSDataExchangeEngine.sendFiles(SOSDataExchangeEngine.java:738)
                  at com.sos.DataExchange.SOSDataExchangeEngine.transfer(SOSDataExchangeEngine.java:920)
                  at com.sos.DataExchange.SOSDataExchangeEngine.Execute(SOSDataExchangeEngine.java:292)
                  at com.sos.DataExchange.SOSDataExchangeEngineMain.Execute(SOSDataExchangeEngineMain.java:96)
                  at com.sos.DataExchange.SOSDataExchangeEngineMain.main(SOSDataExchangeEngineMain.java:56)
          831 [main] INFO JadeReportLog  - SOSDataExchangeEngine.TRANSACTION_ABORTED
          832 [main] INFO com.sos.VirtualFileSystem.DataElements.SOSFileList  - SOSVfs_I_211: Rollback initiated.
          
          
      • How to reproduce
        • user YADE CLI on Galadriel.sos
          YADE Command line execution

          /home/sos/sos-berlin.com/jade_client/jade_current/bin/jade4dmz.sh -settings="/home/sos/sos-berlin.com/jade_client/config/3000_jade_settings_src_jumphost_trg_copytointernet_umlaut.ini" -profile="from_homer_toJapan_controlGaladriel_dmz_UK"

      Attachments

        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 - 1 day
                1d