Forgot include the info. about my OS - I tried this on Fedora Linux release
14 running on x86_64.


Kumar

Kumar Ravi



                                                                       
  From:       Kumar Ravi/Austin/IBM@IBMUS                              
                                                                       
  To:         [email protected]                                       
                                                                       
  Date:       05/22/2012 04:14 PM                                      
                                                                       
  Subject:    Re: xerces error running junit tests on Pig trunk        
                                                                       




Hi Daniel,

 Thanks for your reply. Actually I am seeing this problem using Sun JDK 1.6
too.  I am not sure if I need to add something to my classpath.

>From what I can tell, 135 test cases are failing with this exact same
issue.

Here's a subset of the list of failing testcases:

[junit] Test org.apache.pig.builtin.mock.TestMockStorage FAILED
    [junit] Test org.apache.pig.test.TestAccumulator FAILED
    [junit] Test org.apache.pig.test.TestAlgebraicEval FAILED
    [junit] Test org.apache.pig.test.TestAlgebraicEvalLocal FAILED
    [junit] Test org.apache.pig.test.TestAlgebraicInstantiation FAILED
    [junit] Test org.apache.pig.test.TestBZip FAILED
    [junit] Test org.apache.pig.test.TestBatchAliases FAILED
    [junit] Test org.apache.pig.test.TestBestFitCast FAILED
    [junit] Test org.apache.pig.test.TestBinaryExpressionOps FAILED
    [junit] Test org.apache.pig.test.TestBuiltin FAILED
    [junit] Test org.apache.pig.test.TestCharArrayToNumeric FAILED
    [junit] Test org.apache.pig.test.TestCollectedGroup FAILED
    [junit] Test org.apache.pig.test.TestCombiner FAILED
    [junit] Test org.apache.pig.test.TestCommit FAILED
    [junit] Test org.apache.pig.test.TestCompressedFiles FAILED
    [junit] Test org.apache.pig.test.TestCounters FAILED
    [junit] Test org.apache.pig.test.TestDataBagAccess FAILED
    [junit] Test org.apache.pig.test.TestEmptyInputDir FAILED
    [junit] Test org.apache.pig.test.TestEvalPipeline FAILED
    [junit] Test org.apache.pig.test.TestEvalPipeline2 FAILED
    [junit] Test org.apache.pig.test.TestEvalPipelineLocal FAILED
    [junit] Test org.apache.pig.test.TestExampleGenerator FAILED


Regards,
Kumar

Kumar Ravi


Inactive hide details for Daniel Dai ---05/22/2012 02:08:40 PM---Pig is not
well tested with JDK 1.7, I would not be surprised Daniel Dai ---05/22/2012
02:08:40 PM---Pig is not well tested with JDK 1.7, I would not be surprised
if some
                                                                       
                                                                       
       From:             Daniel Dai <[email protected]>            
                                                                       
                                                                       
       To:               [email protected]                            
                                                                       
                                                                       
       Date:             05/22/2012 02:08 PM                           
                                                                       
                                                                       
       Subject:          Re: xerces error running junit tests on Pig trunk
                                                                       




Pig is not well tested with JDK 1.7, I would not be surprised if some
tests fail under 1.7.

What OS do you use? Which unit test do you see error? I can take a
look when I get a chance.

Daniel

On Mon, May 21, 2012 at 3:29 PM, Kumar Ravi <[email protected]> wrote:
>
>
> I am seeing the following problem while running junit tests after
> succesfully building pig jar files with Sun JDK 1.7 on an x86_64 platform
> on the pig trunk build.
>
>
> ERROR conf.Configuration: Failed to set setXIncludeAware(true) for parser
>
org.apache.xerces.jaxp.DocumentBuilderFactoryImpl@5fd9398d:java.lang.UnsupportedOperationException:

>  setXIncludeAware is not supported on this JAXP implementation or
earlier:
> class org.apache.xerces.jaxp.DocumentBuilderFactoryImpl
> java.lang.UnsupportedOperationException:  setXIncludeAware is not
supported
> on this JAXP implementation or earlier: class
> org.apache.xerces.jaxp.DocumentBuilderFactoryImpl
>
> As a result I see a lot of test failures. Any ideas what I might be
setting
> up incorrectly?
>
> This problem is not seen building and running ant test with IBM JDK 7.0.
>
> I would appreciate any tips.
>
> Thanks,
> Kumar
>
>

Reply via email to