[ https://issues.apache.org/jira/browse/TRAFODION-1814?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Venkat Muthuswamy updated TRAFODION-1814: ----------------------------------------- Description: The REST servers pstack api does not work as expected. The REST API uses the sqpstack script under the covers. While the sqpstack works as expected, the REST APIs do not return the complete results. The API to get pstack of all processes does not return information for all processes. For example if sqpstack returns pstack for 2 processes, only the first pstack information is returned. http://<host>:4200/v1/servers/pstack The API to get pstack for a user specified process returns an exception instead of the pstack info, even though the underlying sqpstack command works fine. http://<host>:4200/v1/servers/pstack/program/<pid> The response is an exception string { "RemoteException": { "javaClassName": "org.trafodion.rest.NotFoundException", "exception": "NotFoundException", "message": "No pstack resources found" } } > REST Servers' pstack API does not return pstack information of process > ---------------------------------------------------------------------- > > Key: TRAFODION-1814 > URL: https://issues.apache.org/jira/browse/TRAFODION-1814 > Project: Apache Trafodion > Issue Type: Bug > Reporter: Venkat Muthuswamy > > The REST servers pstack api does not work as expected. The REST API uses the > sqpstack script under the covers. While the sqpstack works as expected, the > REST APIs do not return the complete results. > The API to get pstack of all processes does not return information for all > processes. For example if sqpstack returns pstack for 2 processes, only the > first pstack information is returned. > http://<host>:4200/v1/servers/pstack > The API to get pstack for a user specified process returns an exception > instead of the pstack info, even though the underlying sqpstack command works > fine. > http://<host>:4200/v1/servers/pstack/program/<pid> > The response is an exception string > { > "RemoteException": { > "javaClassName": "org.trafodion.rest.NotFoundException", > "exception": "NotFoundException", > "message": "No pstack resources found" > } > } -- This message was sent by Atlassian JIRA (v6.3.4#6332)