Pig
  1. Pig
  2. PIG-3739

The Warning_4 e2e test is broken in trunk

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.13.0
    • Component/s: None
    • Labels:
      None

      Description

      This is a regression of PIG-2207.

      The Warning_4 e2e test fails because expected warning messages are not printed to stderr. I confirmed that the following lines are present w/o PIG-2207, whereas they are not w/ PIG-2207.

      2014-02-02 04:48:11,211 [main] WARN  org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.MapReduceLauncher - Encountered Warning UDF_WARNING_3 10989 time(s).
      2014-02-02 04:48:11,211 [main] WARN  org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.MapReduceLauncher - Encountered Warning UDF_WARNING_4 22 time(s).
      

      Here is the test query-

      register ./lib/java/testudf.jar;
      a = load '/user/pig/tests/data/singlefile/studentnulltab10k' as (name, age: int, gpa: float);
      b = foreach a generate org.apache.pig.test.udf.evalfunc.TestWarningFunc(name, age, gpa);
      store b into '/user/pig/out/cheolsoop-1391202001-cmdline.conf-Warning/Warning_4.out';
      
      1. PIG-3739-4.patch
        8 kB
        Aniket Mokashi
      2. PIG-3739-1.patch
        1 kB
        Aniket Mokashi

        Issue Links

          Activity

          Cheolsoo Park created issue -
          Cheolsoo Park made changes -
          Field Original Value New Value
          Link This issue is broken by PIG-2207 [ PIG-2207 ]
          Aniket Mokashi made changes -
          Assignee Aniket Mokashi [ aniket486 ]
          Daniel Dai made changes -
          Link This issue is broken by PIG-3679 [ PIG-3679 ]
          Aniket Mokashi made changes -
          Attachment PIG-3739-4.patch [ 12647730 ]
          Aniket Mokashi made changes -
          Attachment PIG-3739-1.patch [ 12647732 ]
          Aniket Mokashi made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Aniket Mokashi made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Daniel Dai made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

            • Assignee:
              Aniket Mokashi
              Reporter:
              Cheolsoo Park
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development