Re: Pig script to load C++ library

2016-02-03 Thread Shashikant K
@Divya: The link is not useful for me. Here is my use case 1. I have a PIG script. In this script I want to invoke a C++ library which is external to PIG script. I do this by using STREAM operator. 2. Now when I invoke the C++ lib, it does some processing with the inputs provided and returns array

Re: Pig script to load C++ library

2016-02-02 Thread Divya Gehlot
@Shashikant -Check the link .. On 2 February 2016 at 22:52, Shashikant K wrote: > Hello, > > How can I read the return values from the external libraries back in PIG > script again? I tried to find a solution but unable to

Re: Pig script to load C++ library

2016-02-02 Thread Shashikant K
Hello, How can I read the return values from the external libraries back in PIG script again? I tried to find a solution but unable to find references. Please help. On 14 December 2015 at 12:27, inelu nagamallikarjuna wrote: > Hi Shashikant. > > Pig supports streaming with help of *stream *op

Re: Pig script to load C++ library

2015-12-13 Thread Shashikant K
Hi Naga, Great. Thanks for quick reply. I will try this. Regards, Shashikant On 14 December 2015 at 12:27, inelu nagamallikarjuna wrote: > Hi Shashikant. > > Pig supports streaming with help of *stream *operator. This allows invoking > any external executables i.e., perl, python, c++, php etc.

Re: Pig script to load C++ library

2015-12-13 Thread inelu nagamallikarjuna
Hi Shashikant. Pig supports streaming with help of *stream *operator. This allows invoking any external executables i.e., perl, python, c++, php etc... inside your pig scripts. Thanks Naga On Mon, Dec 14, 2015 at 12:18 PM, Shashikant K < shashikant.kulkarn...@gmail.com> wrote: > Hi All, > > Her

Pig script to load C++ library

2015-12-13 Thread Shashikant K
Hi All, Here is what I am trying to do. - I have a C++ library which I use to load from PHP script using PHP's exec() function. It works perfect. PHP sends the input parameter and gets the result in output parameter. - I want to make use of the same C++ library in my Pig Script and