So, finally, I have got this working. The issue was because of a poor library which was using xerces 2.6 :).
In this process, I found few things missing from the doc would like to contribute the same. I really appreciate the support provided. Thanks, On Tue, 19 Jun 2018 at 4:05 PM, Ted Yu <yuzhih...@gmail.com> wrote: > Since you're using a vendor's distro, I would suggest asking on their user > forum. > > Cheers > > -------- Original message -------- > From: Garvit Sharma <garvit...@gmail.com> > Date: 6/19/18 3:34 AM (GMT-08:00) > To: trohrm...@apache.org > Cc: Amit Jain <aj201...@gmail.com>, Chesnay Schepler <ches...@apache.org>, > Ted Yu <yuzhih...@gmail.com>, user@flink.apache.org > Subject: Re: Exception while submitting jobs through Yarn > > Any help on this? > > On Mon, Jun 18, 2018 at 11:31 PM Garvit Sharma <garvit...@gmail.com> > wrote: > >> Yes, it is. >> >> On Mon, Jun 18, 2018 at 7:54 PM Till Rohrmann <trohrm...@apache.org> >> wrote: >> >>> Is `/usr/hdp/2.6.3.0-235/hadoop/client/xercesImpl.jar` a link to ` >>> /usr/hdp/2.6.3.0-235/hadoop/client/xercesImpl-2.9.1.jar`? >>> >>> On Mon, Jun 18, 2018 at 4:02 PM Garvit Sharma <garvit...@gmail.com> >>> wrote: >>> >>>> I don't think I can access core-default as it comes with Hadoop jar >>>> >>>> On Mon, 18 Jun 2018 at 7:30 PM, Till Rohrmann <trohrm...@apache.org> >>>> wrote: >>>> >>>>> Hmm, could you check whether core-default.xml contains any suspicious >>>>> entries? Apparently xerces:2.9.1 cannot read it. >>>>> >>>>> On Mon, Jun 18, 2018 at 3:40 PM Garvit Sharma <garvit...@gmail.com> >>>>> wrote: >>>>> >>>>>> Hi, >>>>>> >>>>>> After putting the following log in my code, I can see that the Xerces >>>>>> version is - Xerces version : Xerces-J 2.9.1 >>>>>> >>>>>> log.info("Xerces version : {}", >>>>>> org.apache.xerces.impl.Version.getVersion()); >>>>>> >>>>>> Also, following is the response of *$* *locate xerces* command on >>>>>> the server - >>>>>> >>>>>> >>>>>> /usr/hdp/2.6.1.0-129/falcon/client/lib/xercesImpl-2.10.0.jar >>>>>> >>>>>> /usr/hdp/2.6.1.0-129/hadoop/client/xercesImpl-2.9.1.jar >>>>>> >>>>>> /usr/hdp/2.6.1.0-129/hadoop/client/xercesImpl.jar >>>>>> >>>>>> /usr/hdp/2.6.1.0-129/hadoop-hdfs/lib/xercesImpl-2.9.1.jar >>>>>> >>>>>> /usr/hdp/2.6.1.0-129/hbase/lib/xercesImpl-2.9.1.jar >>>>>> >>>>>> >>>>>> /usr/hdp/2.6.1.0-129/hive-hcatalog/share/webhcat/svr/lib/xercesImpl-2.9.1.jar >>>>>> >>>>>> /usr/hdp/2.6.1.0-129/livy/jars/xercesImpl-2.9.1.jar >>>>>> >>>>>> /usr/hdp/2.6.1.0-129/livy2/jars/xercesImpl-2.9.1.jar >>>>>> >>>>>> /usr/hdp/2.6.1.0-129/oozie/lib/xercesImpl-2.10.0.jar >>>>>> >>>>>> /usr/hdp/2.6.1.0-129/oozie/libserver/xercesImpl-2.10.0.jar >>>>>> >>>>>> /usr/hdp/2.6.1.0-129/oozie/libtools/xercesImpl-2.10.0.jar >>>>>> >>>>>> /usr/hdp/2.6.1.0-129/slider/lib/xercesImpl-2.9.1.jar >>>>>> >>>>>> /usr/hdp/2.6.1.0-129/spark2/jars/xercesImpl-2.9.1.jar >>>>>> >>>>>> >>>>>> /usr/hdp/2.6.1.0-129/storm/contrib/storm-autocreds/xercesImpl-2.9.1.jar >>>>>> >>>>>> /usr/hdp/2.6.1.0-129/zookeeper/lib/xercesMinimal-1.9.6.2.jar >>>>>> >>>>>> /usr/hdp/2.6.3.0-235/falcon/client/lib/xercesImpl-2.10.0.jar >>>>>> >>>>>> /usr/hdp/2.6.3.0-235/hadoop/client/xercesImpl-2.9.1.jar >>>>>> >>>>>> /usr/hdp/2.6.3.0-235/hadoop/client/xercesImpl.jar >>>>>> >>>>>> /usr/hdp/2.6.3.0-235/hadoop-hdfs/lib/xercesImpl-2.9.1.jar >>>>>> >>>>>> /usr/hdp/2.6.3.0-235/hbase/lib/xercesImpl-2.9.1.jar >>>>>> >>>>>> >>>>>> /usr/hdp/2.6.3.0-235/hive-hcatalog/share/webhcat/svr/lib/xercesImpl-2.9.1.jar >>>>>> >>>>>> /usr/hdp/2.6.3.0-235/livy/jars/xercesImpl-2.9.1.jar >>>>>> >>>>>> /usr/hdp/2.6.3.0-235/livy2/jars/xercesImpl-2.9.1.jar >>>>>> >>>>>> /usr/hdp/2.6.3.0-235/oozie/lib/xercesImpl-2.10.0.jar >>>>>> >>>>>>