ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pradarttana (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-19457) Rest Api to fetch hive jobs list is returning an empty json
Date Wed, 11 Jan 2017 08:35:58 GMT

     [ https://issues.apache.org/jira/browse/AMBARI-19457?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Pradarttana updated AMBARI-19457:
---------------------------------
    Priority: Critical  (was: Major)

> Rest Api to fetch hive jobs list is returning an empty json
> -----------------------------------------------------------
>
>                 Key: AMBARI-19457
>                 URL: https://issues.apache.org/jira/browse/AMBARI-19457
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-views
>            Reporter: Pradarttana
>            Priority: Critical
>
> Rest Api to fetch list of Hive jobs is returning an empty json
> api:- http://172.22.122.64:8080/api/v1/views/HIVE/versions/1.5.0/instances/AUTO_HIVE_INSTANCE/jobs/
> {code}
> [ ]
> {code}
> while api to request individual job id is working fine
> http://172.22.122.64:8080/api/v1/views/HIVE/versions/1.5.0/instances/AUTO_HIVE_INSTANCE/jobs/1
> {code}
> {"job":{"owner":"admin","dataBase":"default","statusDir":"/user/admin/hive/jobs/hive-job-1-2017-01-11_05-53","queryFile":"/user/admin/hive/jobs/hive-job-1-2017-01-11_05-53/query.hql","globalSettings":"","dagId":"","title":"Worksheet","duration":0,"referrer":"job","logFile":"/user/admin/hive/jobs/hive-job-1-2017-01-11_05-53/logs","id":"1","applicationId":"","dateSubmitted":1484113992368,"status":"SUCCEEDED"}}
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message