You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hive.apache.org by Trainee Bingo <tr...@gmail.com> on 2015/07/06 11:15:23 UTC

Hive BeeLine

Hi Users,

I have Hive and HiveServer2 on the same machine. But, when I try to *LOAD
DATA LOCAL INPATH* using BeeLine I get "Invalid Path Error" and if I do
LOAD DATA INPATH it takes it successfully.

Can anyone pls tell me why local inpath does not work??



Thanks,
Trainee.

Re: Hive BeeLine

Posted by Trainee Bingo <tr...@gmail.com>.
Hi Noam,

The file exist on my machine.. I can do cat,ls,ll etc on it.

On Mon, Jul 6, 2015 at 2:31 AM, Noam Hasson <no...@kenshoo.com> wrote:

> Just making sure, LOAD DATA LOCAL INPATH loads files from your local file
> system, did you make sure the file exist on your machine?
>
> On Mon, Jul 6, 2015 at 12:15 PM, Trainee Bingo <tr...@gmail.com>
> wrote:
>
>> Hi Users,
>>
>> I have Hive and HiveServer2 on the same machine. But, when I try to *LOAD
>> DATA LOCAL INPATH* using BeeLine I get "Invalid Path Error" and if I do
>> LOAD DATA INPATH it takes it successfully.
>>
>> Can anyone pls tell me why local inpath does not work??
>>
>>
>>
>> Thanks,
>> Trainee.
>>
>
>
> This e-mail, as well as any attached document, may contain material which
> is confidential and privileged and may include trademark, copyright and
> other intellectual property rights that are proprietary to Kenshoo Ltd,
>  its subsidiaries or affiliates ("Kenshoo"). This e-mail and its
> attachments may be read, copied and used only by the addressee for the
> purpose(s) for which it was disclosed herein. If you have received it in
> error, please destroy the message and any attachment, and contact us
> immediately. If you are not the intended recipient, be aware that any
> review, reliance, disclosure, copying, distribution or use of the contents
> of this message without Kenshoo's express permission is strictly prohibited.

Re: Hive BeeLine

Posted by Noam Hasson <no...@kenshoo.com>.
Just making sure, LOAD DATA LOCAL INPATH loads files from your local file
system, did you make sure the file exist on your machine?

On Mon, Jul 6, 2015 at 12:15 PM, Trainee Bingo <tr...@gmail.com>
wrote:

> Hi Users,
>
> I have Hive and HiveServer2 on the same machine. But, when I try to *LOAD
> DATA LOCAL INPATH* using BeeLine I get "Invalid Path Error" and if I do
> LOAD DATA INPATH it takes it successfully.
>
> Can anyone pls tell me why local inpath does not work??
>
>
>
> Thanks,
> Trainee.
>

-- 
This e-mail, as well as any attached document, may contain material which 
is confidential and privileged and may include trademark, copyright and 
other intellectual property rights that are proprietary to Kenshoo Ltd, 
 its subsidiaries or affiliates ("Kenshoo"). This e-mail and its 
attachments may be read, copied and used only by the addressee for the 
purpose(s) for which it was disclosed herein. If you have received it in 
error, please destroy the message and any attachment, and contact us 
immediately. If you are not the intended recipient, be aware that any 
review, reliance, disclosure, copying, distribution or use of the contents 
of this message without Kenshoo's express permission is strictly prohibited.