ace issueshttps://gitlab.umiacs.umd.edu/adapt/ace/-/issues2018-01-23T08:32:47-05:00https://gitlab.umiacs.umd.edu/adapt/ace/-/issues/40Additional Collection States2018-01-23T08:32:47-05:00Ghost UserAdditional Collection StatesIn the event of an audit failure (interrupt, network, etc), we want this information to be easily available to the user. This should be able to be completed without the need for too many changes through the collection state.In the event of an audit failure (interrupt, network, etc), we want this information to be easily available to the user. This should be able to be completed without the need for too many changes through the collection state.1.12https://gitlab.umiacs.umd.edu/adapt/ace/-/issues/49Add Remove All to Report2018-05-22T15:03:05-04:00Ghost UserAdd Remove All to ReportAllow removal of all corrupt/missing/etc monitored_items from a ReportAllow removal of all corrupt/missing/etc monitored_items from a Reporthttps://gitlab.umiacs.umd.edu/adapt/ace/-/issues/7Add role restrictions in ListController2018-01-23T08:32:47-05:00Ghost UserAdd role restrictions in ListControllerCurrently anyone can browse collections and get their status information. We should mimic the webapp's roles for how viewing collections is handled.Currently anyone can browse collections and get their status information. We should mimic the webapp's roles for how viewing collections is handled.https://gitlab.umiacs.umd.edu/adapt/ace/-/issues/41Allow truncation of size in Stats Servlet2018-01-23T08:32:47-05:00Ghost UserAllow truncation of size in Stats ServletHave an option to allow one to choose between Bytes/MB/GB/etc in the statistics servletHave an option to allow one to choose between Bytes/MB/GB/etc in the statistics servlethttps://gitlab.umiacs.umd.edu/adapt/ace/-/issues/52Ambiguous log statement2018-05-16T13:29:43-04:00Ghost UserAmbiguous log statementA frequent point of concern from people looking at the `aceam.log` are messages of the form:
```
[26/Apr/2018:15:46:43] [Audit] Driver returned Item: /tagmanifest-sha256.txt error: false error msg: null hash: 748cddb196ac6a1bc36009052573...A frequent point of concern from people looking at the `aceam.log` are messages of the form:
```
[26/Apr/2018:15:46:43] [Audit] Driver returned Item: /tagmanifest-sha256.txt error: false error msg: null hash: 748cddb196ac6a1bc360090525730f3c0774efb6d20463ebe19b661f462da6d2
```
we should include a proper delimiter to separate each key/value in the message.https://gitlab.umiacs.umd.edu/adapt/ace/-/issues/30AuditTokens ends before validation finishes2018-05-16T14:11:28-04:00Ghost UserAuditTokens ends before validation finishesThe log event `Token Audit Finish` can be seen occurring before `Token Valid` events complete. This is likely due to running tasks for cleaning up the audit token thread before the validator is closed (and is given time to finish).The log event `Token Audit Finish` can be seen occurring before `Token Valid` events complete. This is likely due to running tasks for cleaning up the audit token thread before the validator is closed (and is given time to finish).1.13https://gitlab.umiacs.umd.edu/adapt/ace/-/issues/44Calendar selection for statistics before/after2018-05-24T13:13:42-04:00Ghost UserCalendar selection for statistics before/afterWhen setting a before/after date, it would be easier if we provide the means of doing this through a calendar. It might be useful to have a second prompt for the time as well. Both of these would help alleviate any issues from bad format...When setting a before/after date, it would be easier if we provide the means of doing this through a calendar. It might be useful to have a second prompt for the time as well. Both of these would help alleviate any issues from bad formats.
Before this is in, we should at least provide an example in the placeholder.https://gitlab.umiacs.umd.edu/adapt/ace/-/issues/43Clean install fails on first run2018-05-22T12:24:34-04:00Ghost UserClean install fails on first runWhen running the Audit Manager in a clean install, some db errors are experienced. This should be fixed before the next release.
ex
```
SEVERE: Exception sending context initialized event to listener instance of class edu.umiacs.ace.mon...When running the Audit Manager in a clean install, some db errors are experienced. This should be fixed before the next release.
ex
```
SEVERE: Exception sending context initialized event to listener instance of class edu.umiacs.ace.monitor.audit.AuditConfigurationContext
javax.persistence.NoResultException: getSingleResult() did not retrieve any entities.
at org.eclipse.persistence.internal.jpa.QueryImpl.throwNoResultException(QueryImpl.java:976)
at org.eclipse.persistence.internal.jpa.QueryImpl.getSingleResult(QueryImpl.java:526)
at org.eclipse.persistence.internal.jpa.EJBQueryImpl.getSingleResult(EJBQueryImpl.java:400)
at edu.umiacs.ace.monitor.audit.AuditConfigurationContext.contextInitialized(AuditConfigurationContext.java:88)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5118)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5634)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:899)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:875)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:679)
at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1966)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:748)
```1.13https://gitlab.umiacs.umd.edu/adapt/ace/-/issues/38Compare API2018-01-23T08:32:47-05:00Ghost UserCompare APIAdd a rest API mimicking the 'Collection Compare' servlet we have. It taken in something with a data structure like, List<Tuple>, where our Tuple is a (path, hash). The tuple will be a named class, but that can be determined later.
The ...Add a rest API mimicking the 'Collection Compare' servlet we have. It taken in something with a data structure like, List<Tuple>, where our Tuple is a (path, hash). The tuple will be a named class, but that can be determined later.
The response should be similar to the Compare servlet as well, showing items which are the same, different, or not found.1.12https://gitlab.umiacs.umd.edu/adapt/ace/-/issues/47Count incorrect after removing files from collections2018-05-08T14:11:22-04:00Ghost UserCount incorrect after removing files from collectionsWe noticed when removing some files from the production ACE at UMIACS that the collection count was not properly updated. These were removed from the Browse Servlet, so that's the first place to start looking.We noticed when removing some files from the production ACE at UMIACS that the collection count was not properly updated. These were removed from the Browse Servlet, so that's the first place to start looking.https://gitlab.umiacs.umd.edu/adapt/ace/-/issues/3Display If There's a Token Ingestion in ACE2018-05-16T11:46:19-04:00Ghost UserDisplay If There's a Token Ingestion in ACEWhen ingesting tokens for large collections we need feedback on what's going on. Similar to how audits display information both in changing the icon and status, we should have something for token ingestion.When ingesting tokens for large collections we need feedback on what's going on. Similar to how audits display information both in changing the icon and status, we should have something for token ingestion.https://gitlab.umiacs.umd.edu/adapt/ace/-/issues/66Duplicates NPE2019-06-05T12:45:44-04:00Ghost UserDuplicates NPEQuerying on /ReportDuplicates?json=true causes a NPE
```
edu.umiacs.ace.monitor.access.CollectionCountContext.getFileCount(CollectionCountContext.java:195)
edu.umiacs.ace.monitor.compare.DuplicateReportServlet.processRequest(DuplicateRe...Querying on /ReportDuplicates?json=true causes a NPE
```
edu.umiacs.ace.monitor.access.CollectionCountContext.getFileCount(CollectionCountContext.java:195)
edu.umiacs.ace.monitor.compare.DuplicateReportServlet.processRequest(DuplicateReportServlet.java:125)
```https://gitlab.umiacs.umd.edu/adapt/ace/-/issues/33Fix css in Statistics servlet2018-01-23T08:32:47-05:00Ghost UserFix css in Statistics servletMany of the rows in the table end up going out of bounds due to the length of the date, collection name, and size.Many of the rows in the table end up going out of bounds due to the length of the date, collection name, and size.https://gitlab.umiacs.umd.edu/adapt/ace/-/issues/5json=true returns text/plain2018-05-24T14:06:13-04:00Ghost Userjson=true returns text/plainWhen getting json from the status page using /Status?json=true, the response will have a Content-Type of text/plain. It should be application/json.When getting json from the status page using /Status?json=true, the response will have a Content-Type of text/plain. It should be application/json.https://gitlab.umiacs.umd.edu/adapt/ace/-/issues/69ListItems exception2019-06-05T12:45:35-04:00Ghost UserListItems exceptionQuerying to /ListItem?json=true will trigger an exception. A collectionid is probably expected, but none is found.Querying to /ListItem?json=true will trigger an exception. A collectionid is probably expected, but none is found.https://gitlab.umiacs.umd.edu/adapt/ace/-/issues/6NPE in browse servlet2018-05-24T13:55:40-04:00Ghost UserNPE in browse servlet```
java.lang.NullPointerException
edu.umiacs.ace.monitor.access.browse.BrowseServlet.loadFileBean(BrowseServlet.java:138)
edu.umiacs.ace.monitor.access.browse.BrowseServlet.processRequest(BrowseServlet.java:117)
edu.umiacs.ace.ut...```
java.lang.NullPointerException
edu.umiacs.ace.monitor.access.browse.BrowseServlet.loadFileBean(BrowseServlet.java:138)
edu.umiacs.ace.monitor.access.browse.BrowseServlet.processRequest(BrowseServlet.java:117)
edu.umiacs.ace.util.EntityManagerServlet.wrapRequest(EntityManagerServlet.java:120)
edu.umiacs.ace.util.EntityManagerServlet.doGet(EntityManagerServlet.java:244)
javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
edu.umiacs.ace.rest.CharsetFilter.doFilter(CharsetFilter.java:41)
```
https://gitlab.umiacs.umd.edu/adapt/ace/-/issues/1NPE in IngestThreadPool2018-05-22T12:42:35-04:00Ghost UserNPE in IngestThreadPoolIf we shutdown the pool before it is ever instantiated, we'll have a NPE thrown. This is fairly minor, but should still be taken care of (likely by changing how we created our instance of the object).If we shutdown the pool before it is ever instantiated, we'll have a NPE thrown. This is fairly minor, but should still be taken care of (likely by changing how we created our instance of the object).https://gitlab.umiacs.umd.edu/adapt/ace/-/issues/59NPE in IngestThreadPool submitTokens2019-04-10T14:25:05-04:00Ghost UserNPE in IngestThreadPool submitTokensIf a token store is resubmitted for a collection before it finishes processing, a null pointer will be returned in place of a Future which will throw a NullPointerException when trying to use it.If a token store is resubmitted for a collection before it finishes processing, a null pointer will be returned in place of a Future which will throw a NullPointerException when trying to use it.https://gitlab.umiacs.umd.edu/adapt/ace/-/issues/28OOM in AuditThread2018-01-23T08:32:47-05:00Ghost UserOOM in AuditThreadWhen auditing a large collection which has many (500k+) missing files, we pull the entire result set in to memory which then causes us to run out of heap space. We should instead use a cursor to iterate.
This is the result of Monitore...When auditing a large collection which has many (500k+) missing files, we pull the entire result set in to memory which then causes us to run out of heap space. We should instead use a cursor to iterate.
This is the result of MonitoredItemManager.listItemsBefore, of which the only usage is in the AuditThread.https://gitlab.umiacs.umd.edu/adapt/ace/-/issues/27Peer Auditing Collection Pulling2018-05-18T15:34:17-04:00Ghost UserPeer Auditing Collection PullingWith the new pagination of collections, the peer auditing selections are restricted and only show a limited view of the peer ACE.
One option would be to choose the group and collection separately. Otherwise we could try to have somethin...With the new pagination of collections, the peer auditing selections are restricted and only show a limited view of the peer ACE.
One option would be to choose the group and collection separately. Otherwise we could try to have something where we continue scrolling, though I'm not sure how that would integrate in to ACE.1.13