Re: [google-appengine] Re: 1.9.0 Pre-Release SDKs are now available.

2014-02-12 Thread Keith Lea
Does it work exactly the same as the google code version? I assumed it
would be different.


On Wed, Feb 12, 2014 at 12:33 AM, Vinny P  wrote:

>
> On Fri, Feb 7, 2014 at 4:03 PM, Keith Lea 
>  wrote:
>
> Where is the documentation for Java MapReduce preview feature? I can't
>> find it at https://developers.google.com/appengine/docs/java/
>>
>>
>
>
> The original location for Java MapReduce documentation is at
> https://code.google.com/p/appengine-mapreduce/wiki/GettingStartedInJavabut 
> you're correct, it looks like the link is missing from the Java ->
> Services subsection.
>
>
> -
> -Vinny P
> Technology & Media Advisor
> Chicago, IL
>
> App Engine Code Samples: http://www.learntogoogleit.com
>
>  --
> You received this message because you are subscribed to a topic in the
> Google Groups "Google App Engine" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/google-appengine/iuvuVPJqPHc/unsubscribe
> .
> To unsubscribe from this group and all its topics, send an email to
> google-appengine+unsubscr...@googlegroups.com.
> To post to this group, send email to google-appengine@googlegroups.com.
> Visit this group at http://groups.google.com/group/google-appengine.
> For more options, visit https://groups.google.com/groups/opt_out.
>



-- 

*Keith Lea, Co-Founder & CTO*
*(443) 743-2719*
Baltimore, MD

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.


[google-appengine] Re: 1.9.0 Pre-Release SDKs are now available.

2014-02-11 Thread Keith Lea
Where is the documentation for Java MapReduce preview feature? I can't find 
it at https://developers.google.com/appengine/docs/java/

On Tuesday, February 4, 2014 8:43:41 PM UTC-5, Richmond Manzana wrote:
>
> We want to inform you that the pre-release SDKs for Python, PHP and Java 
> are now available.
>
> As previously 
> announcedin
>  a Google code site announcement, new App Engine Binaries are no longer 
> available at:
> http://code.google.com/p/googleappengine/downloads/list
>
> Older binaries will remain available at the code.google.com site.
>
> 1.9.0 Pre-release SDKs are now available at these links:
>
> App Engine 1.9.0 Java prerelease 
> SDK
>
> App Engine 1.9.0 Python prerelease 
> SDK
>
> App Engine 1.9.0 PHP prerelease 
> SDK
>
> In the future, please look forward to the finding the latest binaries at 
> https://developers.google.com/appengine/downloads
>
>
> Also, please see the pre-release notes below.
>
> Cheers,
>
> Richmond Manzana
> Technical Program Manager
> Google App Engine
>
> App Engine SDK - Pre-Release Notes
>
> Version 1.9.0
>
> Python & PHP
> ==
> - New App Engine Application Identifiers must now start with a letter,
>   in addition to the existing requirements that the identifier be 6-30
>   characters which are letters, numbers, and hyphens, and not start or end 
> with
>   a hyphen.
>
> Python
> ==
> - The size limit on the Search API is now computed and enforced on a 
> per-index
>   basis, rather than for the app as a whole. The per-index limit is now 
> 10GB.
>   There is no fixed limit on the number of indexes, or on the total amount 
> of
>   Search API storage an application may use.
> - Users now have the ability to embed images in emails via the Content-Id
>   attachment header.
> https://code.google.com/p/googleappengine/issues/detail?id=965
> https://code.google.com/p/googleappengine/issues/detail?id=10503
> - Fixed an issue with NDB backup/restore corrupting certain compressed
>   entities.
> https://code.google.com/p/googleappengine/issues/detail?id=8599
>
> PHP
> ==
> - The PHP interpreter has been upgraded from PHP 5.4.19 to PHP 5.4.22.
> - Autoloading is now available in the SDK so developers will no longer 
> need to
>   explicitly require SDK files.
> - Expanded php.ini setting google_appengine.allow_include_gs_buckets to 
> allow
>   a path filter be included for improved security.
> - A warning message now appears if an application moves a user uploaded 
> file to
>   a Google Cloud Storage bucket/path. This is due to the fact that code 
> may be
>   included and lead to a local file inclusion vulnerability.
> - Added API functions CloudStorageTools::getMetadata() and
>   CloudStorageTools::getContentType() for retrieving the metadata and 
> content
>   type of Google Cloud Storage objects.
> https://code.google.com/p/googleappengine/issues/detail?id=10182
> - Fixed an issue with GCS folders not displaying correctly in Developers
>   Console.
> - Fixed an issue with PHP_SELF and SCRIPT_NAME not being implemented 
> correctly.
> https://code.google.com/p/googleappengine/issues/detail?id=9989
> https://code.google.com/p/googleappengine/issues/detail?id=10478
>
> Java
> ==
> - Java 6 applications cannot be deployed to Google App Engine from any 
> version
>   of the SDK. Existing Java 6 applications will continue to run. If you are
>   still relying on a Java 6 application in Google App Engine, we strongly
>   encourage you to start testing and deploying your app using Java 7. Java 
> 7
>   has been certified by Oracle to be fully backwards compatible with Java 
> 6,
>   as well as providing a number of benefits to developers. Java 7 
> applications
>   will be fully supported in future releases of the App Engine SDK.
>   If you absolutely need to continue to deploy Java 6 applications for
>   compatibility reasons, you can request that your application be 
> whitelisted
>   for Java 6 deployment from http://goo.gl/ycffXq. As we review each 
> whitelist
>   application by hand, please allow 10 working days for review, and note 
> that
>   only billed applications that show a proven incompatibility will be
>   considered for exemption.
> - Modules API methods have been moved out of the labs package in 
> preparation
>   for a general availability release.
> - MapReduce is now a Preview feature. Documentation and getting started 
> guides
>   are now available on developers.google.com.
> - The size limit on th

[google-appengine] Best way to update 400,000 entities at once?

2014-02-11 Thread Keith Lea
Hi everyone,

I'm a long time App Engine user for my app's backend, but I'm really still 
a novice about the datastore.

I'd like to add a new property (and index) for all entities of a certain 
type. I have about 400,000 of this type of entity in the datastore, and I'd 
like to load each one, add a property, and save it back to the datastore. 
400,000 times.

This will obviously take a long time, so I'd really like to split it up 
into ~100 tasks that each take 1/100th of the entities (~4,000 entities) 
and perform this operation.

But I really don't know how to do this using queries, and the Java 
MapReduce library is overwhelmingly complicated. 

So how can I create 100 tasks that each take a unique chunk of the entities 
to operate on? Is this called "sharding"? Is there a way for a task to say 
"give me entity #200,000 thru #204,000"? (My entity's keys are strings, 
which were generated by my application and generally look like 
"928348-com.example-iOS".)

I'm using Java and Objectify btw. Thanks for any help or guidance!!

Keith

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.