Customer Portal

RunGraph component problem

Comments 6

  • Avatar
    avackova
    0
    Comment actions Permalink
    Hello,
    the reason of the failure must be in the log file (runAllGraps.log). Do the graphs execute successfully if you run them alone?
  • Avatar
    evergreen
    0
    Comment actions Permalink
    Yeah avackova the graphs run successfully if I run them individually.
    Can you suggest me
  • Avatar
    avackova
    0
    Comment actions Permalink
    What is in runAllGraps.log and allGraphs.txt? One of thees files has to contain the error.
  • Avatar
    evergreen
    0
    Comment actions Permalink
    Hi avackova

    Your suggestions were helpful to fix my problem.Thanks very much for the help.
    The file from where I was reading the multiple graphs need to be formatted.

    There was no delimiter between the graphNames.
    I included a semicolon as the delimiter.The graph ran successfully.
  • Avatar
    mkansal
    0
    Comment actions Permalink
    Hello there,

    Could you please let me know how to format the example_etl_process.txt file? I tried to add the file names as ${GRAPH_DIR}/test2/eig_import_match_candidate_parameter_test.grf;

    However, it throws the following exception. Also, if I need to pass parameters to the listed graphs, can I use the same text file to pass those? If so, what should be the format of the text file?

    2011-08-08 14:33:45,491 ERROR 21562 [WatchDog] Node DATA_READER0 finished with status: ERROR caused by: Parsing error: Unexpected end of file in field # 1 of record # 1, value: 'SimpleDataParser does not provide raw record.'
    2011-08-08 14:33:45,491 ERROR 21562 [WatchDog] Node DATA_READER0 error details:
    org.jetel.exception.BadDataFormatException: Parsing error: Unexpected end of file in field # 1 of record # 1, value: 'SimpleDataParser does not provide raw record.'
    at org.jetel.data.parser.SimpleDataParser.parsingErrorFound(SimpleDataParser.java:407)

    Thanks!
  • Avatar
    avackova
    0
    Comment actions Permalink
    Hello,
    if you have only graph names in the input file, the metadata should not have defaultFieldDelimiter and EOL as record delimiter:OnlyGraph.png If you want to pass the parameters also, you need to add one more field:GraphAndParameters.png In such case, your input file should look as follows:
    test1.grf|-P:my_param=my_value -P:another_param=value1
    test2.grf|-P:my_param=my_value2 -P:another_param=value2

Please sign in to leave a comment.