udaykiran19491/user-stories-from-tawos-for-llm-fine-tuning huggingface dataset:
give resolution time in minutes for the given user story, only provide the number of minutes in the output without any other text

User story: "We currently have yet to enforce the port allocations: MESOS-359  An additional issue is that we don't enforce any kind of fairness in the ephemeral range. At twitter, this manifests in connection-heavy jobs using the full ephemeral range. In turn, any executors we attempt to run after this point cannot bind to an ephemeral port.  We should explore enforcement of fair-sharing of ports, not sure how this ties into providing each executor with its own networking stack. This may be unnecessary in the long term depending on how we implement network isolation.   "
Answer: 1046643.0

User story: "The idea would be to allocate (e.g. via the slave command-line or by communicating directly to a specialized allocator) a static ExecutorInfo that would persist forever and never be a candidate for revocation / garbage collection without manual intervention.  Its resources could still be compressed via oversubscription and re-offered but never outright revoked.  Ideally there would be a mechanism to authenticate a framework and allow it to securely lay claim to a preallocated/persistent executor.  The use-case is for carving out slices of machines for stateful / persistent services, e.g. HDFS, Kestrel, Redis, MySQL.  Rather than managing this via puppet, we'd manage them with Mesos and leverage the Mesos toolchain and observability stack."
Answer: 1049678.0

User story: "Right now there are a few things that involve disks:   - sandbox creation   - disk space monitoring   - garbage collection  These operations should probably be abstracted out into some sort of disk isolator / disk manager, e.g. allocate / getsize / deallocate.  For example an allocate implementation may dynamically create ZFS pools across multiple spindles from a 'spindle' resource type and mount that as the sandbox for a task."
Answer: 823768.0

User story: "The basic idea behind the proposal, is to add authorization/authentication support to Mesos. For example, Mesos should only allow authenticated frameworks to register and submit jobs. The plan is to leverage Kerberos/LDAP to add this support. We are also open to suggestions on how we can add support for security and auth in Mesos.  Knowledge Prerequisite: C++ "
Answer: 707526.0

User story: "This sleep should do usleep or nanosleep under the covers."
Answer: 51507.0

User story: "Some users will be interested in running cgroups without certain subsystems, e.g., cpu or memory. Does the usage mechanism properly take that into account?"
Answer: 1099973.0
give resolution time in minutes for the given user story, only provide the number of minutes in the output without any other text

User story: "Basic idea: before launching a task create an ephemeral SELinux role and policy restricting the process from using certain resources starting with ports. Something like (pseudocode - there's a DSL for this or you can make libselinux calls directly)  before task start { create and install policy module with { allow bind to {requested static ports, dynamically allocated ports like %port:http%} deny bind to port * } for type mesos_task_t:taskid } run task taskid in selinux execution context user_u:object_r:mesos_task_t:taskid at task end { uninstall policy module for taskid }  This will prevent races where 2 tasks bind the same port without explicitly requesting them or being allocated them. There is also a security gain as a compromised task cannot easily grab another task's traffic. For inspiration see http://selinuxproject.org/page/SVirt specifically the slide deck at http://namei.org/presentations/svirt-lca-2009.pdf "
Answer: 987786.0

User story: "Vote for this issue if you would *not* like to see Mesos participate in the Google Summer of Code in 2013.  Vote for MESOS-357 if you *would* like to see Mesos participate in the Google Summer of Code in 2013."
Answer: 121129.0

User story: "Vote for this issue if you *would* like to see Mesos participate in the Google Summer of Code in 2013.  Vote for MESOS-358 if you would *not* like to see Mesos participate in the Google Summer of Code in 2013."
Answer: 121131.0

User story: "We now have a message string inside TaskStatus that provides human readable information about TASK_FAILED.  It would be good to add some structure to the failure reasons, for framework schedulers to act on programmatically.  E.g.  enum TaskFailure {   EXECUTOR_OOM;   EXECUTOR_OUT_OF_DISK;   EXECUTOR_TERMINATED;   SLAVE_LOST;   etc.. }"
Answer: 918952.0

User story: "Within Twitter, we have a designer graciously offering time to help out with a logo.  It would be nice if we could involve the community in this process. What do people have in mind for what a mesos logo should look like?"
Answer: 674312.0

User story: Newer kernels have CFS Bandwidth Control facilities in cgroups. http://lwn.net/Articles/465074/  We'd like to support this in order to provide a better mechanism for "hard" cpu limiting.
Answer: 200029.0
give resolution time in minutes for the given user story, only provide the number of minutes in the output without any other text

