Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Pig >> mail # dev >> xerces error running junit tests on Pig trunk


Copy link to this message
-
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
>
>