Uploaded image for project: 'HPCC'
  1. HPCC
  2. HPCC-26454

The ecl command generates different output if '--poll' parameter used.

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 8.2.18
    • ecl command
    • None

    Description

      Steps to reproduce the problem:

      cd HPCC-Platform/testing/regress/ecl/setup/
      
      ecl run -t thor -v ./setupwordindex.ecl
      
      

      The output is:

      Using eclcc path /opt/HPCCSystems/bin/eclcc
      EXEC: Creating PIPE program process : '/opt/HPCCSystems/bin/eclcc -E "./setupwordindex.ecl"' - hasinput=0, hasoutput=1 stderrbufsize=0
      EXEC: Pipe: process 13352 complete 0Deploying ECL Archive ./setupwordindex.eclDeployed
         wuid: W20210831-120415
         state: compiledRunning deployed workunit W20210831-120415
      <Result>
      <Dataset name='Result 1'>
      </Dataset>
      <Dataset name='Result 2'>
      </Dataset>
      <Dataset name='Result 3'>
      </Dataset>
      <Dataset name='Result 4'>
      </Dataset>
      </Result>
      

      The command with '--poll' parameter:

      ecl run -t thor -v --poll ./setupwordindex.ecl
      

      The output is:

      Using eclcc path /opt/HPCCSystems/bin/eclcc
      EXEC: Creating PIPE program process : '/opt/HPCCSystems/bin/eclcc -E "./setupwordindex.ecl"' - hasinput=0, hasoutput=1 stderrbufsize=0
      EXEC: Pipe: process 16184 complete 0Deploying ECL Archive ./setupwordindex.eclDeployed
         wuid: W20210831-120707
         state: compiledRunning deployed workunit W20210831-120707
      Polling for completion...
      Getting Workunit Information
      Getting Results
      <Result>
      <Dataset name='Result 1'>
       <Row><kind>1</kind><word>a                   </word><doc>281474976710657</doc><segment>0</segment><wpos>10</wpos><wip>1</wip><flags>1</flags><original>a                   </original><dpos>40</dpos></Row>
       <Row><kind>1</kind><word>a                   </word><doc>281474976710658</doc><segment>0</segment><wpos>7</wpos><wip>1</wip><flags>1</flags><original>a                   </original><dpos>41</dpos></Row>
       <Row><kind>1</kind><word>a                   </word><doc>281474976710658</doc><segment>0</segment><wpos>10</wpos><wip>1</wip><flags>1</flags><original>a                   </original><dpos>58</dpos></Row>
      
      ... (truncated) 
      
       <Row><kind>1</kind><word>does                </word><doc>1125899906842627</doc><segment>0</segment><wpos>15</wpos><wip>1</wip><extra>72</extra><flags>1</flags><original>does                </original><dpos>72</dpos></Row>
      </Dataset>
      </Result>

      The 3 extra message lines:

      Polling for completion... 
      Getting Workunit Information 
      Getting Results 

      are not a problem. The Regression Test Engine can filter them out easily, but the content between <Result> and </Result> is much different than the expected result (according to related key file). 

      Attachments

        Activity

          People

            attilavamos Attila Vamos
            attilavamos Attila Vamos
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: