HUE-7728 [jb] Do not error in the SQL query browser when pointing to an old Impala
HUE-7728 [jb] Do not error in the SQL query browser when pointing to an old Impala

Avoid:
[10/Jan/2018 14:24:49 +0000] api2         ERROR    Error running <function job at 0x7f29de1c2410>
Traceback (most recent call last):
  File "/home/romain/projects/hue/apps/jobbrowser/src/jobbrowser/api2.py", line 38, in decorator
    return func(*args, **kwargs)
  File "/home/romain/projects/hue/apps/jobbrowser/src/jobbrowser/api2.py", line 73, in job
    response_app = get_api(request.user, interface).app(app_id)
  File "/home/romain/projects/hue/apps/jobbrowser/src/jobbrowser/apis/query_api.py", line 108, in app
    'text': 'id:' + appid
  File "/home/romain/projects/hue/apps/jobbrowser/src/jobbrowser/apis/query_api.py", line 76, in apps
    } for job in jobs_iter_filtered], key=lambda job: job.get('submitted'), reverse=True),
KeyError: 'resource_pool'

kawamon/hue,cloudera/hue,kawamon/hue,kawamon/hue,cloudera/hue,kawamon/hue,kawamon/hue,kawamon/hue,cloudera/hue,kawamon/hue,kawamon/hue,cloudera/hue,cloudera/hue,cloudera/hue,kawamon/hue,cloudera/hue,kawamon/hue,cloudera/hue,cloudera/hue,cloudera/hue,kawamon/hue,kawamon/hue,cloudera/hue,cloudera/hue,cloudera/hue,kawamon/hue,cloudera/hue,cloudera/hue,kawamon/hue,cloudera/hue,kawamon/hue,cloudera/hue,kawamon/hue,cloudera/hue,kawamon/hue,kawamon/hue