Re: Newer versions of Cassandra/Datastax and ElasticSearch?

2017-05-09 Thread Michael Russo
Elasticsearch 1.7.5 has been used in production and is stable. Cassandra 3.x has not been used. Thanks. -Michael On Tue, May 9, 2017 at 12:16 AM, Petteri Sulonen < petteri.sulo...@avaintec.com> wrote: > For what it's worth, we have tested it with Cassandra 3 and Elastic 1.7, > and it was unstab

Re: Usergrid 2.2 (Master Branch, 1 October) - Startup fails in Tomcat

2016-10-06 Thread Michael Russo
gies.com> wrote: > Thanks Michael. > > On Thu, Oct 6, 2016 at 10:44 AM, Michael Russo > wrote: > >> Had a deeper look ( thanks for the log snippet, it helped). I think we >> have a small bug in org/apache/usergrid/persistenc >> e/collection/exception/Colle

Re: Usergrid 2.2 (Master Branch, 1 October) - Startup fails in Tomcat

2016-10-05 Thread Michael Russo
rent.UncheckedExecutionException: > java.lang.RuntimeException: Error getting application > b6768a08-b5d5-11e3-a495-11ddb1de66c8 > > ---------- > > Please suggest if we are missing something. > > Thanks > Jaskaran > > > O

Re: Usergrid 2.2 (Master Branch, 1 October) - Startup fails in Tomcat

2016-10-04 Thread Michael Russo
In fresh, first-time deployments of Usergrid to a new database and Elasticsearch cluster, you need to invoke the database setup and bootstrap APIs: curl -i -X PUT -u : " http://localhost:8080/system/database/setup"; curl -i -X PUT -u : " http://localhost:8080/system/database/bootstrap"; After sta

Re: Assets & file in usergrid

2016-07-22 Thread Michael Russo
Files by default are stored in Tomcats's temp dir. Metadata about the file is stored in Cassandra. Usergrid can also be configured to store files in AWS S3. If you use the default way, you should set up shared storage between servers if you have more than 1 Usergrid stack server. Thanks. -Mich

Re: messagee question

2016-07-21 Thread Michael Russo
In https://github.com/apigee/usergrid-sample-ios-messagee/blob/master/Messagee/Client.m#L25, I think you should update and call the following method exposed in the Usergrid client: https://github.com/apigee/usergrid-sample-ios-messagee/blob/master/Messagee/Usergrid/UGClient.m#L96 This should let

Re: metadata on connections

2016-07-18 Thread Michael Russo
I think we should open a JIRA for each of these as it would be a nice feature and I don't think it's extremely complicated to achieve. Andrew, can you open JIRAs and add any additional info? Thanks. -Michael Sent from my mobile On Jul 18, 2016, at 20:43, Dave wrote: I'm not aware of any way to

Re: A bug about deleting asset binary files?

2016-05-24 Thread Michael Russo
This looks like a bug. I've created JIRA https://issues.apache.org/jira/browse/USERGRID-1293. If anything, looks like a simple fix, but we need to add proper test cases around this behavior to confirm a bug ( and validate its fix). Thanks! -Michael R. On Sun, May 22, 2016 at 10:27 PM, Zeck Li

Re: aws error ?

2016-04-05 Thread Michael Russo
Can you try providing the AWS_ACCESS_KEY_ID= and AWS_ACCESS_KEY_SECRET= as JVM parameters (CATALINA_OPTS) in the Tomcat init script? Thanks. -Michael *Michael Russo* | *Engineering* | *apigee <http://apigee.com/>* | m: +1.650.946.8608 | *skype* mikearusso On Tue, Apr 5, 2016 at 1

Re: Cannot login into usergrid portal after fresh installation (2.1), "error selecting org"

2016-03-19 Thread Michael Russo
Hi Stefan, The portal may not be working because no organizations have been created. You can check to see if any organizations are available by using the following API request: curl -X GET http://localhost:8080/management/organizations -u superuser:test If you see an empty array there, then no o

