You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafodion.apache.org by "Venkat Muthuswamy (JIRA)" <ji...@apache.org> on 2016/02/09 18:38:18 UTC
[jira] [Resolved] (TRAFODION-1814) REST Servers' pstack API does
not return pstack information of process
[ https://issues.apache.org/jira/browse/TRAFODION-1814?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Venkat Muthuswamy resolved TRAFODION-1814.
------------------------------------------
Resolution: Fixed
code delivered
> 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
> Assignee: 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)