LoCI logo
Home
About Us
Projects
Publications
Software
Documents
Screencasts
Related Projects
Related Pubs

People
FAQs
News Archive
Contact Us


Links

IBPvo
Record your favorite show on TV!
Linux ISOs
Download the latest version of Linux!
 
 



 
Overview Publications Software

Java LoRS


This page will track the development of the Java LoRS Tools. Currently, we are working on an initial port of the command line tools and classes that can be used within other Java applications to store data into new exNodes, retrieve data from exNodes, add and remove replicas and refresh exNodes.


We have released an alpha version of LorsDownload. This version is single-threaded and does not yet support End-to-End services (checksums, encryption, compression of coding blocks). This version downloads to stdout. You will need to redirect stdout to a file to save if you want it be saved on disk.


The usage is as follows:


java LorsDownload [-b blocksize[k|m|g] [-O offset[k|m|g]] [-L length[k|m|g]] [-t timeout[m|h|d]]


where the options are:

-b blocksize[k|m|g]
This specifies the download blocksize. The units are bytes unless "k" or "m" or "g" is specified, which represent kilobytes, megabytes and gigabytes. This may be overridden by the tool depending on the exNode. The default is 512 KB.
-O offset[k|m|g]
This specifies where in the file to begin downloading. The units are in bytes and also accept the kilobyte, megabyte and gigabyte modifiers. The default value is 0, download from the beginning.
-L length[k|m|g]
This specifies how much data to download. The units are in bytes and also accept the kilobyte, megabyte and gigabyte modifiers. The default value is -1, download to the end of the file.
-t timeout[m|h|d]
This specifies how long to download before quitting. The units are in seconds unless "m" or "h" or "d" is specified, which represent minutes, hours and days. The default value is 0, wait until it is done.

After downloading the .jar file, use "jar xf LorsDownload.jar" to unpack the files. You will need to set your CLASSPATH to the directory where you unpacked the .jar file as well as to "." (the current directory).

UTK home        DOE NSF
 
corner
Home   About Us   Projects   Publications   Software   Docs   Screencasts   Related Projects   Related Pubs   People   FAQs   News  Contact Us
corner