Hue 3.9.0+cdh5.14.2 +spark1.6

[08/Sep/2020 19:07:56 +0800] connectionpool DEBUG    "kkb-hc-87:50070 GET /webhdfs/v1/user/admin?op=GETFILESTATUS&user.name=hue&doas=admin HTTP/1.1" 200 None

[08/Sep/2020 19:07:55 +0800] access INFO 10.20.18.109 admin - “GET /hue/logs/ HTTP/1.1”
[08/Sep/2020 19:07:54 +0800] access DEBUG 10.20.18.109 admin - “GET /metastore/table/dm_xiaoke/app_learn_process HTTP/1.1” returned in 1440ms
[08/Sep/2020 19:07:54 +0800] middleware INFO Processing exception: DB Error: Traceback (most recent call last):
File “/opt/cloudera/parcels/CDH-5.14.2-1.cdh5.14.2.p0.3/lib/hue/build/env/lib/python2.7/site-packages/Django-1.6.10-py2.7.egg/django/core/handlers/base.py”, line 112, in get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File “/opt/cloudera/parcels/CDH-5.14.2-1.cdh5.14.2.p0.3/lib/hue/build/env/lib/python2.7/site-packages/Django-1.6.10-py2.7.egg/django/db/transaction.py”, line 371, in inner
return func(*args, **kwargs)
File “/opt/cloudera/parcels/CDH-5.14.2-1.cdh5.14.2.p0.3/lib/hue/apps/metastore/src/metastore/views.py”, line 275, in describe_table
raise PopupException(_(“DB Error”), detail=e.message if hasattr(e, ‘message’) and e.message else e)
PopupException: DB Error
[08/Sep/2020 19:07:54 +0800] exceptions_renderable ERROR Potential trace: [(’/opt/cloudera/parcels/CDH-5.14.2-1.cdh5.14.2.p0.3/lib/hue/apps/metastore/src/metastore/views.py’, 272, ‘describe_table’, ‘table = db.get_table(database, table)’), (’/opt/cloudera/parcels/CDH-5.14.2-1.cdh5.14.2.p0.3/lib/hue/apps/beeswax/src/beeswax/server/dbms.py’, 212, ‘get_table’, ‘return self.client.get_table(database, table_name)’), (’/opt/cloudera/parcels/CDH-5.14.2-1.cdh5.14.2.p0.3/lib/hue/apps/beeswax/src/beeswax/server/hive_server2_lib.py’, 1265, ‘get_table’, ‘table = self._client.get_table(database, table_name, partition_spec)’), (’/opt/cloudera/parcels/CDH-5.14.2-1.cdh5.14.2.p0.3/lib/hue/apps/beeswax/src/beeswax/server/hive_server2_lib.py’, 844, ‘get_table’, ‘return HiveServerTable(table_results.results, table_schema.schema, desc_results.results, desc_schema.schema)’), (’/opt/cloudera/parcels/CDH-5.14.2-1.cdh5.14.2.p0.3/lib/hue/apps/beeswax/src/beeswax/server/hive_server2_lib.py’, 75, ‘init’, ‘self.describe = HiveServerTTableSchema(self.desc_results, self.desc_schema).cols()’), (’/opt/cloudera/parcels/CDH-5.14.2-1.cdh5.14.2.p0.3/lib/hue/apps/beeswax/src/beeswax/server/hive_server2_lib.py’, 347, ‘cols’, “cols = HiveServerTRowSet(self.columns, self.schema).cols((‘name’, ‘type’, ‘comment’))”), (’/opt/cloudera/parcels/CDH-5.14.2-1.cdh5.14.2.p0.3/lib/hue/apps/beeswax/src/beeswax/server/hive_server2_lib.py’, 214, ‘cols’, ‘cols = [rs.full_col(name) for name in col_names]’), (’/opt/cloudera/parcels/CDH-5.14.2-1.cdh5.14.2.p0.3/lib/hue/apps/beeswax/src/beeswax/server/hive_server2_lib.py’, 241, ‘full_col’, ‘pos = self._get_col_position(colName)’), (’/opt/cloudera/parcels/CDH-5.14.2-1.cdh5.14.2.p0.3/lib/hue/apps/beeswax/src/beeswax/server/hive_server2_lib.py’, 245, ‘_get_col_position’, ‘return filter(lambda (i, col): col.columnName == column_name, enumerate(self.schema.columns))[0][0]’)]
[08/Sep/2020 19:07:54 +0800] exceptions_renderable ERROR Potential detail: list index out of range
[08/Sep/2020 19:07:54 +0800] views ERROR Describe table error
Traceback (most recent call last):
File “/opt/cloudera/parcels/CDH-5.14.2-1.cdh5.14.2.p0.3/lib/hue/apps/metastore/src/metastore/views.py”, line 272, in describe_table
table = db.get_table(database, table)
File “/opt/cloudera/parcels/CDH-5.14.2-1.cdh5.14.2.p0.3/lib/hue/apps/beeswax/src/beeswax/server/dbms.py”, line 212, in get_table
return self.client.get_table(database, table_name)
File “/opt/cloudera/parcels/CDH-5.14.2-1.cdh5.14.2.p0.3/lib/hue/apps/beeswax/src/beeswax/server/hive_server2_lib.py”, line 1265, in get_table
table = self._client.get_table(database, table_name, partition_spec)
File “/opt/cloudera/parcels/CDH-5.14.2-1.cdh5.14.2.p0.3/lib/hue/apps/beeswax/src/beeswax/server/hive_server2_lib.py”, line 844, in get_table
return HiveServerTable(table_results.results, table_schema.schema, desc_results.results, desc_schema.schema)
File “/opt/cloudera/parcels/CDH-5.14.2-1.cdh5.14.2.p0.3/lib/hue/apps/beeswax/src/beeswax/server/hive_server2_lib.py”, line 75, in init
self.describe = HiveServerTTableSchema(self.desc_results, self.desc_schema).cols()
File “/opt/cloudera/parcels/CDH-5.14.2-1.cdh5.14.2.p0.3/lib/hue/apps/beeswax/src/beeswax/server/hive_server2_lib.py”, line 347, in cols
cols = HiveServerTRowSet(self.columns, self.schema).cols((‘name’, ‘type’, ‘comment’))
File “/opt/cloudera/parcels/CDH-5.14.2-1.cdh5.14.2.p0.3/lib/hue/apps/beeswax/src/beeswax/server/hive_server2_lib.py”, line 214, in cols
cols = [rs.full_col(name) for name in col_names]
File “/opt/cloudera/parcels/CDH-5.14.2-1.cdh5.14.2.p0.3/lib/hue/apps/beeswax/src/beeswax/server/hive_server2_lib.py”, line 241, in full_col
pos = self._get_col_position(colName)
File “/opt/cloudera/parcels/CDH-5.14.2-1.cdh5.14.2.p0.3/lib/hue/apps/beeswax/src/beeswax/server/hive_server2_lib.py”, line 245, in _get_col_position
return filter(lambda (i, col): col.columnName == column_name, enumerate(self.schema.columns))[0][0]
IndexError: list index out of range
[08/Sep/2020 19:07:54 +0800] thrift_util DEBUG Thrift call: <class ‘TCLIService.TCLIService.Client’>.CloseOperation(args=(TCloseOperationReq(operationHandle=TOperationHandle(hasResultSet=True, modifiedRowCount=None, operationType=0, operationId=THandleIdentifier(secret=ce40fd46f888dc81:539e70f0f3a9058c, guid=4445e325567ed745:f139725a21db0591))),), kwargs={}) returned in 0ms: TCloseOperationResp(status=TStatus(errorCode=None, errorMessage=None, sqlState=None, infoMessages=None, statusCode=0))