Explorar el Código

HUE-8524 [impala] Provide the root cause of INVALIDATE METADATA failures

Romain Rigaux hace 7 años
padre
commit
b11ae2c
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      apps/impala/src/impala/dbms.py

+ 1 - 1
apps/impala/src/impala/dbms.py

@@ -104,7 +104,7 @@ class ImpalaDbms(HiveServer2Dbms):
       # Allow timeout exceptions to propagate
       raise e
     except Exception, e:
-      msg = 'Failed to invalidate `%s`' % database
+      msg = 'Failed to invalidate `%s`: %s' % (database or 'databases', e)
       raise QueryServerException(msg)
     finally:
       if handle: