FAQ
Hi,

I'm getting Server Error (500) error when creating a table from a file in
Meta store manager. Pls find the attached log.

Search Discussions

  • Srikar Arepalli at Jun 6, 2013 at 4:23 pm
    https://groups.google.com/a/cloudera.org/forum/#!topic/hue-user/ZQYA2hp7wWM

    On Thu, Jun 6, 2013 at 9:41 PM, Srik wrote:

    Hi,

    I'm getting Server Error (500) error when creating a table from a file in
    Meta store manager. Pls find the attached log.


    --
    Srikar Arepalli
    www.srikar.co.nr
  • Romain Rigaux at Jun 6, 2013 at 4:48 pm
    The form seems to be missing some columns. Do you have a way to reproduce
    it? (can you share what you have on Step 3 "Define Columns"?)

    [06/Jun/2013 08:53:11 +0000] middleware INFO Processing exception:
    list index out of range: Traceback (most recent call last):
       File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/build/env/lib/python2.6/site-packages/Django-1.2.3-py2.6.egg/django/core/handlers/base.py",
    line 100, in get_response
         response = callback(request, *callback_args, **callback_kwargs)
       File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/apps/beeswax/src/beeswax/create_table.py",
    line 224, in import_wizard
         'database': database,
       File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/desktop/core/src/desktop/lib/django_util.py",
    line 221, in render
         **kwargs)
       File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/desktop/core/src/desktop/lib/django_util.py",
    line 144, in _render_to_response
         return django_mako.render_to_response(template, *args, **kwargs)
       File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/desktop/core/src/desktop/lib/django_mako.py",
    line 117, in render_to_response
         return HttpResponse(render_to_string(template_name, data_dictionary),
    **kwargs)
       File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/desktop/core/src/desktop/lib/django_mako.py",
    line 106, in render_to_string_normal
         result = template.render(**data_dict)
       File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/build/env/lib/python2.6/site-packages/Mako-0.7.2-py2.6.egg/mako/template.py",
    line 412, in render
         return runtime._render(self, self.callable_, args, data)
       File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/build/env/lib/python2.6/site-packages/Mako-0.7.2-py2.6.egg/mako/runtime.py",
    line 766, in _render
         **_kwargs_for_callable(callable_, data))
       File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/build/env/lib/python2.6/site-packages/Mako-0.7.2-py2.6.egg/mako/runtime.py",
    line 798, in _render_context
         _exec_template(inherit, lclcontext, args=args, kwargs=kwargs)
       File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/build/env/lib/python2.6/site-packages/Mako-0.7.2-py2.6.egg/mako/runtime.py",
    line 824, in _exec_template
         callable_(context, *args, **kwargs)
       File "/tmp/tmp6UuuLn/beeswax/define_columns.mako.py", line 169, in
    render_body
         __M_writer(escape(unicode( comps.getEllipsifiedCell(row[col], "bottom",
    "dataSample"))))
    IndexError: list index out of range

    Romain

    On Thu, Jun 6, 2013 at 9:11 AM, Srik wrote:

    Hi,

    I'm getting Server Error (500) error when creating a table from a file in
    Meta store manager. Pls find the attached log.
  • Srikar Arepalli at Jun 6, 2013 at 5:36 pm
    Hi Romain,

    I have uploaded a simple CSV file(*Step 1: Choose File*) and I'm getting
    this error when going from* Step 2: Choose Delimiter* to *Step 3: Define
    Columns. *

    On Thu, Jun 6, 2013 at 10:18 PM, Romain Rigaux wrote:

    The form seems to be missing some columns. Do you have a way to reproduce
    it? (can you share what you have on Step 3 "Define Columns"?)

    [06/Jun/2013 08:53:11 +0000] middleware INFO Processing exception:
    list index out of range: Traceback (most recent call last):
    File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/build/env/lib/python2.6/site-packages/Django-1.2.3-py2.6.egg/django/core/handlers/base.py",
    line 100, in get_response
    response = callback(request, *callback_args, **callback_kwargs)
    File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/apps/beeswax/src/beeswax/create_table.py",
    line 224, in import_wizard
    'database': database,
    File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/desktop/core/src/desktop/lib/django_util.py",
    line 221, in render
    **kwargs)
    File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/desktop/core/src/desktop/lib/django_util.py",
    line 144, in _render_to_response
    return django_mako.render_to_response(template, *args, **kwargs)
    File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/desktop/core/src/desktop/lib/django_mako.py",
    line 117, in render_to_response
    return HttpResponse(render_to_string(template_name, data_dictionary),
    **kwargs)
    File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/desktop/core/src/desktop/lib/django_mako.py",
    line 106, in render_to_string_normal
    result = template.render(**data_dict)
    File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/build/env/lib/python2.6/site-packages/Mako-0.7.2-py2.6.egg/mako/template.py",
    line 412, in render
    return runtime._render(self, self.callable_, args, data)
    File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/build/env/lib/python2.6/site-packages/Mako-0.7.2-py2.6.egg/mako/runtime.py",
    line 766, in _render
    **_kwargs_for_callable(callable_, data))
    File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/build/env/lib/python2.6/site-packages/Mako-0.7.2-py2.6.egg/mako/runtime.py",
    line 798, in _render_context
    _exec_template(inherit, lclcontext, args=args, kwargs=kwargs)
    File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/build/env/lib/python2.6/site-packages/Mako-0.7.2-py2.6.egg/mako/runtime.py",
    line 824, in _exec_template
    callable_(context, *args, **kwargs)
    File "/tmp/tmp6UuuLn/beeswax/define_columns.mako.py", line 169, in
    render_body
    __M_writer(escape(unicode( comps.getEllipsifiedCell(row[col],
    "bottom", "dataSample"))))
    IndexError: list index out of range

    Romain

    On Thu, Jun 6, 2013 at 9:11 AM, Srik wrote:

    Hi,

    I'm getting Server Error (500) error when creating a table from a file in
    Meta store manager. Pls find the attached log.

    --
    Srikar Arepalli
    www.srikar.co.nr
  • Srik at Jun 6, 2013 at 5:40 pm
    Hi Romain,

    I have uploaded a simple CSV file(*Step 1: Choose File*) and I'm getting
    this error when going from* Step 2: Choose Delimiter* to *Step 3: Define
    Columns. *
    On Thursday, June 6, 2013 10:18:29 PM UTC+5:30, Romain Rigaux wrote:

    The form seems to be missing some columns. Do you have a way to reproduce
    it? (can you share what you have on Step 3 "Define Columns"?)

    [06/Jun/2013 08:53:11 +0000] middleware INFO Processing exception:
    list index out of range: Traceback (most recent call last):
    File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/build/env/lib/python2.6/site-packages/Django-1.2.3-py2.6.egg/django/core/handlers/base.py",
    line 100, in get_response
    response = callback(request, *callback_args, **callback_kwargs)
    File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/apps/beeswax/src/beeswax/create_table.py",
    line 224, in import_wizard
    'database': database,
    File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/desktop/core/src/desktop/lib/django_util.py",
    line 221, in render
    **kwargs)
    File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/desktop/core/src/desktop/lib/django_util.py",
    line 144, in _render_to_response
    return django_mako.render_to_response(template, *args, **kwargs)
    File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/desktop/core/src/desktop/lib/django_mako.py",
    line 117, in render_to_response
    return HttpResponse(render_to_string(template_name, data_dictionary),
    **kwargs)
    File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/desktop/core/src/desktop/lib/django_mako.py",
    line 106, in render_to_string_normal
    result = template.render(**data_dict)
    File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/build/env/lib/python2.6/site-packages/Mako-0.7.2-py2.6.egg/mako/template.py",
    line 412, in render
    return runtime._render(self, self.callable_, args, data)
    File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/build/env/lib/python2.6/site-packages/Mako-0.7.2-py2.6.egg/mako/runtime.py",
    line 766, in _render
    **_kwargs_for_callable(callable_, data))
    File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/build/env/lib/python2.6/site-packages/Mako-0.7.2-py2.6.egg/mako/runtime.py",
    line 798, in _render_context
    _exec_template(inherit, lclcontext, args=args, kwargs=kwargs)
    File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/build/env/lib/python2.6/site-packages/Mako-0.7.2-py2.6.egg/mako/runtime.py",
    line 824, in _exec_template
    callable_(context, *args, **kwargs)
    File "/tmp/tmp6UuuLn/beeswax/define_columns.mako.py", line 169, in
    render_body
    __M_writer(escape(unicode( comps.getEllipsifiedCell(row[col],
    "bottom", "dataSample"))))
    IndexError: list index out of range

    Romain


    On Thu, Jun 6, 2013 at 9:11 AM, Srik <srikar....@gmail.com <javascript:>>wrote:
    Hi,

    I'm getting Server Error (500) error when creating a table from a file in
    Meta store manager. Pls find the attached log.
  • Romain Rigaux at Jun 6, 2013 at 7:03 pm
    Thanks, are you sure that the CSV file is valid? Do you mind sharing it? We
    could make Hue more robust to this problem if we can reproduce it.

    Romain

    On Thu, Jun 6, 2013 at 10:40 AM, Srik wrote:


    Hi Romain,

    I have uploaded a simple CSV file(*Step 1: Choose File*) and I'm getting
    this error when going from* Step 2: Choose Delimiter* to *Step 3: Define
    Columns. *
    On Thursday, June 6, 2013 10:18:29 PM UTC+5:30, Romain Rigaux wrote:

    The form seems to be missing some columns. Do you have a way to reproduce
    it? (can you share what you have on Step 3 "Define Columns"?)

    [06/Jun/2013 08:53:11 +0000] middleware INFO Processing exception:
    list index out of range: Traceback (most recent call last):
    File "/opt/cloudera/parcels/CDH-4.**3.0-1.cdh4.3.0.p0.22/share/**
    hue/build/env/lib/python2.6/**site-packages/Django-1.2.3-**
    py2.6.egg/django/core/**handlers/base.py", line 100, in get_response
    response = callback(request, *callback_args, **callback_kwargs)
    File "/opt/cloudera/parcels/CDH-4.**3.0-1.cdh4.3.0.p0.22/share/**
    hue/apps/beeswax/src/beeswax/**create_table.py", line 224, in
    import_wizard
    'database': database,
    File "/opt/cloudera/parcels/CDH-4.**3.0-1.cdh4.3.0.p0.22/share/**
    hue/desktop/core/src/desktop/**lib/django_util.py", line 221, in render
    **kwargs)
    File "/opt/cloudera/parcels/CDH-4.**3.0-1.cdh4.3.0.p0.22/share/**
    hue/desktop/core/src/desktop/**lib/django_util.py", line 144, in
    _render_to_response
    return django_mako.render_to_**response(template, *args, **kwargs)
    File "/opt/cloudera/parcels/CDH-4.**3.0-1.cdh4.3.0.p0.22/share/**
    hue/desktop/core/src/desktop/**lib/django_mako.py", line 117, in
    render_to_response
    return HttpResponse(render_to_string(**template_name,
    data_dictionary), **kwargs)
    File "/opt/cloudera/parcels/CDH-4.**3.0-1.cdh4.3.0.p0.22/share/**
    hue/desktop/core/src/desktop/**lib/django_mako.py", line 106, in
    render_to_string_normal
    result = template.render(**data_dict)
    File "/opt/cloudera/parcels/CDH-4.**3.0-1.cdh4.3.0.p0.22/share/**
    hue/build/env/lib/python2.6/**site-packages/Mako-0.7.2-py2.**6.egg/mako/template.py",
    line 412, in render
    return runtime._render(self, self.callable_, args, data)
    File "/opt/cloudera/parcels/CDH-4.**3.0-1.cdh4.3.0.p0.22/share/**
    hue/build/env/lib/python2.6/**site-packages/Mako-0.7.2-py2.**6.egg/mako/runtime.py",
    line 766, in _render
    **_kwargs_for_callable(**callable_, data))
    File "/opt/cloudera/parcels/CDH-4.**3.0-1.cdh4.3.0.p0.22/share/**
    hue/build/env/lib/python2.6/**site-packages/Mako-0.7.2-py2.**6.egg/mako/runtime.py",
    line 798, in _render_context
    _exec_template(inherit, lclcontext, args=args, kwargs=kwargs)
    File "/opt/cloudera/parcels/CDH-4.**3.0-1.cdh4.3.0.p0.22/share/**
    hue/build/env/lib/python2.6/**site-packages/Mako-0.7.2-py2.**6.egg/mako/runtime.py",
    line 824, in _exec_template
    callable_(context, *args, **kwargs)
    File "/tmp/tmp6UuuLn/beeswax/define**_columns.mako.py<http://define_columns.mako.py>",
    line 169, in render_body
    __M_writer(escape(unicode( comps.getEllipsifiedCell(row[**col],
    "bottom", "dataSample"))))
    IndexError: list index out of range

    Romain

    On Thu, Jun 6, 2013 at 9:11 AM, Srik wrote:

    Hi,

    I'm getting Server Error (500) error when creating a table from a file
    in Meta store manager. Pls find the attached log.
  • Srik at Jun 10, 2013 at 1:32 pm
    Hi Romain,

    The problem was with the CSV files itself. They weren’t formatted properly.
    Thanks for you help.
    On Friday, June 7, 2013 12:32:38 AM UTC+5:30, Romain Rigaux wrote:

    Thanks, are you sure that the CSV file is valid? Do you mind sharing it?
    We could make Hue more robust to this problem if we can reproduce it.

    Romain


    On Thu, Jun 6, 2013 at 10:40 AM, Srik <srikar....@gmail.com <javascript:>>wrote:
    Hi Romain,

    I have uploaded a simple CSV file(*Step 1: Choose File*) and I'm getting
    this error when going from* Step 2: Choose Delimiter* to *Step 3: Define
    Columns. *
    On Thursday, June 6, 2013 10:18:29 PM UTC+5:30, Romain Rigaux wrote:

    The form seems to be missing some columns. Do you have a way to
    reproduce it? (can you share what you have on Step 3 "Define Columns"?)

    [06/Jun/2013 08:53:11 +0000] middleware INFO Processing exception:
    list index out of range: Traceback (most recent call last):
    File "/opt/cloudera/parcels/CDH-4.**3.0-1.cdh4.3.0.p0.22/share/**
    hue/build/env/lib/python2.6/**site-packages/Django-1.2.3-**
    py2.6.egg/django/core/**handlers/base.py", line 100, in get_response
    response = callback(request, *callback_args, **callback_kwargs)
    File "/opt/cloudera/parcels/CDH-4.**3.0-1.cdh4.3.0.p0.22/share/**
    hue/apps/beeswax/src/beeswax/**create_table.py", line 224, in
    import_wizard
    'database': database,
    File "/opt/cloudera/parcels/CDH-4.**3.0-1.cdh4.3.0.p0.22/share/**
    hue/desktop/core/src/desktop/**lib/django_util.py", line 221, in render
    **kwargs)
    File "/opt/cloudera/parcels/CDH-4.**3.0-1.cdh4.3.0.p0.22/share/**
    hue/desktop/core/src/desktop/**lib/django_util.py", line 144, in
    _render_to_response
    return django_mako.render_to_**response(template, *args, **kwargs)
    File "/opt/cloudera/parcels/CDH-4.**3.0-1.cdh4.3.0.p0.22/share/**
    hue/desktop/core/src/desktop/**lib/django_mako.py", line 117, in
    render_to_response
    return HttpResponse(render_to_string(**template_name,
    data_dictionary), **kwargs)
    File "/opt/cloudera/parcels/CDH-4.**3.0-1.cdh4.3.0.p0.22/share/**
    hue/desktop/core/src/desktop/**lib/django_mako.py", line 106, in
    render_to_string_normal
    result = template.render(**data_dict)
    File "/opt/cloudera/parcels/CDH-4.**3.0-1.cdh4.3.0.p0.22/share/**
    hue/build/env/lib/python2.6/**site-packages/Mako-0.7.2-py2.**6.egg/mako/template.py",
    line 412, in render
    return runtime._render(self, self.callable_, args, data)
    File "/opt/cloudera/parcels/CDH-4.**3.0-1.cdh4.3.0.p0.22/share/**
    hue/build/env/lib/python2.6/**site-packages/Mako-0.7.2-py2.**6.egg/mako/runtime.py",
    line 766, in _render
    **_kwargs_for_callable(**callable_, data))
    File "/opt/cloudera/parcels/CDH-4.**3.0-1.cdh4.3.0.p0.22/share/**
    hue/build/env/lib/python2.6/**site-packages/Mako-0.7.2-py2.**6.egg/mako/runtime.py",
    line 798, in _render_context
    _exec_template(inherit, lclcontext, args=args, kwargs=kwargs)
    File "/opt/cloudera/parcels/CDH-4.**3.0-1.cdh4.3.0.p0.22/share/**
    hue/build/env/lib/python2.6/**site-packages/Mako-0.7.2-py2.**6.egg/mako/runtime.py",
    line 824, in _exec_template
    callable_(context, *args, **kwargs)
    File "/tmp/tmp6UuuLn/beeswax/define**_columns.mako.py<http://define_columns.mako.py>",
    line 169, in render_body
    __M_writer(escape(unicode( comps.getEllipsifiedCell(row[**col],
    "bottom", "dataSample"))))
    IndexError: list index out of range

    Romain

    On Thu, Jun 6, 2013 at 9:11 AM, Srik wrote:

    Hi,

    I'm getting Server Error (500) error when creating a table from a file
    in Meta store manager. Pls find the attached log.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouphue-user @
categorieshadoop
postedJun 6, '13 at 4:11p
activeJun 10, '13 at 1:32p
posts7
users2
websitecloudera.com
irc#hadoop

2 users in discussion

Srik: 5 posts Romain Rigaux: 2 posts

People

Translate

site design / logo © 2022 Grokbase