Plasma GitLab Archive
Projects Blog Knowledge

Plasma Project:
Home 
Manual 
FAQ 
Slides 
Perf 
Releases 

Module Plasma_netfs

module Plasma_netfs: sig .. end
Accessing PlasmaFS via the Netfs.stream_fs interface

class netfs : ?repl:int -> ?verbose:bool -> ?notranslate:bool -> Plasma_client.plasma_cluster -> Netfs.stream_fs
val netfs : ?repl:int ->
?verbose:bool ->
?notranslate:bool -> Plasma_client.plasma_cluster -> Netfs.stream_fs
Access this cluster with the stream_fs interface:

  • read and write are fully implemented, and always use streaming mode. The I/O bases on the buffered access layer provided by Plasma_client, and so it is a good idea to configure some number of buffers to use, with Plasma_client.configure_buffer.
Arguments:

  • repl: The replication factor for new files. Defaults to 0, i.e. to the server default.
  • verbose: Whether to output progress messages to stderr for all metadata modifications. Defaults to false. (This exists for the command-line utility plasma.)
  • notranslate: Normally, all Plasma_error exceptions are translated to Unix_error. By setting this switch the translation is not done.


Helper for Mapred_fs.plasma_filesystem



This is an extended version of stream_fs. It exists only as a definition step for Mapred_fs.plasma_filesystem. Please don't use directly.
type x_read_file_flag = [ `Binary | `Destination of string | `Dummy | `Temp of string * string ] 
type x_write_flag = [ `Binary
| `Create
| `Dummy
| `Exclusive
| `Location of string list
| `Repl of int
| `Streaming
| `Truncate ]
type x_write_file_flag = [ `Binary
| `Create
| `Dummy
| `Exclusive
| `Link
| `Location of string list
| `Repl of int
| `Truncate ]
type x_copy_flag = [ `Dummy | `Location of string list | `Repl of int ] 
type x_link_flag = [ `Dummy ] 
class type x_stream_fs = object .. end
val x_netfs : ?repl:int ->
?verbose:bool ->
?notranslate:bool -> Plasma_client.plasma_cluster -> x_stream_fs
class x_netfs : ?repl:int -> ?verbose:bool -> ?notranslate:bool -> Plasma_client.plasma_cluster -> x_stream_fs
This web site is published by Informatikbüro Gerd Stolpmann
Powered by Caml