User story: When the master asks the hadoop executor to start, the executor could be forked successfully but fails quickly which result in the TASK_LOST. The output in **/executors/default/runs/id/stderr looks like below:  Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/mesos/Executor          at java.lang.ClassLoader.defineClass1(Native Method)         at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632)         at java.lang.ClassLoader.defineClass(ClassLoader.java:616)         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)         at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)         at java.net.URLClassLoader.access$000(URLClassLoader.java:58)         at java.net.URLClassLoader$1.run(URLClassLoader.java:197)         at java.security.AccessController.doPrivileged(Native Method)         at java.net.URLClassLoader.findClass(URLClassLoader.java:190)         at java.lang.ClassLoader.loadClass(ClassLoader.java:307)         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)         at java.lang.ClassLoader.loadClass(ClassLoader.java:248) Caused by: java.lang.ClassNotFoundException: org.apache.mesos.Executor         at java.net.URLClassLoader$1.run(URLClassLoader.java:202)         at java.security.AccessController.doPrivileged(Native Method)         at java.net.URLClassLoader.findClass(URLClassLoader.java:190)         at java.lang.ClassLoader.loadClass(ClassLoader.java:307)         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)         at java.lang.ClassLoader.loadClass(ClassLoader.java:248)         ... 12 more Could not find the main class: org.apache.hadoop.mapred.FrameworkExecutor.  Program will exit.  I know the reason is the caller can't find the org.apache.mesos.Executor, and I have found the class in mesos-0.9.0.jar, and I am sure that it can find it(if not, the jobtracker will fail to start). But each time I run it, the executor fails quickly.  I am not familiar with java, so I tried all ways I can get from google, but still can't fix it. I have been suffered from it for almost one week. Anyone can help? I appreciate it very much! Thanks ahead!
Answer: 300357.0
give resolution time in minutes for the given user story, only provide the number of minutes in the output without any other text

User story: "Master should take a list of whitelisted slaves, and only send offers to frameworks for these slaves.  Deployment is one of the scenarios, where this option will come in handy. For eg: when deploying an upgraded mesos that is incompatible with the currently running version in the cluster. The whitelist option allows us to selectively whitelist a (rolling) batch of upgraded slaves, so that new tasks are only scheduled on them."
Answer: 485673.0

User story: "A new isolation module on Linux platforms that uses Linux control groups (cgroups) directly. This is intended to replace the LXC isolation module. The initial goal is to provide memory and cpu isolation. Future goals include disk i/o isolation, network isolation, and file system isolation."
Answer: 263597.0

User story: "I am considering to add Frameworks level disk IO bandwidth support to mesos，which behaves like ionice on the single node，but this time it‘s in multi-nodes。I believe this kind of disk QoS support will be more user friendly。My initial idea is to allow user to use an ioprio_set like api to set the io priority when they commit their job. At the same time, here may need some tools to display the disk IO usage per node/container on the webui.  I have read the mesos paper carefully and I found that in the comment，it mentioned that in the future it will support disk and network bandwidth control。But，in my opinion，disk IO bandwidth is more feasible for it has more locality，and network bandwidth control may be more difficult for the complexity of the network environment。But I don't know why is there nobody going to add this feature。Is it useless？Or not feasible？Or just not interested？  For this feature may need a lot of work，I‘d like to listen to your opinions before I start to work on it。Anybody who have any questions ,suggestions or ideas, please tell me and I appreciate it very much，Thanks！"
Answer: 1491326.0

User story: "Currently, if the root of the process tree dies before killtree is called on it, there is no way to kill processes that belong to that session but have a different group id. There are couple of proposals to solve it  1) Bash: Write a killsess.sh. Issue: ps on osx incorrectly reports the session id. 2) C++: Needs a utility that can list all active processes of the system and their session ids. We have this for linux but not yet for osx."
Answer: 554864.0

User story: "We've encountered occasional issues where a cluster stalls due to many outstanding resource offers.  If master/stats.json included the number of outstanding offers, it would be useful for our alerting."
Answer: 458136.0
give resolution time in minutes for the given user story, only provide the number of minutes in the output without any other text

User story: "Earlier in the year I implemented a virtual machine isolation module. This module uses lib-virt to launch and manage virtual machine containers. The code is still rough and have done basic testing with the Spark example.   This code works with the KVM (http://www.linux-kvm.org/page/Main_Page) virtual machine manager. I've placed the relevant code in a branch called mesos-vm, for now located at https://github.com/<USER>VirtualMesos. The code is based upon the mesos lxc isolation module that is located in src/slave/lxc_isolation_module.cpp/.hpp. My code based on the mesos master branch dated Wed Nov 23 12:02:07 2011 -0800, commit 059aabb2ec5bd7b20ed08ab9c439531a352ba3ec. I'll generate a patch soon for this. Suggestions appreciated on whether this is the appropriate branch/commit to patch against.  Most of the implementation is contained in vm_isolation_module.cpp and vm_isolation_module.hpp and there are some minor additions in launcher to handle setup of the environment for the virtual machine. I use the libvirt (http://libvirt.org/) library, to manage the virtual machine container in which the jobs are executed.  Dependencies The code has been tested on Ubuntu 11.04 and 11.10 and depends on libpython2.6 and libvirt0  Configuration of the virtual machine container The virtual machine invocation depends upon a few configuration assumptions:  1.   ssh public keys installed on the container. I assume that the container is setup to allow password-less secure access.   2.  Directory structure on the container matches the servant machine. For example, in invoking a spark executor, assume that the paths match the setup on the container host.  Running it In the $MESOS_HOME/conf/mesos.conf file add the line     isolation=vm to use the virtual machine isolation.  The Mesos slave is invoked with the isolation parameter set to vm. For example      sudo bin/mesos-slave -m mesos://master@mesos-host:5050 -w 9839 --isolation=vm  Rough description of how it works  The `vm_isolation_module` class forks a process that in turn launches a virtual machine.  A routine  located in bin called find_addr.pl is responsible for figuring out the IP address of the launched virtual machine. This is probably not portable since it is explicitly looking for entry in the virbr0 network.  A script vmLauncherTemplate.sh located in bin assists the the vmLauncher method to setup the environment for launching tasks inside of the virtual machine. The vmLauncher method uses vmLauncherTemplate.sh  to create a tasks specific shell vmLauncherTemplate-<task_id>.sh, which is copied to the running guest and used to run the executor inside the VM. This communicates with the slave on the host.  Comments and suggestions on improvements and next directions are appreciated!"
Answer: 1488480.0
give resolution time in minutes for the given user story, only provide the number of minutes in the output without any other text

