Invalid method name: 'GetLog' error after submitting Hive queries

The Invalid method name: 'GetLog' (code THRIFTAPPLICATION): None error can occur after you submit Hive queries from the Hue editor and while Hue tries to fetch the result set. If you encounter this error, then set the beeswax use_get_log_api property to false using Cloudera Manager.

  1. Log into Cloudera Manager as an Administrator.
  2. Go to Clusters > Hue service > Configuration.
  3. Add/update the beeswax section as follows in the Hue Service Advanced Configuration Snippet (Safety Valve) for hue_safety_valve.ini field:
    [beeswax]
    use_get_log_api=false
  4. Click Save Changes.
  5. Restart the Hue service.