Reply
New Contributor
Posts: 2
Registered: ‎05-18-2017

Error in indexing any CSV file using Solr

I'm trying to index any csv file using solr but I always get this error

{ "traceback": [ [ "/usr/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)" ], [ "/usr/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)" ], [ "/usr/lib/hue/desktop/libs/indexer/src/indexer/api.py", 163, "collections_create", "quote_character=request.POST.get('quote'))" ], [ "/usr/lib/hue/desktop/libs/indexer/src/indexer/controller.py", 264, "update_data_from_hdfs", "if not api.update(collection_or_core_name, data, content_type=content_type):" ], [ "/usr/lib/hue/desktop/libs/libsolr/src/libsolr/api.py", 869, "update", "response = self._root.post('%s/update' % collection_or_core_name, contenttype=content_type, params=params, data=data)" ], [ "/usr/lib/hue/desktop/core/src/desktop/lib/rest/resource.py", 131, "post", "allow_redirects=allow_redirects, clear_cookies=clear_cookies)" ], [ "/usr/lib/hue/desktop/core/src/desktop/lib/rest/resource.py", 80, "invoke", "clear_cookies=clear_cookies)" ], [ "/usr/lib/hue/desktop/core/src/desktop/lib/rest/http_client.py", 196, "execute", "raise self._exc_class(ex)" ] ] }

 

 

I enabled indexer in hue.ini and modified path of libraries of solr ...Is there any thing missing?

Announcements