[teiid-issues] [JBoss JIRA] (TEIIDSB-121) cpu utilization on 100% when generate openapi doc by metadata

Renat Eskenin (Jira) issues at jboss.org
Fri Sep 27 05:07:01 EDT 2019


     [ https://issues.jboss.org/browse/TEIIDSB-121?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Renat Eskenin updated TEIIDSB-121:
----------------------------------
    Description: 
When i get request as 
http://localhost:8080/odata/swagger.json or http://localhost:8080/odata/datasource/Account/swagger.json or http://localhost:8080/odata/datasource/swagger.json
cpu utilization 100% and i do not get any response.

We have 2 bad approach:
1. In org.teiid.olingo.web.OpenApiHandler:151 teiid create tmp file in filesystem.
Its bad because in Docker k8s systems applications can't create any files in FS.
2. In org.apache.xalan.transformer.TransformerImpl:709 we get system freeze (CPU utilization 100% infinite)

  was:
When i get request as 
http://localhost:8080/odata/swagger.json or http://localhost:8080/odata/Account/swagger.json
cpu utilization 100% and i do not get any response.

We have 2 bad approach:
1. In org.teiid.olingo.web.OpenApiHandler:151 teiid create tmp file in filesystem.
Its bad because in Docker k8s systems applications can't create any files in FS.
2. In org.apache.xalan.transformer.TransformerImpl:709 we get system freeze (CPU utilization 100% infinite)



> cpu utilization on 100% when generate openapi doc by metadata
> -------------------------------------------------------------
>
>                 Key: TEIIDSB-121
>                 URL: https://issues.jboss.org/browse/TEIIDSB-121
>             Project: Teiid Spring Boot
>          Issue Type: Bug
>          Components: datasource, OData
>    Affects Versions: 1.2.0
>            Reporter: Renat Eskenin
>            Priority: Major
>
> When i get request as 
> http://localhost:8080/odata/swagger.json or http://localhost:8080/odata/datasource/Account/swagger.json or http://localhost:8080/odata/datasource/swagger.json
> cpu utilization 100% and i do not get any response.
> We have 2 bad approach:
> 1. In org.teiid.olingo.web.OpenApiHandler:151 teiid create tmp file in filesystem.
> Its bad because in Docker k8s systems applications can't create any files in FS.
> 2. In org.apache.xalan.transformer.TransformerImpl:709 we get system freeze (CPU utilization 100% infinite)



--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the teiid-issues mailing list