User story: It is really painful during writing tests, to check if the code compiles and if the newly written test works as expected.  Currently we have to do 'make check' which not only builds the tests but also runs ALL of them, which is a productivity drain.  It would be really great to have 'make tests' target that would just build the tests, so that one can do './bin/mesos-tests.sh --gtest-filter="NewTest"'.
Answer: 384927.0

User story: "Currently, we can use EXPECT_MESSAGE() in the unit tests to catch messages that were sent using send(). This has proven to be invaluable in our tests.  It would be nice to extend this functionality to also be able to catch those messages that are dispatached (using dispatch())."
Answer: 599343.0

User story: "Vinod has started work on this already - bug is to track this feature as a whole. Existing CL: http://140.211.11.40/r/3881"
Answer: 116783.0

User story: "To make ExecutorInfo more useful without an awkward boostrapping process (fetching a script that fetches and runs the real executor with parameters) it would be nice if ExecutorInfo supported this directly.  Some thoughts for improvements to ExecutorInfo proto message: - make 'uri' a repeated field to allow for multiple artifacts - add a 'command line' field that explicitly dictates the full command to run"
Answer: 505285.0

User story: One of the primary points of confusion about Mesos is the mechanism it provides frameworks to acquire new resources (e.g. cpu, ram, etc.). Currently, frameworks receive callbacks with resource offers which they can accept (entirely or only a portion) or reject. When they accept them, they provide a task to be executed on those resources.  Many engineers we have spoken to have said that they would find it more intuitive to provide their executable up front with a description of which and how many resources they want, and then have mesos do the scheduling.  I propose that Mesos should ship with a framework that can very easily be installed and run by new users, and this framework should accept "Launch Job Requests" expressed via some language that describes the resource requirements and where to find the executable for the tasks in the job.
Answer: 1391988.0

User story: "Slurm is a GPLv2 resource manager which has many features similar to the Torque resource manager. It's used on many of the top500 supercomputers.  See http://github.com/schedmd/slurm for the source code to slurm.  Supporting slurm could be done through a method similar to the python scripts used for Torque. A proof-of-concept-quality version of slurm support is currently in development.   Slurm's support of cgroups may be a point of concern since it may conflict with Mesos' lxc support."
Answer: 1428523.0

User story: This is a small change that would make the scripts easier to use and would let us "patch" the AMI after a release of Mesos comes out.
Answer: 70588.0
give resolution time in minutes for the given user story, only provide the number of minutes in the output without any other text

User story: I'm opening up this "wish" issue as a general place to associate issues that we'd like to solve before our first release sa well as have a place for a general discussion for the first release.
Answer: 178357.0

User story: "Running a long-lived service on Mesos has a significant drawback right now in that Mesos build deploys restart your tasks. This could lead to nontrivial outages for services that have a high warm-up time.  Basically everything would need a graceful restart mechanism that basically allows a shutdown/restart with a new version of the code.   With this feature intended(e.g., deploys) or unintended slave restarts (e.g., crashes) will not kill the tasks underneath. When the slave restarts it recovers by reconnecting with the old live executors/tasks."
Answer: 946759.0

User story: "Display the usage information in the webui in slave."
Answer: 655320.0

User story: "Mesos has changed quite a bit since the last AMI, including several API changes. I've built a new AMI with it (as well as with the latest Spark), and this issue will be for a patch to use this AMI by default."
Answer: 1610.0

User story: Currently, executors can reserve some amount of resources, but this amount of resources cannot be changed except by restarting the executor or placing "dummy" tasks to reserve additional resources. It might be nice if frameworks could adjust the usage of their executors without killing them (for example, to use additional offered memory that becomes available or free up space in hopes of getting offered resources elsewhere).
Answer: 1759390.0

User story: "Supporting Erlang as a framework, by providing a thin library to support Mesos-allocated nodes"
Answer: 1781360.0

