Yeah that's not going to work. This isn't even a pig or hadoop thing, it's a *nix thing. Unix / linux don't have a concept of special drive/volume addressing (probably because it's a broken concept....). You need to address files using proper linux-style paths. You should be able to do that from cygwin -- it's been years since I've had to deal with windows, but iirc something like /cygdrive/c/$myDir/$myFile
D On Fri, Dec 9, 2011 at 9:04 AM, Gayatri Rao <[email protected]> wrote: > I give absolute path like this c:/$myDir/$myFile > > On Thu, Dec 8, 2011 at 9:26 PM, Russell Jurney > <[email protected]>wrote: > >> 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 >> >> >>
