News for hackers. Stuff that matters.
Re:I deleted data from production by eftychis on Tuesday October 26, 2021 @12:13AM (#28996315)
I mean if people did not make mistakes we would all be writing directly in binary target or assembly. Should you ever delete folders named data -- probably not without knowing what you are deleting. Should you place your production data on a single machine -- definitely not if you know anything about production or complex (file) systems. I mean it could be literally your computer dying on you. You trust your company on that single hard drive not dying really? Or any system bug -- OS/firmware etc? Are you that crazy? Just short S&P long term -- it's less risky.
Re:I deleted data from production by lmm on Tuesday October 26, 2021 @01:06AM (#28996616)
> Should you place your production data on a single machine -- definitely not if you know anything about production or complex (file) systems. I mean it could be literally your computer dying on you. You trust your company on that single hard drive not dying really? Or any system bug -- OS/firmware etc? Are you that crazy? Just short S&P long term -- it's less risky.

OP was using HDFS which is a distributed/clustered filesystem, their data was replicated across multiple machines. But "rm" still deletes it from everywhere.

Re:I deleted data from production by eftychis on Tuesday October 26, 2021 @01:11AM (#28996648)
Yeah I should have made yhat a bit more explicit with the single hard drive comment. Thanks @lmm!