User story: "Introduce new / augment old api calls (callbacks) to expose the master url.  Currently there is no way for the scheduler to know what the leading master is. It would be useful for scheduler's to know this information (e.g: pointing to the webui of the leading master). Here is the plan:  1) Augment registered() callback to included this info 2) Implement new callback re-registered() that gets called whenever a master re-election happens. This also contains the new master url. 3) Also implement a new callback masterLost()  that gets called whenever the current master loses election."
Answer: 356592.0

User story: "Having Mesos be installable via debian package (i.e. using dpkg -i) would make it easier for folks to download, install, and try out Mesos!"
Answer: 1511432.0

User story: "This will make it easier for folks to download and try out mesos without having to build it, and increase adoption!"
Answer: 1792373.0

User story: "Add HTTP file server component."
Answer: 1425770.0

User story: "Mesos should eventually report actual resource usage (not just allocations) to the master so aggregate usage can be displayed on the master webui and possibly logged or used by allocators."
Answer: 1798642.0
give resolution time in minutes for the given user story, only provide the number of minutes in the output without any other text

User story: "I'd like to have an API for listing the slaves in the cluster and their resources. This would be useful for frameworks that want to choose their number of tasks based on the size of the cluster (e.g. number of reduce tasks in MapReduce or Spark), and for administrative tools."
Answer: 1226785.0

User story: "Maven is a popular build tool for Java projects. Mesos should publish its Java bindings as maven artifacts.  The first step to doing this is to add Maven metadata to Mesos."
Answer: 6075.0

User story: "Implement reporting of resource usage on executors and log them to a local log file (for now). The eventual usage of this will be to report these statistics to the Mesos master in order to build either or both a timeline for the webui and/or a top-like command-line interface. This improvement ticket is just for the local monitoring and log file reporting. A reporting system (to the master node) will be a later improvement ticket.  With the current version of Mesos, it is not possible to monitor individual tasks. Therefore the best this sort of system can do is monitor the usage of an individual executor and aggregate the resource usage of over the executor's tasks and resource allocations. If frameworks have a 1-to-1 relationship of a job to an executor, then the aggregate statistics will be more meaningful.  Reporting will be available for both lxc isolation and process-based isolation. For lxc isolation the task is easier because of the isolation facilities of lxc. Process-based isolation is more difficult as processes can become re-parented from the process tree of the executor (e.g. double fork). The session ID and the process group ID will likely still be the same as that of the executor except for the uncommon case of the process resetting both of those.  When usage statistics are eventually reported to the Mesos master, it may be possible to use them to oversubscribe slave nodes."
Answer: 620704.0

User story: "Add configuration properties to allow setting two separate Password Policies for App Users and Admin users. These policies should be configurable:  - Minimum password length - Number of uppercase letters required in password - Number of digits required - Number of special characters required"
Answer: 113604.0

User story: "Provide a queue implementation that can be embedded in Usergrid and used as a replacement for the existing AWS and in-memory options."
Answer: 167035.0
give resolution time in minutes for the given user story, only provide the number of minutes in the output without any other text

User story: "At the moment, the log message when there is a duplicate unique value (name) only says there is a collision and does not indicate the UUID of the entity which currently holds the unique value for that type+field.  An improvement would be to include the UUID of the existing entity in the log message.  For an individual operation this may not seem like a worthwhile thing to have.  However, in the case of a mass import of data, it would be useful to have the UUIDs in a log for troubleshooting purposes.  Also, there have beenUsergrid bugs in the past which have resulted in duplicate entities with the same name, so the user may not be able to take action without the UUID of the existing entity in Usergrid."
Answer: 4172.0

User story: Investigate and fix: no cursor returned when getting incoming connections?  --- From <USER>on the user mailing list:  Let's say I have some collection called someentity that has connections to other entities via a verb subscribedto. For a particular entity with id some_id, I'd like to pull all the entities that are connected to this entity via the subscribedto verb. I can do that via this GET request:  /org/app/someentity/some_id/subscribedto  However, I'm not sure how I stream or page through this data if there are thousands or more results. I'm not getting back a cursor or anything. Is having a huge number of connections to a particular entity something that's just not a smart thing to do with Usergrid?   From Dave Johnson: --- Usergrid is designed to support a huge number of connections, and we implemented "edge sharding" to ensure that we are not thwarted by Cassandra's 2-billion column limitation.   The normal way to page through results is to have a cursor, so the fact that you did not get a cursor is a problem, and most likely a bug -- can you share the exact API call you are making as a curl (or HTTPie) command?  Do you see any errors in the logs?    From <USER> --- I have a collection of events, and users can subscribe to those events via a connection called "subscribedto".  For a particular event (some_event_id), I'm trying to stream all the users that are subscribed to that event.  In my scenario, there are over 1000 subscribers.  I'm issuing something like this (note the "connecting" part of the URL, which I accidentally ommitted previously):  curl -X GET "http://myserver:8080/myorg/sandbox/events/some_event_id/connecting/subscribedto?limit=5"  It's correctly limiting to 5 users, but I'm not getting any cursor where I can continue streaming.  If I remove the limit clause, I only get the first 1000 results, which I expect.  But again, no cursor to continue to pull data.   From <USER> --- I should be clear that I DO get a cursor when querying the relationship in the opposite direction.  That is, if a single user is subscribed to more than 1 event, I can stream those successfully and I get a cursor.  It's the inverse direction that's not giving me a cursor.
Answer: 39009.0
give resolution time in minutes for the given user story, only provide the number of minutes in the output without any other text

