Wrong image? On Thu, Sep 15, 2011 at 10:23 AM, Baraa Mohamad < [email protected]> wrote:
> Thanks > > [image: image.png] > > On Thu, Sep 15, 2011 at 7:15 PM, Daniel Dai <[email protected]> wrote: > >> Can you paste your command line? >> >> On Thu, Sep 15, 2011 at 9:56 AM, Baraa Mohamad >> <[email protected]> wrote: >> > But when I'm running another pig scripts that works fine, I get this >> error >> > only when I use the stream command >> > >> > >> > On Thu, Sep 15, 2011 at 6:51 PM, Daniel Dai <[email protected]> >> wrote: >> > >> >> Check your command line. This is a common message when you have a >> >> malformed command line. >> >> >> >> Daniel >> >> >> >> On Thu, Sep 15, 2011 at 9:48 AM, Baraa Mohamad >> >> <[email protected]> wrote: >> >> > Hello >> >> > I have a folder with many xml files i want to load them and parse >> them in >> >> > order to get some information and them store this info to a file >> >> > >> >> > My problem is that I cannot send the xml file to my java script in >> order >> >> to >> >> > parse them, I tried the follow script; >> >> > >> >> > *A = load 'xmlFiles/' ;* >> >> > *parsing = stream A through mypigudf.myXMLParser();* >> >> > *store parsing into 'teststream';* >> >> > >> >> > I'm working locally (pig -x local ) >> >> > >> >> > and in my java script I tried to get the file by reading the stdin >> >> > * java.io.BufferedReader stdin = new >> >> > java.io.BufferedReader(new java.io.InputStreamReader(System.in)); * >> >> > is this the right way or not ?? >> >> > >> >> > all the way when I try to run th pig script I get this error "you can >> >> only >> >> > run one pig script at a time from commande line" >> >> > >> >> > any ideas please? >> >> > >> >> > regards >> >> > -- >> >> > >> >> >> > >> > >> > >> > -- >> > >> > > > > -- > > >
