loading problem in pig


  • Hello

    I have a problem in loading data into my pig, Actually I created a container in my storage and upload some text files, but When I wanted to load my data into pig(grunt) it said that can't read data from input. I used asv:// but unfortunately it couldn't read from input and give some errors.

    could you tell me what should I do exactly?

    thanks again

    Monday, August 05, 2013 11:54 AM

All replies

  • This article may be helpful:

    If not, can you share the commands you executed and the errors you received? That will help us in understanding what is happening.



    This posting is provided "AS IS" with no warranties, and confers no rights.

    Monday, August 05, 2013 3:04 PM
  • Hello
    thanks for your response, Actually I created a storage then a HDInsight on that storage then uploaded some text file with azure storage explorer, after that when I wanted to load data like this:
    A = LOAD 'asv://' ;
    DUMP A;
    then it gave me this error:

    Failed to read data from "asv:// "

    Output(s):Failed to produce result in "asv://
    What should I do with this problem?

    Monday, August 05, 2013 8:59 PM
  • Can you move salam.txt to your default file system and retry your command?

    Wednesday, August 07, 2013 5:39 PM
  • I moved it into root container and wrote this command:

    a = LOAD 'asv:///salam.txt';

    dump a;

    but unfortunately it doesn't work again

    Thursday, August 08, 2013 5:50 AM