Home > other >  An unexpected error occurred SentryApi Hue to create roles.
An unexpected error occurred SentryApi Hue to create roles.

Time:10-02



Logs:
[23/Feb/2020 17:25:56 -0800] access ERROR 10.33.125.141 hive - "POST/desktop/log_js_error HTTP/1.1"-- JS ERROR: {"msg":"Uncaught SyntaxError: Unexpected token ':'","url":"http://hadoop01:8888/hue/security/hive#@roles","line":2,"column":12,"stack":"SyntaxError: Unexpected token ':'\n at w (http://hadoop01:8888/static/desktop/js/bundles/hue/vendors~hue~notebook-bundle-41591f6ae86af9eaf574.57a1adf046f8.js:37:676)\n at Function.globalEval (http://hadoop01:8888/static/desktop/js/bundles/hue/vendors~hue~notebook-bundle-41591f6ae86af9eaf574.57a1adf046f8.js:37:2584)\n at text script (http://hadoop01:8888/static/desktop/js/bundles/hue/vendors~hue~notebook-bundle-41591f6ae86af9eaf574.57a1adf046f8.js:48:76954)\n at http://hadoop01:8888/static/desktop/js/bundles/hue/vendors~hue~notebook-bundle-41591f6ae86af9eaf574.57a1adf046f8.js:48:73527\n at C (http://hadoop01:8888/static/desktop/js/bundles/hue/vendors~hue~notebook-bundle-41591f6ae86af9eaf574.57a1adf046f8.js:48:73644)\n at XMLHttpRequest. (http://hadoop01:8888/static/desktop/js/bundles/hue/vendors~hue~notebook-bundle-41591f6ae86af9eaf574.57a1adf046f8.js:48:76224)}
"[23 17:42:24/Feb/2020-0800] exceptions_renderable ERROR Potential detail: timed out (code THRIFTSOCKET) : None
[23/Feb/2020 17:42:24 -0800] exceptions_renderable ERROR Potential trace: [('/u01/cloudera/parcels/CDH-6.3.2-1.cdh6.3.2.p0.1605554/lib/hue/desktop/libs/libsentry/src/libsentry/api.py', 41, 'decorator', 'return func(*args, **kwargs)'), ('/u01/cloudera/parcels/CDH-6.3.2-1.cdh6.3.2.p0.1605554/lib/hue/desktop/libs/libsentry/src/libsentry/api.py', 111, 'create_sentry_role', 'response=self.client.create_sentry_role(roleName)'), ('/u01/cloudera/parcels/CDH-6.3.2-1.cdh6.3.2.p0.1605554/lib/hue/desktop/libs/libsentry/src/libsentry/client.py', 100, 'create_sentry_role', 'return self.client.create_sentry_role(request)'), ('/u01/cloudera/parcels/CDH-6.3.2-1.cdh6.3.2.p0.1605554/lib/hue/desktop/core/src/desktop/lib/thrift_util.py', 414, 'wrapper', "raise StructuredException('THRIFTSOCKET', str(e), data=https://bbs.csdn.net/topics/None, error_code=502)")]
[23 17:42:24/Feb/2020-0800] hive ERROR could not create role
Traceback (the most recent call last) :
The File "/u01/cloudera/parcels/CDH 6.3.2-1. Cdh6.3.2. P0.1605554/lib/hue/apps/security/SRC/security/API/hive. Py", line 177, in create_role
API. Create_sentry_role (role [' name '])
The File "/u01/cloudera/parcels/CDH 6.3.2-1. Cdh6.3.2. P0.1605554/lib/hue/desktop/libs/libsentry/SRC/libsentry/API. Py", 57, the line in the decorator
Raise PopupException (_ (' Encountered unexpected error in SentryApi. '), the detail=e)
An unexpected error occurred PopupException: SentryApi,
  • Related