User story: "The graph read filter will attempt to queue up read repair events to de-index deleted entities.  However, if it encounters a non-time UUID, the deIndex code throws an exception:  Caused by: java.lang.UnsupportedOperationException: Not a time-based UUID  at java.util.UUID.timestamp(UUID.java:293)  at org.apache.usergrid.corepersistence.index.IndexServiceImpl.deIndexEntity(IndexServiceImpl.java:284)  at org.apache.usergrid.corepersistence.asyncevents.EventBuilderImpl.buildEntityDelete(EventBuilderImpl.java:132)  at org.apache.usergrid.corepersistence.pipeline.read.traverse.AbstractReadGraphFilter.lambda$null$1(AbstractReadGraphFilter.java:159) "
Answer: 2.0

User story: "The USERGRID-1268 Proof-Of-Concept (POC) work showed that the Akka Actor System approach can be an effective way to resolve the distributed and multi-region unique values verification problem for Usergrid.  The next step is to implement this same Akka approach within Usergrid.   GitHub PR #543 implements this new feature. https://github.com/apache/usergrid/pull/543  This Google Docs presentation summarizes the architecture, test results and new configuration properties: https://docs.google.com/presentation/d/1sq9MxLARKkMVWSFMH7aSc89dVN8T_sPezildEBjwpmw/edit#slide=id.p "
Answer: 29068.0

User story: "Add settings for localhost system requests:  usergrid.sysadmin.localhost.only: true = allow sysadmin requests only via localhost false = non-localhost requests can provide sysadmin credentials (default)  All sysadmin requests still require credentials. -usergrid.sysadmin.localhost.requires.credentials:- -true = localhost sysadmin requests require credentials (default)- -false = localhost sysadmin requests do not require credentials-"
Answer: 32870.0

User story: "Whenever bad input is received, the API should response with 400 Bad Request and a meaningful error response message."
Answer: 5933.0

User story: "Currently old versions of entities in Elasticsearch are found by querying elasticsearch.  This can lead to many documents being returned and also put high stress on Elasticsearch.  This information should exist in Cassandra.  We should query and get older versions and then build the docIds for ES directly and send a de-index request ( or batches of de-index requests)."
Answer: 5607.0

User story: "Observed when Usergrid application servers were running out of memory, thousands of Elasticsearch exception stack traces were logged.  Change this to log only the exception message and no need to print the full stack trace."
Answer: 3.0

User story: "When push notifications are used, NotificationsService opens a new instance of ApplicationQueueManager on every request.  The same occurs when push notification messages are processed from the queue.  Cache this as it can be long lived and re-used per application in Usergrid.  This will help the memory footprint such that we don't create objects faster than we can GC them."
Answer: 4.0
give resolution time in minutes for the given user story, only provide the number of minutes in the output without any other text

User story: "Default is 100 threads per async AWS client.  Reduce this to 25 and the queue size much lower to ensure Usergrid is processing less in memory at any given time. "
Answer: 7.0

User story: "Update the default setting from NODE to TRANSPORT for the Elasticsearch client.  This reduces overhead in Usergrid by not having Usergrid application servers join the Elasticsearch cluster, rather they can just execute HTTP API requests to Elasticsearch."
Answer: 4.0

User story: This is an enhancement of the new selective indexing features that that, if you specify a type's schema as "!" then the type will not be indexed at all, and will not be out into the queue for indexing.
Answer: 136964.0

User story: "LockManager is not successfully injected into OnlyOnceJob. Need to inject after Spring has constructed the object."
Answer: 2192.0

User story: "During the shard compaction process, columns (edges) are moved from a source shard (row) to a target shard to balance the size against the configured shard size in Usergrid.  This causes tombstones to be created and can make seeks slower or potentially cause timeout exceptions in Astyanax if the tombstone overwhelming exception from Cassandra is thrown.   Implement the ability to 'mark' a shard's last valid edge so that can be fed into the range scan when retrieving the row (shard). "
Answer: 3074.0

User story: "By using an distributed Actor System, we can ensure that only one thread accesses any one unique value at a time. I have a working proof of concept of this that writes to Cassandra (via Java Native Driver).  Initial design is here: https://docs.google.com/document/d/1o9okFgNb_c1RY0eIcZMhijhxE9v7BxHYDiuI8BqkLgU/edit#  Proof of Concept (POC) code is here: https://github.com/snoopdave/akka_poc1  Presentation that explains the POC is here: https://docs.google.com/presentation/d/11ARSPZ6IAxOYSTo4jcmEdnzXvOgVGNGslznmVtLOZjY/edit?usp=sharing "
Answer: 70381.0

User story: Instead of requiring that clients first validate tokens obtained from an external "Central SSO" system, when Usergrid is configured for using Central SSO, it should attempt to verify any unknown token itself.  This can be implemented by moving the validate external token logic from the ManagementResource and into the TokenService.
Answer: 21917.0

