Uploaded image for project: 'CloverETL'
  1. CloverETL
  2. CLO-1752

Add filename to log when UniversalDataReader fails

    Details

    • QA Testing:
      UNDECIDED

      Description

      I am reading 34 files using wildcards in File URL of UniversalDataReader. One of them fails on encoding issue but I have no idea which one (see error message below). Please add file name to the log message.

      2013-08-29 09:22:41,986 ERROR 4942 [WatchDog_4942] Component [UniversalDataReader:UNIVERSAL_DATA_READER] finished with status ERROR. (Out0: 64596 recs, Out1: 0 recs)
       Error when parsing record #699 field full_name
        MALFORMED[1] when converting from UTF-8
      2013-08-29 09:22:41,986 ERROR 4942 [WatchDog_4942] Error details:
      org.jetel.exception.JetelRuntimeException: Component [UniversalDataReader:UNIVERSAL_DATA_READER] finished with status ERROR. (Out0: 64596 recs, Out1: 0 recs)
      	at org.jetel.graph.Node.createNodeException(Node.java:553)
      	at org.jetel.graph.Node.run(Node.java:529)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      	at java.lang.Thread.run(Thread.java:724)
      Caused by: java.lang.RuntimeException: Error when parsing record #699 field full_name
      	at org.jetel.data.parser.DataParser.parseNext(DataParser.java:484)
      	at org.jetel.data.parser.DataParser.getNext(DataParser.java:184)
      	at org.jetel.util.MultiFileReader.getNext(MultiFileReader.java:432)
      	at org.jetel.component.DataReader.execute(DataReader.java:268)
      	at org.jetel.graph.Node.run(Node.java:498)
      	... 3 more
      Caused by: java.io.IOException: MALFORMED[1] when converting from UTF-8
      	at org.jetel.data.parser.DataParser.readChar(DataParser.java:637)
      	at org.jetel.data.parser.DataParser.parseNext(DataParser.java:398)
      	... 7 more
      
      2013-08-29 09:22:42,110 INFO  4942 [WatchDog_4942] Execution of phase [0] finished with error - elapsed time(sec): 2
      2013-08-29 09:22:42,110 ERROR 4942 [WatchDog_4942] !!! Phase finished with error - stopping graph run !!!
      2013-08-29 09:22:42,110 INFO  4942 [WatchDog_4942] -----------------------** Summary of Phases execution **---------------------
      2013-08-29 09:22:42,110 INFO  4942 [WatchDog_4942] Phase#            Finished Status         RunTime(sec)    MemoryAllocation(KB)
      2013-08-29 09:22:42,110 INFO  4942 [WatchDog_4942] 0                 ERROR                              2            150644
      2013-08-29 09:22:42,110 INFO  4942 [JobFinalizer_4942] Finalisation
      2013-08-29 09:22:42,111 INFO  4942 [WatchDog_4942] ------------------------------** End of Summary **---------------------------
      2013-08-29 09:22:42,111 INFO  4942 [WatchDog_4942] WatchDog thread finished - total execution time: 2 (sec)
      2013-08-29 09:22:42,116 INFO  4942 [JobFinalizer_4942] RunTime: 2 s
      2013-08-29 09:22:42,116 ERROR 4942 [JobFinalizer_4942] 
      -------------------------------------------------- Error details ---------------------------------------------------
        Component [UniversalDataReader:UNIVERSAL_DATA_READER] finished with status ERROR. (Out0: 64596 recs, Out1: 0 recs)
         Error when parsing record #699 field full_name
          MALFORMED[1] when converting from UTF-8
      --------------------------------------------------------------------------------------------------------------------
      2013-08-29 09:22:42,116 INFO  4942 [JobFinalizer_4942] Finished Status: ERROR
      

        Attachments

          Activity

            People

            • Assignee:
              krygielovam Magdalena Malysz (Inactive)
              Reporter:
              ulrychj Jan Ulrych (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: