If you sign into Hue as usera. Make sure that usera does not have permissions to write to /user/userb. Then run the following query repeatedly:
CREATE TABLE test_table1 LOCATION '/user/userb/test_table1' AS SELECT * from sample_07;
After about 5-10 minutes of running the above query. Beeswax will crash. Note: the above query has to fail due to not having permissions to write to /user/userb/test_table1.