User story: This missing entity should return a 404: https://api-connectors-prod.apigee.net/appservices/api-connectors/sdksandbox/nodejs/2f2ec3d7-d40f-11e5-860f-0a65ea91a1eb   {"error":"service_resource_not_found","timestamp":1455559868909,"duration":0,"error_description":"Service resource not found","exception":"org.apache.usergrid.services.exceptions.ServiceResourceNotFoundException"}
Answer: 123137.0
give resolution time in minutes for the given user story, only provide the number of minutes in the output without any other text

User story: "Full system re-index job (http://localhost:8080/system/index/rebuild), seems to stop / hang after 20-30 hours of indexing. Usergrid seems to exhaust the 4.5 GB of RAM. Please see logs below:  1. UserGrid logs (out of java heap space) Feb 04 17:06:32 Usergrid-2 catalina.out:  06:36:31,961  WARN OioServerSocketPipelineSink:83 - Failed to accept a connection. Feb 04 17:06:32 Usergrid-2 catalina.out:  java.lang.OutOfMemoryError: Java heap space Feb 04 15:05:03 Usergrid-2 catalina.out:  04:34:25,166  WARN jvm:203 - [default] [gc][old][29454][2683] duration [54.2s], collections [3]/[54.3s], total [54.2s]/[13.2h], memory [4.4gb]->[4.4gb]/[4.4gb], all_pools {[young] [532.5mb]->[532.5mb]/[532.5mb]}{[survivor] [62.5mb]->[65mb]/[66.5mb]}{[old] [3.8gb]->[3.8gb]/[3.8gb]} Feb 03 20:38:34 Usergrid-2 catalina.out: 10:08:34,616 ERROR AmazonAsyncEventService:361 - Failed to index message: 886ea9bd-708d-4bea-ab1c-844ff97c947c   2. ES logs (time out, removed non-data node from cluster) Feb 04 16:00:33 Elasticsearch elasticsearch.log:  [2016-02-04 05:31:17,243][INFO ][cluster.service          ] [Arlette Truffaut] removed {[default][3GuynlamR6GvdiCAhhTBmw][ip-10-0-0-237][inet[/10.0.0.237:9301]]{client=true, data=false},}, reason: zen-disco-node_failed([default][3GuynlamR6GvdiCAhhTBmw][ip-10-0-0-237][inet[/10.0.0.237:9301]]{client=true, data=false}), reason failed to ping, tried [3] times, each with maximum [30s] timeout Feb 04 16:00:33 Elasticsearch elasticsearch.log:  [2016-02-04 05:31:17,256][DEBUG][action.admin.cluster.node.stats] [Arlette Truffaut] failed to execute on node [3GuynlamR6GvdiCAhhTBmw] Feb 04 16:00:33 Elasticsearch elasticsearch.log:  org.elasticsearch.transport.NodeDisconnectedException: [default][inet[/10.0.0.237:9301]][cluster:monitor/nodes/stats[n]] disconnected   Is it possible that the re-indexing code in Usergrid could have memory leaks and thus uses up all the java heap memory. Please help.  Thanks <USER>
Answer: 341907.0

User story: "We need a Usergrid SDK in Swift to enable support for tvOS, iOS and watchOS."
Answer: 10966.0
give resolution time in minutes for the given user story, only provide the number of minutes in the output without any other text

User story: "Seeing a lot of exceptions like the following which indicate that the current workflow for writing and validating unique values (e.g. name/username/email properties):  Caused by: java.lang.RuntimeException: Could not retrieve unique value for field email, unable to verify         at org.apache.usergrid.persistence.collection.mvcc.stage.write.WriteUniqueVerify$ConsistentReplayCommand.executeStrategy(WriteUniqueVerify.java:201)         at org.apache.usergrid.persistence.collection.mvcc.stage.write.WriteUniqueVerify$ConsistentReplayCommand.run(WriteUniqueVerify.java:173)         at org.apache.usergrid.persistence.collection.mvcc.stage.write.WriteUniqueVerify$ConsistentReplayCommand.run(WriteUniqueVerify.java:150)         at com.netflix.hystrix.HystrixCommand$1.call(HystrixCommand.java:294)         ... 21 more Caused by: rx.exceptions.OnErrorThrowable$OnNextValue: OnError while emitting onNext value: org.apache.usergrid.persistence.collection.mvcc.stage.CollectionIoEvent.class         at rx.exceptions.OnErrorThrowable.addValueAsLastCause(OnErrorThrowable.java:104)         at rx.internal.operators.OperatorDoOnEach$1.onNext(OperatorDoOnEach.java:81)         at rx.internal.util.ScalarSynchronousObservable$ScalarSynchronousAction.call(ScalarSynchronousObservable.java:115)         at rx.internal.schedulers.ScheduledAction.run(ScheduledAction.java:55)         at rx.schedulers.ExecutorScheduler$ExecutorSchedulerWorker.run(ExecutorScheduler.java:98)  We should see how to improve this so we can handle unique values at scale (likely introducing something like akka with consistent hash routing of the write operation)."
Answer: 111978.0

