recovery accidently deleted pig script

2013-06-12 Thread feng jiang
Hi everyone,

We have a pig script scheduled running every 4 hours. Someone accidentally
deleted the pig script(rm). Is there any way to recover the script?

I am guessing Hadoop copy the program to every nodes before running. Just
in case it has any copy in the nodes.


Best regards,
Feng Jiang


Re: recovery accidently deleted pig script

2013-06-13 Thread feng jiang
The script is on local file system. it's on linux box.

I totally agree we need version control for the source code. this is a good
example to show the importance of version control.

Thank you Michael and Chris for your inputs anyway.



On Thu, Jun 13, 2013 at 10:35 AM, Chris Embree  wrote:

> This is not a Hadoop question (IMHO).
>
> 2 words:  Version Control
>
> Did the advent of Hadoop somehow circumvent all IT convention?
>
> Sorry folks, it's been a rough day.
>
> On 6/12/13, Michael Segel  wrote:
> > Where was the pig script? On HDFS?
> >
> > How often does your cluster clean up the trash?
> >
> > (Deleted stuff doesn't get cleaned up when the file is deleted... ) Its a
> > configurable setting so YMMV
> >
> > On Jun 12, 2013, at 8:58 PM, feng jiang  wrote:
> >
> >> Hi everyone,
> >>
> >> We have a pig script scheduled running every 4 hours. Someone
> accidentally
> >> deleted the pig script(rm). Is there any way to recover the script?
> >>
> >> I am guessing Hadoop copy the program to every nodes before running.
> Just
> >> in case it has any copy in the nodes.
> >>
> >>
> >> Best regards,
> >> Feng Jiang
> >
> >
>



-- 
Best regards,
Feng Jiang


Re: recovery accidently deleted pig script

2013-06-13 Thread feng jiang
Thanks Bertrand,

This is what I was thinking. But looks there is no way to recover the
script from interpretation one.

Thanks
Jeff


On Thu, Jun 13, 2013 at 5:54 PM, Bertrand Dechoux wrote:

> But no the script is not send to the cluster so you won't be able to
> recover from here because what is send is the 'interpretation' of the
> script.
> If that was the case, that would be a question for the pig mailing list.
>
> Regards
>
> Bertrand
>
>
> On Thu, Jun 13, 2013 at 11:33 AM, feng jiang wrote:
>
>> The script is on local file system. it's on linux box.
>>
>> I totally agree we need version control for the source code. this is a
>> good example to show the importance of version control.
>>
>> Thank you Michael and Chris for your inputs anyway.
>>
>>
>>
>> On Thu, Jun 13, 2013 at 10:35 AM, Chris Embree  wrote:
>>
>>> This is not a Hadoop question (IMHO).
>>>
>>> 2 words:  Version Control
>>>
>>> Did the advent of Hadoop somehow circumvent all IT convention?
>>>
>>> Sorry folks, it's been a rough day.
>>>
>>> On 6/12/13, Michael Segel  wrote:
>>> > Where was the pig script? On HDFS?
>>> >
>>> > How often does your cluster clean up the trash?
>>> >
>>> > (Deleted stuff doesn't get cleaned up when the file is deleted... )
>>> Its a
>>> > configurable setting so YMMV
>>> >
>>> > On Jun 12, 2013, at 8:58 PM, feng jiang  wrote:
>>> >
>>> >> Hi everyone,
>>> >>
>>> >> We have a pig script scheduled running every 4 hours. Someone
>>> accidentally
>>> >> deleted the pig script(rm). Is there any way to recover the script?
>>> >>
>>> >> I am guessing Hadoop copy the program to every nodes before running.
>>> Just
>>> >> in case it has any copy in the nodes.
>>> >>
>>> >>
>>> >> Best regards,
>>> >> Feng Jiang
>>> >
>>> >
>>>
>>
>>
>>
>> --
>> Best regards,
>> Feng Jiang
>>
>
>
>
> --
> Bertrand Dechoux
>



-- 
Best regards,
Feng Jiang