[
https://issues.apache.org/jira/browse/AMBARI-1867?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13628367#comment-13628367
]
Sumit Mohanty commented on AMBARI-1867:
---------------------------------------
* ambari-server/src/main/java/org/apache/ambari/server/orm/dao/StageDAO.java
** Are we expected to wrap even single statement with { }? If so then lines
118/131/133 should be enclosed with { }
** findRequestContext - perhaps its OK. When we send invalid request id then we
will still get empty string
*
ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariManagementControllerImpl.java
(
** Line 3591: Why is this method decorated Transactional? Should it be
@Transactional(readOnly = True)?
* ambari-server/src/main/java/org/apache/ambari/server/orm/dao/DaoUtils.java
** Whats the difference between selectOne and selectSingle?
> Processing API requests takes too long
> --------------------------------------
>
> Key: AMBARI-1867
> URL: https://issues.apache.org/jira/browse/AMBARI-1867
> Project: Ambari
> Issue Type: Bug
> Components: controller
> Affects Versions: 1.3.0
> Reporter: Siddharth Wagle
> Assignee: Siddharth Wagle
> Fix For: 1.3.0
>
> Attachments: AMBARI-1867.patch
>
>
> http://<host>:8080/api/v1/clusters/c1/ takes over 5 seconds.
> Tried querying with different fields and noticed
> http://<host>:8080/api/v1/clusters/c1?fields=requests again takes over 5
> seconds.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira