Reply
New Contributor
Posts: 1
Registered: ‎10-24-2017

Problem creating collection in HUE for Cloudera Search

Hi,

 

I have a problem, when I try to index a CSV file to a new collection in HUE (Creating the collection while indexing from HDFS).

When I get to page with fields names from CSV (which are all correct), clicking on finish throws me an error.

 

{ "traceback": [ [ "/opt/cloudera/parcels/CDH-5.12.1-1.cdh5.12.1.p0.3/lib/hue/build/env/lib/python2.6/site-packages/Django-1.6.10-py2.6.egg/django/core/handlers/base.py", 112, "get_response", "response = wrapped_callback(request, *callback_args, **callback_kwargs)" ], [ "/opt/cloudera/parcels/CDH-5.12.1-1.cdh5.12.1.p0.3/lib/hue/build/env/lib/python2.6/site-packages/Django-1.6.10-py2.6.egg/django/db/transaction.py", 371, "inner", "return func(*args, **kwargs)" ], [ "/opt/cloudera/parcels/CDH-5.12.1-1.cdh5.12.1.p0.3/lib/hue/desktop/libs/indexer/src/indexer/api.py", 163, "collections_create", "quote_character=request.POST.get('quote'))" ], [ "/opt/cloudera/parcels/CDH-5.12.1-1.cdh5.12.1.p0.3/lib/hue/desktop/libs/indexer/src/indexer/controller.py", 261, "update_data_from_hdfs", "data = json.dumps([value for value in field_values_from_separated_file(fh, kwargs.get('separator', ','), kwargs.get('quote_character', '\"'), fields)], indent=2)" ], [ "/opt/cloudera/parcels/CDH-5.12.1-1.cdh5.12.1.p0.3/lib/hue/desktop/libs/indexer/src/indexer/utils.py", 296, "field_values_from_separated_file", "row[key] = float(row[key])" ] ] }

 

I'm new in Cloudera and totally green in Solr.

 

Does anybody know what is causing this?

I will be really glad for any help.

Announcements