[luigi-interface] hadoop.py:273 - Container exited with a non-zero exit code 143

123 views
Skip to first unread message

Andy Nguyen

unread,
Feb 10, 2017, 1:28:18 AM2/10/17
to General Open edX discussion
I've successfully installed edx and insights without any errors. However, when I run the analytics tasks, it always fails with pending task, looking into the log I saw this error thus I guess it may be the reason. I run insights on EC2 m3.large instance
 I have also tried cleaning up warehouse and rerun tasks but no help. The full log attached.

Really appreciate if anyone can help out.

Many thanks,
Andy
log.txt

Andy Nguyen

unread,
Feb 10, 2017, 2:03:12 AM2/10/17
to General Open edX discussion
Traceback (most recent call last):
  File "/edx/app/insights/venvs/insights/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 149, in get_response
    response = self.process_exception_by_middleware(e, request)
  File "/edx/app/insights/venvs/insights/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 147, in get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/edx/app/insights/venvs/insights/local/lib/python2.7/site-packages/django/views/generic/base.py", line 68, in view
    return self.dispatch(request, *args, **kwargs)
  File "/edx/app/insights/edx_analytics_dashboard/analytics_dashboard/courses/views/__init__.py", line 61, in dispatch
    return super(CourseAPIMixin, self).dispatch(request, *args, **kwargs)
  File "/edx/app/insights/venvs/insights/local/lib/python2.7/site-packages/braces/views/_access.py", line 102, in dispatch
    request, *args, **kwargs)
  File "/edx/app/insights/venvs/insights/local/lib/python2.7/site-packages/django/views/generic/base.py", line 88, in dispatch
    return handler(request, *args, **kwargs)
  File "/edx/app/insights/venvs/insights/local/lib/python2.7/site-packages/django/views/generic/base.py", line 157, in get
    context = self.get_context_data(**kwargs)
  File "/edx/app/insights/edx_analytics_dashboard/analytics_dashboard/courses/views/course_summaries.py", line 45, in get_context_data
    summaries, last_updated = presenter.get_course_summaries(courses)
  File "/edx/app/insights/edx_analytics_dashboard/analytics_dashboard/courses/presenters/course_summaries.py", line 48, in get_course_summaries
    all_summaries = self._get_all_summaries()
  File "/edx/app/insights/edx_analytics_dashboard/analytics_dashboard/courses/presenters/course_summaries.py", line 28, in _get_all_summaries
    all_summaries = self.client.course_summaries().course_summaries()
  File "/edx/app/insights/venvs/insights/local/lib/python2.7/site-packages/analyticsclient/course_summaries.py", line 38, in course_summaries
    return self.client.get(path, data_format=data_format)
  File "/edx/app/insights/venvs/insights/local/lib/python2.7/site-packages/analyticsclient/client.py", line 64, in get
    response = self._request(resource, timeout=timeout, data_format=data_format)
  File "/edx/app/insights/venvs/insights/local/lib/python2.7/site-packages/analyticsclient/client.py", line 130, in _request
    raise error_class(message)
ClientError: Resource "course_summaries/" returned status code 500
Reply all
Reply to author
Forward
0 new messages