Looks like Google found a couple of hits: [1] and [2]

I'm not an expert here, but I wonder if you can just remove the file. Never had 
Drill or HDFS complain when asking it to read a local file without the .crc 
file...

Thanks,
- Paul

[1] 
https://stackoverflow.com/questions/49375908/hadoop-copytolocal-creates-crc-files

[2] 
https://community.hortonworks.com/questions/19449/hadoop-localfilesystem-checksum-calculation.html

 

    On Tuesday, October 30, 2018, 5:45:11 PM PDT, Jean-Claude Cote 
<[email protected]> wrote:  
 
 I'm writing a msgpack reader which supports schema validation. The msgpack
reader is able to discover the schema and store the result in a file
named .schema.proto along side the data files. There is also an additional
..schema.proto.crc file created by the hadoop file system I believe.

However even if the reader can discover the schema I would like to be able
to edit the file manually. However when I do the checksum file does not
match anymore and my reader fails to load the file.

My question is how can I read a file ignoring the checksum file. Or how
difficult is it to produce these checksum files.

I save the file like so
    try (FSDataOutputStream out = fileSystem.create(schemaLocation, true)) {

This call fails if I modify the schema file manually.
      try (FSDataInputStream in = fileSystem.open(schemaLocation)) {

Thank you
jc
  

Reply via email to