Re: [google-appengine] Using Java Files API for Google Cloud Storage results in corrupt files

2012-09-22 Thread Mike Aizatsky
The fix is live. We'll have more details about what has happened soon.

Can you confirm that it is now working as expected on your end?

On Friday, September 21, 2012 12:12:42 PM UTC-7, Christina Ilvento wrote:

 Hi Tim,

 We've diagnosed the issue on our side and should have a fix pushed out 
 soon. Thanks for reporting this.


 Thanks,
 Christina

 On Fri, Sep 21, 2012 at 10:20 AM, Tim Rob t...@appcoders.nl javascript:
  wrote:

 Hi,
 We are currently using the Java Files API to store generated files in 
 Google Cloud Storage. When we try to store 'larger' (1 to 15MB) generated 
 reports (CSV and Excel) or backups of a namespace in the Datastore (stored 
 as JSON text) we always end up with corrupt files. For example when writing 
 something like 'ABCDEFG', we end up with 'ABCDEAB'.
 When we switch to Blobstore this all works fine again. I know the Java 
 Files API to Google Cloud Storage is 'experimental', but I was hoping this 
 functionality would work. Is this maybe a known issue?
 PS: The main reason to prefer GCS over Blobstore is the lack of support 
 for namespaces in Blobstore. With GCS we can create a bucket per namespace.
 Thanks

 -- 
 You received this message because you are subscribed to the Google Groups 
 Google App Engine group.
 To view this discussion on the web visit 
 https://groups.google.com/d/msg/google-appengine/-/aOnH13zhIKUJ.
 To post to this group, send email to 
 google-a...@googlegroups.comjavascript:
 .
 To unsubscribe from this group, send email to 
 google-appengi...@googlegroups.com javascript:.
 For more options, visit this group at 
 http://groups.google.com/group/google-appengine?hl=en.




 -- 

 Christina Ilvento | Google App Engine | cilv...@google.com javascript: |
  (650)-201-9399


  

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/yX7TPqaf0TQJ.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Using Java Files API for Google Cloud Storage results in corrupt files

2012-09-22 Thread Tim Rob
Thanks Mike, I just checked and it's working fine now - our files no longer 
contain corrupt data.
I was actually thinking of switching back to Blobstore again, but I guess 
we should expect the GCS interface to be stable as well?

On Saturday, September 22, 2012 2:57:08 AM UTC+2, Mike Aizatsky wrote:

 The fix is live. We'll have more details about what has happened soon.

 Can you confirm that it is now working as expected on your end?

 On Friday, September 21, 2012 12:12:42 PM UTC-7, Christina Ilvento wrote:

 Hi Tim,

 We've diagnosed the issue on our side and should have a fix pushed out 
 soon. Thanks for reporting this.


 Thanks,
 Christina

 On Fri, Sep 21, 2012 at 10:20 AM, Tim Rob t...@appcoders.nl wrote:

 Hi,
 We are currently using the Java Files API to store generated files in 
 Google Cloud Storage. When we try to store 'larger' (1 to 15MB) generated 
 reports (CSV and Excel) or backups of a namespace in the Datastore (stored 
 as JSON text) we always end up with corrupt files. For example when writing 
 something like 'ABCDEFG', we end up with 'ABCDEAB'.
 When we switch to Blobstore this all works fine again. I know the Java 
 Files API to Google Cloud Storage is 'experimental', but I was hoping this 
 functionality would work. Is this maybe a known issue?
 PS: The main reason to prefer GCS over Blobstore is the lack of support 
 for namespaces in Blobstore. With GCS we can create a bucket per namespace.
 Thanks

 -- 
 You received this message because you are subscribed to the Google 
 Groups Google App Engine group.
 To view this discussion on the web visit 
 https://groups.google.com/d/msg/google-appengine/-/aOnH13zhIKUJ.
 To post to this group, send email to google-a...@googlegroups.com.
 To unsubscribe from this group, send email to 
 google-appengi...@googlegroups.com.
 For more options, visit this group at 
 http://groups.google.com/group/google-appengine?hl=en.




 -- 

 Christina Ilvento | Google App Engine | cilv...@google.com |
  (650)-201-9399


  

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/wJ90w763ukMJ.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Using Java Files API for Google Cloud Storage results in corrupt files

