Member since
09-12-2017
24
Posts
4
Kudos Received
1
Solution
My Accepted Solutions
Title | Views | Posted |
---|---|---|
1428 | 08-29-2018 06:25 AM |
07-01-2019
03:16 PM
Hi,
When clicking on slices in superset gui (/slicemodelview/list/), Im getting an internal server error:
Traceback (most recent call last):
File "/usr/hdp/3.1.0.0-78/superset/lib/python3.4/site-packages/flask/app.py", line 1982, in wsgi_app
response = self.full_dispatch_request()
File "/usr/hdp/3.1.0.0-78/superset/lib/python3.4/site-packages/flask/app.py", line 1614, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/hdp/3.1.0.0-78/superset/lib/python3.4/site-packages/flask/app.py", line 1517, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/usr/hdp/3.1.0.0-78/superset/lib/python3.4/site-packages/flask/_compat.py", line 33, in reraise
raise value
File "/usr/hdp/3.1.0.0-78/superset/lib/python3.4/site-packages/flask/app.py", line 1612, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/hdp/3.1.0.0-78/superset/lib/python3.4/site-packages/flask/app.py", line 1598, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "/usr/hdp/3.1.0.0-78/superset/lib/python3.4/site-packages/flask_appbuilder/security/decorators.py", line 26, in wraps
return f(self, *args, **kwargs)
File "/usr/hdp/3.1.0.0-78/superset/lib/python3.4/site-packages/flask_appbuilder/views.py", line 478, in list
widgets=widgets)
File "/usr/hdp/3.1.0.0-78/superset/lib/python3.4/site-packages/flask_appbuilder/baseviews.py", line 160, in render_template
return render_template(template, **dict(list(kwargs.items()) + list(self.extra_args.items())))
File "/usr/hdp/3.1.0.0-78/superset/lib/python3.4/site-packages/flask/templating.py", line 134, in render_template
context, ctx.app)
File "/usr/hdp/3.1.0.0-78/superset/lib/python3.4/site-packages/flask/templating.py", line 116, in _render
rv = template.render(context)
File "/usr/hdp/3.1.0.0-78/superset/lib/python3.4/site-packages/jinja2/environment.py", line 1008, in render
return self.environment.handle_exception(exc_info, True)
File "/usr/hdp/3.1.0.0-78/superset/lib/python3.4/site-packages/jinja2/environment.py", line 780, in handle_exception
reraise(exc_type, exc_value, tb)
File "/usr/hdp/3.1.0.0-78/superset/lib/python3.4/site-packages/jinja2/_compat.py", line 37, in reraise
raise value.with_traceback(tb)
File "/usr/hdp/3.1.0.0-78/superset/lib/python3.4/site-packages/superset/templates/appbuilder/general/model/list.html", line 2, in top-level template code
{% import 'appbuilder/general/lib.html' as lib %}
File "/usr/hdp/3.1.0.0-78/superset/lib/python3.4/site-packages/flask_appbuilder/templates/appbuilder/base.html", line 1, in top-level template code
{% extends base_template %}
File "/usr/hdp/3.1.0.0-78/superset/lib/python3.4/site-packages/superset/templates/superset/base.html", line 1, in top-level template code
{% extends "appbuilder/baselayout.html" %}
File "/usr/hdp/3.1.0.0-78/superset/lib/python3.4/site-packages/superset/templates/appbuilder/baselayout.html", line 2, in top-level template code
{% import 'appbuilder/baselib.html' as baselib %}
File "/usr/hdp/3.1.0.0-78/superset/lib/python3.4/site-packages/flask_appbuilder/templates/appbuilder/init.html", line 46, in top-level template code
{% block body %}
File "/usr/hdp/3.1.0.0-78/superset/lib/python3.4/site-packages/superset/templates/appbuilder/baselayout.html", line 21, in block "body"
{% block content %}
File "/usr/hdp/3.1.0.0-78/superset/lib/python3.4/site-packages/superset/templates/appbuilder/general/model/list.html", line 12, in block "content"
{% block list_list scoped %}
File "/usr/hdp/3.1.0.0-78/superset/lib/python3.4/site-packages/superset/templates/appbuilder/general/model/list.html", line 13, in block "list_list"
{{ widgets.get('list')()|safe }}
File "/usr/hdp/3.1.0.0-78/superset/lib/python3.4/site-packages/flask_appbuilder/widgets.py", line 34, in __call__
return template.render(args)
File "/usr/hdp/3.1.0.0-78/superset/lib/python3.4/site-packages/jinja2/environment.py", line 1008, in render
return self.environment.handle_exception(exc_info, True)
File "/usr/hdp/3.1.0.0-78/superset/lib/python3.4/site-packages/jinja2/environment.py", line 780, in handle_exception
reraise(exc_type, exc_value, tb)
File "/usr/hdp/3.1.0.0-78/superset/lib/python3.4/site-packages/jinja2/_compat.py", line 37, in reraise
raise value.with_traceback(tb)
File "/usr/hdp/3.1.0.0-78/superset/lib/python3.4/site-packages/flask_appbuilder/templates/appbuilder/general/widgets/list.html", line 2, in top-level template code
{% extends 'appbuilder/general/widgets/base_list.html' %}
File "/usr/hdp/3.1.0.0-78/superset/lib/python3.4/site-packages/superset/templates/appbuilder/general/widgets/base_list.html", line 25, in top-level template code
{% block begin_loop_values %}
File "/usr/hdp/3.1.0.0-78/superset/lib/python3.4/site-packages/flask_appbuilder/templates/appbuilder/general/widgets/list.html", line 45, in block "begin_loop_values"
{% for item in value_columns %}
File "/usr/hdp/3.1.0.0-78/superset/lib/python3.4/site-packages/jinja2/runtime.py", line 435, in __init__
self._after = self._safe_next()
File "/usr/hdp/3.1.0.0-78/superset/lib/python3.4/site-packages/jinja2/runtime.py", line 455, in _safe_next
return next(self._iterator)
File "/usr/hdp/3.1.0.0-78/superset/lib/python3.4/site-packages/flask_appbuilder/models/base.py", line 114, in get_values
retdict[col] = self._get_attr_value(item, col)
File "/usr/hdp/3.1.0.0-78/superset/lib/python3.4/site-packages/flask_appbuilder/models/base.py", line 66, in _get_attr_value
return getattr(item, col)()
File "/usr/hdp/3.1.0.0-78/superset/lib/python3.4/site-packages/superset/models/core.py", line 146, in datasource_link
return datasource.link if datasource else None
File "/usr/hdp/3.1.0.0-78/superset/lib/python3.4/site-packages/superset/connectors/druid/models.py", line 517, in link
return Markup('<a href="{self.url}">{name}</a>').format(**locals())
TypeError: format() got multiple values for argument 'self'
... View more
Labels:
- Labels:
-
Hortonworks Data Platform (HDP)
08-29-2018
06:25 AM
1 Kudo
Got it: DruidTranquilityController - property "Aggregator JSON" should be []
... View more
08-24-2018
07:06 AM
Hi, I want to use NIFI for ingesting data into druid for realtime dashboarding (device_id, sensor_id, sensor_value - without aggregation). I have no glue how the DruidTranquilityController should be configured in order to achive this. Thank you in advance.
... View more
Labels:
- Labels:
-
Apache NiFi
07-27-2018
09:28 AM
ambari-2-7.txt
... View more
Labels:
- Labels:
-
Apache Ambari
07-26-2018
10:08 AM
hi @Akhil S Naik, Ubuntu 14 is listed in the upgrade documentation https://docs.hortonworks.com/HDPDocuments/Ambari-2.7.0.0/bk_ambari-upgrade/content/upgrade_ambari.html
... View more
07-26-2018
09:06 AM
Hi, I'm trying to upgrade Ambari to 2.7 and getting HTTP 404: wget -nv http://public-repo-1.hortonworks.com/ambari/ubuntu14/2.x/updates/2.7.0.0/ambari.list -O /etc/apt/sources.list.d/ambari.list
... View more
Labels:
- Labels:
-
Apache Ambari
11-02-2017
07:54 PM
@Jay Kumar SenSharma
You are right. I changed the <LLAP app java opts> and deleted {% endif %}. Thanks
... View more
11-02-2017
04:58 PM
Can not start Hive LLAP: File
"/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/hive_server_interactive.py",
line 616, in <module>
HiveServerInteractive().execute() File
"/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
line 329, in execute
method(env) File
"/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
line 865, in restart self.start(env,
upgrade_type=upgrade_type) File
"/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/hive_server_interactive.py",
line 121, in start status =
self._llap_start(env) File
"/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/hive_server_interactive.py",
line 258, in _llap_start llap_java_args =
InlineTemplate(params.llap_app_java_opts).get_content() File
"/usr/lib/python2.6/site-packages/resource_management/core/source.py", line 150,
in __init__
super(InlineTemplate, self).__init__(name, extra_imports, **kwargs) File
"/usr/lib/python2.6/site-packages/resource_management/core/source.py", line 137,
in __init__ self.template =
self.template_env.get_template(self.name) File
"/usr/lib/python2.6/site-packages/ambari_jinja2/environment.py", line 716, in
get_template return
self._load_template(name, self.make_globals(globals)) File
"/usr/lib/python2.6/site-packages/ambari_jinja2/environment.py", line 690, in
_load_template template =
self.loader.load(self, name, globals) File
"/usr/lib/python2.6/site-packages/ambari_jinja2/loaders.py", line 127, in
load code =
environment.compile(source, name, filename) File
"/usr/lib/python2.6/site-packages/ambari_jinja2/environment.py", line 492, in
compile
self.handle_exception(exc_info, source_hint=source) File
"<unknown>", line 1, in template ambari_jinja2.exceptions.TemplateSyntaxError:
Unexpected end of template. Jinja was looking for the following tags: 'endif'.
The innermost block that needs to be closed is 'if'. Maybe this issue is related to the wrong python version? OS: Ubuntu 14.04.5 # /usr/bin/python -V Python 2.7.6
... View more
Labels:
- Labels:
-
Apache Hive