Check the permission and validate if jar is not corrupted. Apart from that you can put this jar inside in hive lib directory, that will be automatically read by hive.
Thanks Vikas Srivastava On Jul 2, 2014 9:21 AM, <shouvanik.hal...@accenture.com> wrote: > Hi, > > Cannot add a jar to hive classpath. > > Once I launch HIVE, I type -> ADD JAR hdfs://10.37.83.117 > :9000/user/ipg_intg_user/AP/scripts/lib/wsaUtils.jar; > > > > I get the error, > > Failed to read external resource hdfs://10.37.83.117 > :9000/user/ipg_intg_user/AP/scripts/lib/wsaUtils.jar > > Query returned non-zero code: 1, cause: > hdfs://10.37.83.117:9000/user/ipg_intg_user/AP/scripts/lib/wsaUtils.jar > does not exist. > > > > But when I do > > fs –ls /user/ipg_intg_user/AP/scripts/lib/ , I am able to see the JAR file. > > > > Please help. > > > > Thanks, > > Shouvanik > > ------------------------------ > > This message is for the designated recipient only and may contain > privileged, proprietary, or otherwise confidential information. If you have > received it in error, please notify the sender immediately and delete the > original. Any other use of the e-mail by you is prohibited. Where allowed > by local law, electronic communications with Accenture and its affiliates, > including e-mail and instant messaging (including content), may be scanned > by our systems for the purposes of information security and assessment of > internal compliance with Accenture policy. > > ______________________________________________________________________________________ > > www.accenture.com >