2012-09-21 Thread Tim Rob
Hi,
We are currently using the Java Files API to store generated files in 
Google Cloud Storage. When we try to store 'larger' (1 to 15MB) generated 
reports (CSV and Excel) or backups of a namespace in the Datastore (stored 
as JSON text) we always end up with corrupt files. For example when writing 
something like 'ABCDEFG', we end up with 'ABCDEAB'.
When we switch to Blobstore this all works fine again. I know the Java 
Files API to Google Cloud Storage is 'experimental', but I was hoping this 
functionality would work. Is this maybe a known issue?
PS: The main reason to prefer GCS over Blobstore is the lack of support for 
namespaces in Blobstore. With GCS we can create a bucket per namespace.
Thanks

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/aOnH13zhIKUJ.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Using Java Files API for Google Cloud Storage results in corrupt files

2012-09-21 Thread Christina Ilvento
Hi Tim,

We've diagnosed the issue on our side and should have a fix pushed out
soon. Thanks for reporting this.


Thanks,
Christina

On Fri, Sep 21, 2012 at 10:20 AM, Tim Rob t...@appcoders.nl wrote:

 Hi,
 We are currently using the Java Files API to store generated files in
 Google Cloud Storage. When we try to store 'larger' (1 to 15MB) generated
 reports (CSV and Excel) or backups of a namespace in the Datastore (stored
 as JSON text) we always end up with corrupt files. For example when writing
 something like 'ABCDEFG', we end up with 'ABCDEAB'.
 When we switch to Blobstore this all works fine again. I know the Java
 Files API to Google Cloud Storage is 'experimental', but I was hoping this
 functionality would work. Is this maybe a known issue?
 PS: The main reason to prefer GCS over Blobstore is the lack of support
 for namespaces in Blobstore. With GCS we can create a bucket per namespace.
 Thanks

 --
 You received this message because you are subscribed to the Google Groups
 Google App Engine group.
 To view this discussion on the web visit
 https://groups.google.com/d/msg/google-appengine/-/aOnH13zhIKUJ.
 To post to this group, send email to google-appengine@googlegroups.com.
 To unsubscribe from this group, send email to
 google-appengine+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/google-appengine?hl=en.




-- 

Christina Ilvento | Google App Engine | cilve...@google.com | (650)-201-9399

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Using Java Files API for Google Cloud Storage results in corrupt files

2012-09-21 Thread Tim Rob
Great, thanks Christina

On Friday, September 21, 2012 9:12:42 PM UTC+2, Christina Ilvento wrote:

 Hi Tim,

 We've diagnosed the issue on our side and should have a fix pushed out 
 soon. Thanks for reporting this.


 Thanks,
 Christina

 On Fri, Sep 21, 2012 at 10:20 AM, Tim Rob t...@appcoders.nl javascript:
  wrote:

 Hi,
 We are currently using the Java Files API to store generated files in 
 Google Cloud Storage. When we try to store 'larger' (1 to 15MB) generated 
 reports (CSV and Excel) or backups of a namespace in the Datastore (stored 
 as JSON text) we always end up with corrupt files. For example when writing 
 something like 'ABCDEFG', we end up with 'ABCDEAB'.
 When we switch to Blobstore this all works fine again. I know the Java 
 Files API to Google Cloud Storage is 'experimental', but I was hoping this 
 functionality would work. Is this maybe a known issue?
 PS: The main reason to prefer GCS over Blobstore is the lack of support 
 for namespaces in Blobstore. With GCS we can create a bucket per namespace.
 Thanks

 -- 
 You received this message because you are subscribed to the Google Groups 
 Google App Engine group.
 To view this discussion on the web visit 
 https://groups.google.com/d/msg/google-appengine/-/aOnH13zhIKUJ.
 To post to this group, send email to 
 google-a...@googlegroups.comjavascript:
 .
 To unsubscribe from this group, send email to 
 google-appengi...@googlegroups.com javascript:.
 For more options, visit this group at 
 http://groups.google.com/group/google-appengine?hl=en.




 -- 

 Christina Ilvento | Google App Engine | cilv...@google.com javascript: |
  (650)-201-9399


  

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/vwgatrt5hPsJ.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.