hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <shouvanik.hal...@accenture.com>
Subject Re: Need urgent help
Date Wed, 02 Jul 2014 06:57:54 GMT
This copy was successful. The file was not corrupted


Sent from Samsung Mobile


-------- Original message --------
From: Andre Araujo
Date:01/07/2014 23:45 (GMT-08:00)
To: user
Subject: Re: Need urgent help

Can you try the following to check if there's any problem with the jar itself?

hadoop fs -copyToLocal hdfs://xx.xx.xx.xxx:9000/user/ipg_intg_user/AP/scripts/lib/wsaUtils.jar
/tmp/

hive> add jar file:///tmp/wsaUtils.jar;


On 2 July 2014 16:01, <shouvanik.haldar@accenture.com<mailto:shouvanik.haldar@accenture.com>>
wrote:
-rw-r--r-T   1 ipg_intg_user supergroup     621942 2014-05-20 21:33 hdfs://xx.xx.xx.xxx:9000/user/ipg_intg_user/AP/scripts/lib/wsaUtils.jar

From: Andre Araujo [mailto:araujo@pythian.com<mailto:araujo@pythian.com>]
Sent: Tuesday, July 01, 2014 10:46 PM
To: user

Subject: Re: Need urgent help

What's the result of the command below?

hadoop fs -ls hdfs://xx.xx.xx.xxx:9000/user/ipg_intg_user/AP/scripts/lib/wsaUtils.jar

On 2 July 2014 14:07, <shouvanik.haldar@accenture.com<mailto:shouvanik.haldar@accenture.com>>
wrote:
Can you please elaborate on the permission


Hi,
Cannot add a jar to hive classpath.
Once I launch HIVE, I type -> ADD JAR hdfs://xx.xx.xx.xxx:9000/user/ipg_intg_user/AP/scripts/lib/wsaUtils.jar;

I get the error,
Failed to read external resource hdfs://xx.xx.xx.xxx:9000/user/ipg_intg_user/AP/scripts/lib/wsaUtils.jar
Query returned non-zero code: 1, cause: hdfs://xx.xx.xx.xxx:9000/user/ipg_intg_user/AP/scripts/lib/wsaUtils.jar
does not exist.




From: hadoop hive [mailto:hadoophive@gmail.com<mailto:hadoophive@gmail.com>]
Sent: Tuesday, July 01, 2014 8:58 PM
To: user@hive.apache.org<mailto:user@hive.apache.org>
Subject: Re: Need urgent help


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.haldar@accenture.com<mailto:shouvanik.haldar@accenture.com>>
wrote:

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<http://www.accenture.com>



--
André Araújo
Big Data Consultant/Solutions Architect
The Pythian Group - Australia - www.pythian.com<http://www.pythian.com>
Office (calls from within Australia): 1300 366 021 x1270<tel:1300%20366%20021%20x1270>
Office (international): +61 2 8016 7000  x270<tel:%2B61%202%208016%207000%20%C2%A0x270>
OR +1 613 565 8696   x1270<tel:%2B1%20613%20565%208696%C2%A0%C2%A0%20x1270>
Mobile: +61 410 323 559<tel:%2B61%20410%20323%20559>
Fax: +61 2 9805 0544<tel:%2B61%202%209805%200544>
IM: pythianaraujo @ AIM/MSN/Y! or araujo@pythian.com<mailto:araujo@pythian.com> @ GTalk

“Success is not about standing at the top, it's the steps you leave behind.” — Iker
Pou (rock climber)


--





--
André Araújo
Big Data Consultant/Solutions Architect
The Pythian Group - Australia - www.pythian.com<http://www.pythian.com>

Office (calls from within Australia): 1300 366 021 x1270
Office (international): +61 2 8016 7000  x270 OR +1 613 565 8696   x1270
Mobile: +61 410 323 559
Fax: +61 2 9805 0544
IM: pythianaraujo @ AIM/MSN/Y! or araujo@pythian.com<mailto:araujo@pythian.com> @ GTalk

“Success is not about standing at the top, it's the steps you leave behind.” — Iker
Pou (rock climber)


--



Mime
View raw message