The crc files are generated automatically, you do not need to create them. It looks like you do everything right, and it should work. Are you trying to read the crc files? The crc files name pattern is ".fname.crc" in you case it should be ".done.crc" rather than "done.crc" --Konstantin
[EMAIL PROTECTED] wrote:
I create file on dfs (for example filename "done"). After I try copy this file from dfs to local filesystem. In result I get this file in local filesystem and error: Problem opening checksum file: /user/root/crawl/done. Ignoring with exception org.apache.hadoop.ipc.RemoteException: jav a.io.IOException: Cannot open filename /user/root/crawl/done.crc at org.apache.hadoop.dfs.NameNode.open(NameNode.java:130) at sun.reflect.GeneratedMethodAccessor93.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorIm pl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:240)at org.apache.hadoop.ipc.Server$Handler.run(Server.java:218)for create file I use code: FileSystem fs = ... fs_.createNewFile(new Path(segments[i], "already_indexed")); for copy file to local filesystem I use code: fs.copyToLocalFile(...,...);How create crc file? Why crc file is not created automatically when making a file on dfs? How correctly create a file on dfs?
