Skip to content

Releases: steveloughran/cloudstore

release-2023-03-17

17 Mar 12:24
d6e16fb
Compare
Choose a tag to compare

release of 2023-03-17.j

Improved endpoint/region analysis.

it now tries to identify when an attempt is being made to talk to third party or vpce buckets, and review the settings as appropriate, with suggestions

release-2023-03-03pm

06 Mar 19:31
6a170c3
Compare
Choose a tag to compare

Leasing diagnostics checks improved; verified correct handling of situation where a dir has a lease -second attempt to write a file fails

release-2023-03-03

03 Mar 16:22
1f150d3
Compare
Choose a tag to compare

versioning

"restore" command

02 Mar 17:41
fabf331
Compare
Choose a tag to compare

adds a new command to restore an s3 object by version.

2023-03-01-listversions

01 Mar 18:04
ad3517f
Compare
Choose a tag to compare

Adds a new command listversions to list all versions of files under an s3 path and print out details in a CSV file for review and recovery.

Consult the documentation for the full details.


bin/hadoop jar cloudstore-1.0.jar listversions -separator ,  s3a://stevel-london/test/target

2023-03-01 18:01:11,231 [main] INFO  extra.ListVersions (StoreDurationInfo.java:<init>(56)) - Starting: listversions

Listing s3a://stevel-london/test/target
=======================================

"index","key","path","restore","latest","size","tombstone","directory","date","timestamp","version","etag"
1,"test/target/","s3a://stevel-london/test/target",0,1,0,1,1,"2023-03-01+000002:01:11",1677679271000,"R.YDYPm780vbXX41W4vGcy2cg8PXxE4F",""
2,"test/target/","s3a://stevel-london/test/target",0,0,0,0,1,"2023-03-01+000002:01:11",1677679271000,"sexI0eOxmrHXJnEcqvYhbNwM3eB4bT3T","df73760194643ac2b2968280c3b7ca4b"
3,"test/target/","s3a://stevel-london/test/target",0,0,0,1,1,"2023-03-01+000002:00:46",1677679246000,"QBw3uSgAHEDCP2tJJF3GxQhvI8B8LhIp",""
4,"test/target/","s3a://stevel-london/test/target",0,0,0,0,1,"2023-03-01+000002:00:45",1677679245000,"6lMGdcckhrqu_eJxftBYHQ4eERr5Gq0y","f384715ff40cca0ca36177b937a21d2f"
5,"test/target/testEncryptionOverRename[delete-markers]-0400","s3a://stevel-london/test/target/testEncryptionOverRename[delete-markers]-0400",0,1,0,1,0,"2023-03-01+000002:01:12",1677679272000,"KoAXT3Et71UHkjVxoXXpCT_v8X2JAhT5",""
6,"test/target/testEncryptionOverRename[delete-markers]-0400","s3a://stevel-london/test/target/testEncryptionOverRename[delete-markers]-0400",1,0,1024,0,0,"2023-03-01+000002:01:11",1677679271000,".2RcOYUhtWM2bWFpyFNmJPb_fbwQNCWv","23d45cf31df15bfa3f176e8621103170"
7,"test/target/testEncryptionOverRename[keep-markers]-0400","s3a://stevel-london/test/target/testEncryptionOverRename[keep-markers]-0400",0,1,0,1,0,"2023-03-01+000002:00:46",1677679246000,"ehNAUNAYm_Ee7xRqgtPgByM6kzBmTQZ3",""
8,"test/target/testEncryptionOverRename[keep-markers]-0400","s3a://stevel-london/test/target/testEncryptionOverRename[keep-markers]-0400",1,0,1024,0,0,"2023-03-01+000002:00:45",1677679245000,"TaTKDWWKImCf77FgdtsUqlzLRgABo4LM","abe6cf8b4d38929146d2d1b2b8060622"

Found 8 objects under s3a://stevel-london/test/target with total size 2,048 bytes
Hidden file count 2 with hidden data size 2,048 bytes
Hidden zero-byte file count 0
Hidden directory markers 2
Tombstone entries 4 comprising 2 files and 2 dir markers
2023-03-01 18:01:12,436 [main] INFO  extra.ListVersions (StoreDurationInfo.java:close(115)) - Duration of listversions: 0:01:206

2023-02-16-release

16 Feb 18:01
135f1bf
Compare
Choose a tag to compare

Abfs and s3a diagnostics to included detailed analysis of the local buffer dir

Reviews state of buffer dir, parent dirs, identifies permission issues,

If invoked with the -w parameter, storediag
then tries to create a temporary file through the LocalDirAllocator, just
as the filesystems will -which should trigger directory creation.

2023-01-30-release

30 Jan 10:44
b08dfd6
Compare
Choose a tag to compare

obfuscates fs.gs.auth.service.account.private.key

2023-01-27-release

27 Jan 16:56
6cc3713
Compare
Choose a tag to compare

new tarhardened command to verify the release has the fix for "HADOOP-18136. Verify FileUtils.unTar() handling of missing .tar files."

bin/hadoop jar cloudstore-1.0.jar tarhardened "file.tar; true"

Bad

Attempting to untar file with name "file.tar; true"
untar operation reported success

2023-01-27 16:42:35,931 [main] INFO  util.ExitUtil (ExitUtil.java:terminate(124)) - Exiting with status 0

Although the file doesn't exist, the bash "true" command was executed after the untar, so
the operation was reported as a success.

Good

2023-01-27 16:48:44,461 [main] INFO  util.ExitUtil (ExitUtil.java:terminate(210)) - Exiting with status -1: ExitCodeException exitCode=1: tar: Error opening archive: Failed to open 'file.tar; true'

The file file.tar; true was attempted to be opened; as it is not present the operation failed.
Expect a stack trace in the report

2022-12-19 safeprefetch

19 Dec 12:40
99b7a63
Compare
Choose a tag to compare

Adds the safeprefetch command to validate prefetch safety of an abfs client, as determined from hadoop release features (pathcapabilities probes) and the site configuration.

2022-11-11 release: mkcsv tuning

11 Nov 13:29
70258bb
Compare
Choose a tag to compare

even more cross referencing in (now shorter) records, in particularly each data column is always a single char repeated length times.

doc updated to match.