Hi,

That isn't a lot of information so it's hard to figure out what's actually work - one can only guess. Can you post your stacktrace/logs and your script pig somewhere - like a gist?

One thing that stands out is that you mention you are using Pig yet your path 
points to a Hive warehouse:
/Failed to read data from "/user/hive/warehouse/books"/

I can infer from this that maybe, the issue, is the fact that you are trying to read a Hive internal file, which Pig can't understand, leading to the error that you see.

Cheers,


On 4/14/14 1:23 AM, hanine haninne wrote:
Hello ,

I m trying to store data in ES (head) using pig script and it gives me

/Input(s):/
/Failed to read data from "/user/hive/warehouse/books"/

/Output(s):/
/Failed to produce result in "books/book"/

I ll be so thankful if someone would like help me

--
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to
[email protected] 
<mailto:[email protected]>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/979f5688-bd53-4b76-a97a-5b0359c8be75%40googlegroups.com
<https://groups.google.com/d/msgid/elasticsearch/979f5688-bd53-4b76-a97a-5b0359c8be75%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.

--
Costin

--
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/534B43CB.3020507%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to