Found the resolution
Refer the link below
http://stackoverflow.com/a/34920051/4981746
On 21 January 2016 at 14:45, Divya Gehlot wrote:
> am trying to store data to MySQL using DBStorage in pig script. when I
> run the the script ,I am getting error unable to read the input file.
> Whereas when
am trying to store data to MySQL using DBStorage in pig script. when I run
the the script ,I am getting error unable to read the input file. Whereas
when I try to dump to store the same data file its working fine. Sample
pigscript :
%default DATABASE_HOST 'localhost';%default DATABASE_NAME
'Test'