GithubHelp home page GithubHelp logo

Comments (8)

brettkettering avatar brettkettering commented on September 4, 2024

This needs to be done for the Open Science MarFS version. I think this is already done, but if not it needs to be done.

from marfs.

cadejager avatar cadejager commented on September 4, 2024

This was fixed by adding pre and post process option to pftool's Path.h

from marfs.

jti-lanl avatar jti-lanl commented on September 4, 2024

Apologies. Re-opening this. What we fixed with the pre/post process was installing xattrs, etc.

I agree that post_process() seems like a natural place to add writing the N:1 chunk-info into the MD file, but it doesn't do that, yet. We need to investigate whether post_process() only gets called from a place in pftool where the whole file has been finished, or is it per-chunk (which wouldn't help), or is it per one of those block-thingies that contain many path_items (which might help, especially if they could be relied on to all be part of the same N:1 move)., and, if the latter, are the path_items all contiguous chunks of info?

Might not be too hard to resolve these questions. Then we'd know whether we can just extend post_process(), or need some other hacked Path method to be called from somewhere else in pftool.

from marfs.

cadejager avatar cadejager commented on September 4, 2024

I tested this on a 100GB file while watching post_process with a print statement. The marfs chunk size was 2GB. Post process was only called once after the transfer was complete.

from marfs.

brettkettering avatar brettkettering commented on September 4, 2024

The end result that we need for Open Science is that a file is seen to be the correct size at the end of the file writing. This should work for PACKED, UNI, and MULTI files.

A later update can provide interim sizes as the file is being copied.

Chris D. to verify that you see the call one time for each file type (UNI and MULTI for now because PACKED is done by the script).

from marfs.

cadejager avatar cadejager commented on September 4, 2024

I can confirm that on UNI and MULTI files the post_process is called once per file.

from marfs.

brettkettering avatar brettkettering commented on September 4, 2024

Then, I propose that you close the issue.

Thanks,
Brett

From: Chris DeJager <[email protected]mailto:[email protected]>
Reply-To: mar-file-system/marfs <[email protected]mailto:[email protected]>
Date: Monday, December 21, 2015 at 2:54 PM
To: mar-file-system/marfs <[email protected]mailto:[email protected]>
Cc: Brett Kettering <[email protected]mailto:[email protected]>
Subject: Re: [marfs] pftool should write MD chunk-info from single-task (#21)

I can confirm that on UNI and MULTI files the post_process is called once per file.


Reply to this email directly or view it on GitHubhttps://github.com//issues/21#issuecomment-166434529.

from marfs.

brettkettering avatar brettkettering commented on September 4, 2024

Open another issue for later to provide the size while the file is being copied, not just when it's done.

from marfs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.