User story: "Default entity types do not show up on GET /<application> endpoint when there are 0 entities of that type (none in the collection)  e.g. users  Due to this the portal may not show the default collections when there are 0 entities in the collection.  This is happening now that graph edges are cleaned up properly, but we should discuss showing these since they are default, reserved typed entities in Usergrid."
Answer: 24075.0
give resolution time in minutes for the given user story, only provide the number of minutes in the output without any other text

User story: "com.clearspring.analytics.hash.MurmurHash is found in the fasterutil dependency which is 16MB.  We want to pare down the size of the REST WAR file.  Let's see if there is an alternative.  Here is the maven dependency: {code}     <dependency>       <groupId>com.clearspring.analytics</groupId>       <artifactId>stream</artifactId>       <version>2.7.0</version>     </dependency> {code}  Look for the com.clearspring.analytics package.  Seems to be used in GCM Adapter: {code}    private Batch getBatch( Map<String, Object> payload) {        synchronized (this) {            long hash = MurmurHash.hash64(payload);            Batch batch = batches.get(hash);            if (batch == null && payload != null) {                batch = new Batch(notifier, payload);                batches.put(hash, batch);            }            return batch;        }    } {code}  Also the CountMinSketch is used from this dependency:  org/apache/usergrid/services/notifications/impl/ApplicationQueueManagerImpl.java:111 {code} final CountMinSketch sketch = new CountMinSketch(0.0001,.99,7364181); //add probablistic counter to find dups {code} "
Answer: 3221.0

User story: Concatenating strings when logging creates temporary strings that can have a negative effect on GC. Instead, log4j's string formatting functionality should be used.  Example: Replace logger.info("Invalid property value. name = " + name + ", value = " + value); with logger.info("Invalid property value. name = {}, value = {}", name, value);  Also: 1) Standardize on slf4j version 1.7.2, which includes variable argument support. 2) Remove extraneous object creation (for when variable argument support didn't exist). 3) Change debug statements for element creation/deletion, connections, etc. to trace.
Answer: 5600.0

User story: "The usergrid.view.* properties are currently used to redirect on activation or confirmation of organizations or users. These may need to be configured differently for different customers.  The usergrid.view.* property names are made by concatenating package, template and class names, so instead of adding them as hardcoded org config items, add a property (usergrid.org.config.property.regex) to specify the regex for additional properties that may be configured by org.  Also, add check for org overrides for the redirect properties."
Answer: 6984.0

User story: "Add message-id to the smtp logs.  http://stackoverflow.com/questions/5555119/sending-email-using-smtp-and-setting-the-message-id  This will help us track whether usergrid is failing to send registration email or if it is the mail service. There also needs to be additional logging enabled to track what stages the emails goes through if it is needed."
Answer: 10308.0
give resolution time in minutes for the given user story, only provide the number of minutes in the output without any other text

User story: Getting an email when trying to activate an organization: {"error":"unauthorized","timestamp":1405399644281,"duration":0,"exception":"org.apache.usergrid.rest.exceptions.SecurityException","error_description":"No organization access authorized"} Steps to reproduce - sign up for an account, then click activation link in email that goes to sys admin  When the link is clicked then the following message pops up. Ideally it should be a rest response that denotes show the activation was successful.
Answer: 1658.0