Re: elastic issues.

2016-02-23 Thread Michael Russo
This is the important part of the exception "MasterNotDiscoveredException". Your elasticsearch cluster has not/cannot designate a master, or you're not connecting to the cluster properly. Depending on how you've configured your Elasticsearch cluster, master nodes are auto-determined by ES or you ca

Re: Unable to deploy Usergrid 2.1

2016-02-11 Thread Michael Russo
at org.apache.thrift.TServiceClient.receiveBase(TServiceClient.java:78) > at > org.apache.cassandra.thrift.Cassandra$Client.recv_set_keyspace(Cassandra.java:540) > at > org.apache.cassandra.thrift.Cassandra$Client.set_keyspace(Cassandra.java:527) > at > me.prettyprint

Re: Unable to deploy Usergrid 2.1

2016-02-09 Thread Michael Russo
Can you provide the full curl commands (omitting any password) that you executed on the tomcat server? Ensure that the following property is set as sysadmin privileges are required for the setup: *usergrid.sysadmin.login.allowed=true* What was the http response when running those commands? Did y

Re: Usergrid2 - Reindexing ES data

2016-02-02 Thread Michael Russo
machine, came at the same time when the free RAM > dropped on the Usergrid Machine. > (On the other hand, the ES machine RAM / CPU seems to be fine.) > > Please advise. > > Many thanks > Harish > > On Thu, Jan 28, 2016 at 9:05 AM, Michael Russo > wrote: > >> 1. T

Re: Usergrid2 - Reindexing ES data

2016-01-27 Thread Michael Russo
pi " > http://localhost:8080/system/index/rebuild/" return the number > of indexing errors / failures etc? > > Please advise. Appreciate the help. > > Many Thanks, > Harish > > On Mon, Jan 25, 2016 at 10:15 PM, Michael Russo > wrote: > >> Hi Harish, >>

Re: Usergrid2 - Reindexing ES data

2016-01-25 Thread Michael Russo
usergrid_applications_4][4] >> Primary shard is not active or isn't assigned is a known node. Timeout: >> [1m], request: org.elasticsearch.action.bulk.BulkShardRequest@3d277a1] >> . >> Jan 25 16:05:21 Usergrid-2 catalina.out: 2016-01-25 05:35:20 ERROR >> corepersistence.asyncevents.AmazonAsyncEve

Re: Usergrid2 - Reindexing ES data

2016-01-22 Thread Michael Russo
Hi Harish, Yeah, in Usergrid 2 you can re-index all of the entity data that exists in Cassandra. Here are example curl requests that invoke the reindex APIs: *Full system re-index:* curl -i -X POST -u : " http://localhost:8080/system/index/rebuild"; *Per application re-index:* curl -i -X POST

Re: Could not setup usergrid 2.1

2016-01-06 Thread Michael Russo
Hi, Usergrid 2.1 actually does require java 8. I'll make sure that any READMEs for the 2.1 + code are updated to reflect this. Thanks! On Wed, Jan 6, 2016 at 6:55 AM, Thành Vũ Trung wrote: > HI all, > I have successfully installed. Usergrid 2.1 could not working with jdk 7. > Thank Apache! >

Re: Usergrid 2.x Issues

2015-12-10 Thread Michael Russo
=2003(2003), >> attempts=1]org.apache.thrift.transport.TTransportException: >> java.net.SocketTimeoutException: Read timed out >> >> These exceptions occur even though opscenter was reporting medium load on >> our cluster. Is there a way to optimize the astyanax

Re: Usergrid 2.x Issues

2015-12-06 Thread Michael Russo
Here are a couple things to check: 1) Can you query all of these entities out when the system is not under load? 2) Elasticsearch has a search queue for index query requests. (https://www.elastic.co/guide/en/elasticsearch/reference/1.6/modules-threadpool.html) When this is full the searches are