Is $input present relative to file:/// in local mode? Russell Jurney twitter.com/rjurney [email protected] datasyndrome.com
On Dec 8, 2011, at 6:50 PM, Gayatri Rao <[email protected]> wrote: > I just check and it runs fine in distributed mode but in local mode, I get > that kind of error. > I am working on windows and using cygwin. > > On Thu, Dec 8, 2011 at 6:40 PM, Dmitriy Ryaboy <[email protected]> wrote: > >> An error opening iterator for alias means that the job that was trying >> to compute said alias failed. >> >> Please check Hadoop job logs (you can access them via the Hadoop job >> tracker you). You are looking for failed tasks. The actual error will >> be in there. >> >> There is no known problem with ORDER in Pig. Chances are this is >> something about your hadoop setup (the data you are reading does not >> exist, or the temp directory does not exist, or you can't write to it, >> or something else along those lines). >> >> D >> >> On Thu, Dec 8, 2011 at 6:29 PM, Gayatri Rao <[email protected]> wrote: >>> Hi, >>> >>> I was trying out a simple example script uisng ORDER and it doesnt seem >> to >>> work. Does any one seem to know if there is any error with ORDER? >>> >>> raw = LOAD '$input' USING PigStorage() AS (a:int, b:int, c:int); >>> ordered = ORDER raw by c DESC; >>> dump ordered; >>> >>> This gives an error saying cannot open iterator for alias; Any ideas what >>> might be wrong? >>> >>> Thanks, >>> Gayatri >>