User story: According to usergrid documentation -  "Groups are hierarchical. Every member of the group /groups/california/san-francisco is also a member of the group /groups/california" (https://usergrid.apache.org/docs/user-management/group.html).  Based on above concept I have created two groups - Group1 /california/san-francisco has users - user1, user2 and Group2 /california has users - user3, user4.  Based on usergrid documentation I am expecting that user1 and user2 should also be members of Group2 but they are not(if I am hitting url - /groups/california/users, it only returns user3 and user4, Should not it also return user1 and user2?)  Also I have posted an activity in Group2 /california which is appearing in feeds of users of Group2 i.e. - user3, user4, but not appearing in the feed of Group /groups/california/san-francisco users i.e. - user1, user2.  What am I doing wrong? Please suggest.
Answer: 70410.0

User story: "Implement locks and a lock manager using Astyanax driver."
Answer: 17.0

User story: "Fix all the broken asset tests"
Answer: 1508.0

User story: "Develop a duplicate admin user repair tool that is testable with a dry-run feature."
Answer: 40026.0

User story: 1. Add usergrid.api.url.base property (defaults to http://localhost:8080/ROOT) that can be overridden for an org. 2. The confirmation and activation properties are hardcoded paths and don't need org overrides. Example: usergrid.admin.activation.url is built by concatenating usergrid.api.url.base and "/management/users/%s/activate" 3. swagger.basepath removed and replaced by usergrid.api.url.base. 4. Refactor orgconfig to return system defaults if not configurable by org.  usergrid.redirect_root changes will happen later -- org not known when setting is being used, so no need to add an org config item.
Answer: 27358.0

User story: "We need integration test validation for DELETE APP.  We also need to handle really deleting the application data.  [~<USER>"
Answer: 162507.0

User story: "Review the code paths and look at areas where we can improve the code (low hanging fruit, obvious things) which reduce the GC pressure."
Answer: 272589.0

User story: "We have seen a large number of long GC pauses"
Answer: 117940.0

User story: "We need to create a 2.1 release for Apache.  Would be nice to have a binary WAR distribution."
Answer: 81938.0
give resolution time in minutes for the given user story, only provide the number of minutes in the output without any other text

User story: This is just to pick off any low-hanging fruit re error messages.  Example: curl -H "Authorization:Bearer $UGTOKEN" -X POST "http://localhost:8080/management/users/<EMAIL>" {"error":"management","timestamp":1451521189319,"duration":0,"error_description":"Could not find organization for email : <EMAIL>","exception":"org.apache.usergrid.management.exceptions.ManagementException"}  Error message should be "Could not find user for email..."
Answer: 11414.0

User story: "Doing PUT creates a duplicate edge on /management/orgs/org/users/email  for existing users who were already on the org, the POST command to /management/orgs/org/users/email creates a duplicate edge "
Answer: 8612.0

User story: "- Will need superuser credentials. - Will delete admin user. - Will remove all connections from said admin user. ( might automatically be done. needs verifying. )  -Verify can be recreated "
Answer: 8664.0

User story: "We are tracking down the need for lots of GC on continuous PUT by name (different name/entities).  When looking at this we discovered that there are two GETs of an entity when doing PUT by name: 1) GET to see if it exists and 2) GET to get the entity to update (since PUT is really a PATCH).  It would be more optimal to only have one GET in this scenario"
Answer: 645.0

User story: "Update NotificationsService to be allow removal of notifications that are not in a processing state:  {code} @Override     protected boolean isDeleteAllowed(ServiceContext context, Entity entity) {         Notification notification = (Notification) entity;         Notification.State state = notification.getState();         return !(state.equals(Notification.State.CREATED) || state.equals(Notification.State.STARTED) ||                 state.equals(Notification.State.SCHEDULED));     } {code}"
Answer: 22726.0

User story: "Due to a bug that still needs investigation it is possible for Usergrid 1.x system to have multiple organizations with the same name, duplicate organizations. This can cause login problems for admin users of the organization that was duplicated and the duplicated.    To clean up this problem we need to create a tool that examines all organizations in a Usergrid system and merges duplicate organizations. For each set up duplicates the tool must pick the oldest organization and move all admin users and applications of the duplicates to that one oldest organization."
Answer: 85037.0

User story: select * where x.y.z.location within d of x,y Load 3 entities  Test: 1) entities within specified distance are included and others are not.  ensure correct level of precision or document rounding. 2) test 'not' condition 3) test paging  {   "x": {     "y": {       "z": {         "location": {           "lat": 1.0,           "lon": 2.0         }       }     }   } } 
Answer: 647798.0

User story: "In buildEntityDelete in EventBuilderImpl, it can return null.  This is causing NPEs in AbstractReadGraphFilter.  We should return a result set with an empty observable instead of returning null."
Answer: 477.0
give resolution time in minutes for the given user story, only provide the number of minutes in the output without any other text

User story: "The EventsResource was broken during two-dot-o development and the tests in EventsResourceIT were marked ignore.  Fix the EventsResource and re-enable the tests."
Answer: 252302.0

User story: "And when you do, un-ignore this test:      AdminEmailEncodingIT.getTokenQuote()"
Answer: 709356.0

User story: "Four of the MessagesIT tests are ignored. Fix these tests and un-ignore them."
Answer: 252344.0

User story: "Six of the AdminUsersIT tests are ignored because they interfere with other tests and other reasons.  Figure out how to run those tests serially or some other way to test admin user features."
Answer: 8951.0

User story: "Currently many of the NotificationsServiceIT and NotifiersServiceIT test are either broken or incomplete because we were unable to create the mocks we need to test the code. We should revisit this and figure out how to get better test coverage for notifications in general.  Search the code for USERGRID-1113 to find the tests that should be unignored, fixed, replace or deleted."
Answer: 82319.0

User story: "Currently this test is ignored in Usergrid master branch: ApplicationResourceIT.clientCredentialsFlowWithHeaderAuthorization()  If it is still relevant we should fix it and un-ignore it."
Answer: 16018.0

User story: "Ensure code makes it in to prevent wide rows in unique_values CF due to old versions not getting cleaned up "
Answer: 2846.0

User story: "If indexing requests make it to another region before C* has replicated the data, and a local quorum read fails, we retry with a quorum read immediately. It would be better to give some time for C* to replicate the data, so we should put the message back in the queue at least once before trying the quorum read.  The delete issues we had show how bad large amounts of quorum reads can be on a C* cluster, so we should avoid where possible."
Answer: 208717.0

User story: "When read repair is triggered, it is possible that there are now deIndexRequests to be queued.  Currently we're queueing empty operations and need to filter this properly."
Answer: 6958.0

User story: "DELETE on /org/app/users/{missing_uuid} returns 401.  It should return 404 when there is a valid token used."
Answer: 212131.0

User story: "For a recent customer issue..."
Answer: 3.0