Uploaded image for project: 'Pig'
  1. Pig
  2. PIG-4481

e2e tests ComputeSpec_1, ComputeSpec_2 and StreamingPerformance_3 produce different result on Windows

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Pending Closed
    • Affects Version/s: None
    • Fix Version/s: 0.15.0
    • Component/s: e2e harness
    • Labels:
    • Hadoop Flags:
      Reviewed

      Description

      ComputeSpec_1, ComputeSpec_2 and StreamingPerformance_3 produce the wrong result on Windows. Since Pig compare the test result with old version of Pig, which also produce wrong result, the test still pass.

      The cause of the issue is the parameter passing under Windows. Some parameter of executable cannot pass correctly on Windows. StreamingPerformance_3 requires a simple quoting change and command line change. However, I didn't find a proper way to fix ComputeSpec_1 and ComputeSpec_2 as FS and OFS parameters could not be passed correctly to awk. Changing the test slightly to get around (not changing the intention of the test).

        Attachments

        1. PIG-4481-1.patch
          2 kB
          Jianyong Dai
        2. PIG-4481-2.patch
          3 kB
          Jianyong Dai
        3. PIG-4481-3.patch
          3 kB
          Jianyong Dai
        4. PIG-4481-4.patch
          2 kB
          Jianyong Dai
        5. PIG-4481-5.patch
          3 kB
          Jianyong Dai
        6. PIG-4481-6.patch
          3 kB
          Jianyong Dai

          Activity

            People

            • Assignee:
              daijy Jianyong Dai
              Reporter:
              daijy Jianyong Dai
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: