Espen Amble Kolstad wrote:
Hi,

There's a bug in LinkDb.install(). It tries to rename an old linkdb from
linkdb/current to linkdb/old, and linkdb/current doesn't exist.
Just replace:
fs.rename(current, old);
with:
if (fs.exists(current)) {
   fs.rename(current, old);
}

and it will work again :)


Indeed, this is related to some changes of delete()'s behavior in HDFS - it seems that previously it would just return false on non-existent directories, now it throws an Exception.

I fixed this in trunk/ and branch-0.8.

--
Best regards,
Andrzej Bialecki     <><
___. ___ ___ ___ _ _   __________________________________
[__ || __|__/|__||\/|  Information Retrieval, Semantic Web
___|||__||  \|  ||  |  Embedded Unix, System Integration
http://www.sigram.com  Contact: info at sigram dot com


Reply via email to