I was using 0.7.1, and saw that some folks had used the latest from
CVS to get things working, so I tried that, too, and it didn't work
either. I enabled 's3service.ignore-exceptions-in-multi', so it
finished, but generated a ton of those Exceptions I mentioned.
Files have been uploaded with jets3t Synchronize, but also with
BucketExplorer by some other people at work here. I think this
particular hierarchy should have been uploaded entirely by jets3t, but
I'm not sure.
I can download the whole bucket *with* BucketExplorer, incidentally,
with no problems.
I just checked, and all the "Not a directory" problems are being
generated because of a single directory that Synchronize downloaded as
a file. When looking at the bucket with some Windows GUI tools
(BucketExplorer, Cloudberry Explorer), the problem directory/file
('gaming_ca') shows up as a directory, no errors.
I'm wondering what jets3t is doing that it sees the 'gaming_ca'
directory as a file, but also as a directory.
- Tim
- Tim
Is there some requirement that the placeholder key end in a slash, if
there are other keys that have that key as parent? eg. if there is a
key "mydir" and a key "mydir/fred", will that confuse Synchronize?
It might have been that in the problem bucket, directory placeholder
keys were not always terminated with a '/'. Not sure though. In any
case, I used Cockpit to *remove* all directory placeholder keys that
had child keys, and that seems to have fixed it. All other buckets
are syncing down properly. We haven't yet tried syncing up - there's
lots of data we are afraid of losing, so we'll need to make sure to
back up our copy of what's in our production buckets before trying a
sync up.
Thanks for all your help - it pointed me in the right direction, tho'
I'm not sure what specifically was wrong.
Does Synchronize get confused if *some* directories have placeholder
keys, and some don't?
- Tim
--
You received this message because you are subscribed to the Google Groups "JetS3t Users" group.
To post to this group, send email to jets3t...@googlegroups.com.
To unsubscribe from this group, send email to jets3t-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/jets3t-users?hl=en.
Thanks also for your suggestions for safe up-syncing. Best technical
support evvaar! :-)
- Tim
On Dec 21, 7:29 pm, James Murty <jamu...@gmail.com> wrote:
> Hi,
>
> If the directory placeholder objects were created by a JetS3t application
> they will have been recognized as such and handled appropriately. My best
> guess about what happened is that the problematic placeholder object was not
> created by a JetS3t application whereas the others were.
>
> You can recognize placeholder objects created by JetS3t because they have a
> Content-Type of "application/x-directory".
>
> It is unfortunate that your problematic placeholder object didn't have any
> obvious metadata or naming characteristics to indicate that was a directory
> rather than a file. If such information was available I could add some
> smarts to JetS3t to help it recognize and correctly treat directory
> placeholder objects created by other applications. Anyhow I'm glad your sync
> is working now.
>
> Remember that you can test a synchronize command without causing any damage
> by including the "--noaction" option on the command line. However, having a
> safe backup is always the best course of action. A quick way to create a
> backup would be to use Cockpit's "Copy or Move" feature to copy your
> production objects into a second backup bucket. You could even do this and
> test against the copied objects rather than the originals, to be absolutely
> sure before running a sync against your production data.
>
> Good luck with it,
> James
>
> > jets3t-users...@googlegroups.com<jets3t-users%2Bunsu...@googlegroups.com>
Ok, I found another situation where this happened, and it was - as you
surpmised, because Content-Type was set to application/octet-stream.
I changed it to application/application/x-directory and it worked.
Trailing slash or not didn't seem to make a difference in the way
jets3t interpreted a "directory".
- Tim