why not retrieve again the query_history and check that its status is expired?
same error message with HS2 too?
If the query has expired, we should load back the query but have an empty result. For now the red alert is good but ideally we should have a message similar to ':( The operation did not return any result'
HUE-1949 [impala] Friendler query expiration message
Review Request #4150 — Created Feb. 20, 2014 and submitted
commit 4ae1d910b7013454ed6870c75cf8596f99d1b5da Author: Abraham Elmahrek <email@example.com> Date: Thu Feb 20 15:34:25 2014 -0800 HUE-1949 [impala] Friendler query expiration message Update status of queries that are closed. Fix error listing. :100644 100644 94f59c5... ed53e7b... M apps/beeswax/src/beeswax/tests.py :100644 100644 7602058... 656e92f... M apps/beeswax/src/beeswax/views.py :100644 100644 cba83d7... 86c8234... M apps/beeswax/static/js/beeswax.vm.js
Added a test case and ran it. Tested manually that redirection and error message appears appropriately. Also manually tested result errors are being reset.