hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andre Araujo <ara...@pythian.com>
Subject Re: Need urgent help
Date Wed, 02 Jul 2014 07:09:36 GMT
Did you manage to load the jar from the local file?


On 2 July 2014 16:57, <shouvanik.haldar@accenture.com> wrote:

>  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> 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]
>> *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> 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]
>> *Sent:* Tuesday, July 01, 2014 8:58 PM
>> *To:* 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> 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
>>
>>
>>
>>
>>
>> --
>>
>> André Araújo
>> Big Data Consultant/Solutions Architect
>> The Pythian Group - Australia - 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 @ 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
>
> 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 @ 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

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 @ GTalk

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

-- 


--




Mime
View raw message