Home

/common/app/{app_id}/recommendation

Gets Unravel's recommendations for the given application.

Request
GET http://unravel-host:3000/api/v1/common/app/{app_id}/recommendation
Path parameters

Name

Description

app_id

App ID.

Query parameters

None.

Response body

Name

Type

Description

parameter

string

App parameter.

current_value

string

Current value of the app's parameter.

recommended

string

Recommended value for the app's parameter.

Examples

Request:

curl -X GET "http://myserver.com:3000/api/v1/common/app/job_1543784013107_1631/recommendation" -H  "accept: application/json" -H  "Authorization: JWT token"

Response:

[
   {
      "parameter": "mapreduce.map.memory.mb",
      "current_value": "7596",
      "recommended_value": "3896"
   },
   {
      "parameter": "mapreduce.map.java.opts",
      "current_value": "-Xmx8192m",
      "recommended_value": "-Xmx3117m"
   }
]