Hey,
'/data/test.txt' is supposed to be on hdfs (if your not executing with -x
local), put it there from your local drive with command:
hadoop fs -put
for ex, create dir and the put:
hadoop fs -mkdir /data
hadoop fs -put /data/test.txt /data/
Sincerely,
Marek M.
___
Hi Marek
I got the response as below
[kiranprasad.g@pig4 bin]$ ./hadoop fs -ls /
Found 1 items
drwxr-xr-x - kiranprasad.g supergroup 0 2011-09-19 19:23 /tmp
but after loading (A= LOAD '/data/test.txt' USING PigStorage();),
I am getting the same exception.
Message: org.apache.pig.back
Do you have a FLATTEN() involved? FLATTEN(null) can cause IndexOutOfBounds
exception. ( if that is the case, see
http://www.mail-archive.com/user@pig.apache.org/msg02275.html )
On Fri, Sep 16, 2011 at 8:04 AM, Eli Finkelshteyn wrote:
> Hi,
> When doing an inner join on a column where some values
No special reason. Just hasn't been done.
On Mon, Sep 19, 2011 at 12:42 PM, Jeremy Hanna
wrote:
> Seems like pigunit would be one of those jars that would be handy to just
> depend on with maven/ivy. Is there any reason why pigunit isn't pushed to
> maven central along with pig itself?
>
> Thank
Seems like pigunit would be one of those jars that would be handy to just
depend on with maven/ivy. Is there any reason why pigunit isn't pushed to
maven central along with pig itself?
Thanks!
Jeremy
hadoop fs -ls /
BACKSHASH at the end!
And:
A= LOAD '/data/test.txt' USING PigStorage();
BACKSLASH before data!
-Original Message-
From: kiranprasad [mailto:kiranprasa...@imimobile.com]
Sent: Monday, September 19, 2011 12:10 PM
To: user@pig.apache.org
Subject: Re: ERROR 2118: Input pat
Hi
I am unable t run the below mentioned command : hadoop fs -ls
getting the same output.
[kiranprasad.g@pig4 hadoop-0.20.2]$ bin/hadoop fs -ls
ls: Cannot access .: No such file or directory.
Below is the exception.
Message: org.apache.pig.backend.executionengine.ExecException: ERROR 2118:
Inp