Created on 10-23-2017 09:15 AM - edited 09-16-2022 05:26 AM
hi,
When I access solr/search from cdh quick start vm, I am getting the below error. this is happening randomly......It got fixed before when I restart the quickstart vm....but today ...it is not up even after restart.......
solr and zookeper are both running.
23/Oct/2017 08:00:24 -0700] middleware INFO Processing exception: <html><head><title>Apache Tomcat/6.0.53 - Error report</title><style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP Status 404 - /solr/nfcap_s/admin/luke/h1><HR size="1" noshade="noshade"><p><b>type</b> Status report</p><p><b>message</b> <u>/solr/nfcap_s/admin/luke</u></p><p><b>description</b> <u>The requested resource is not available.</u></p><HR size="1" noshade="noshade"><h3>Apache Tomcat/6.0.53</h3></body></html> (error 404): Traceback (most recent call last):
File "/usr/lib/hue/build/env/lib/python2.6/site-packages/Django-1.6.10-py2.6.egg/django/core/handlers/base.py", line 112, in get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/usr/lib/hue/build/env/lib/python2.6/site-packages/Django-1.6.10-py2.6.egg/django/db/transaction.py", line 371, in inner
return func(*args, **kwargs)
File "/usr/lib/hue/desktop/libs/dashboard/src/dashboard/views.py", line 108, in new_search
collection = Collection2(user=request.user, name=collections[0], engine=engine)
File "/usr/lib/hue/desktop/libs/dashboard/src/dashboard/models.py", line 49, in __init__
'collection': self.get_default(user, name, engine),
File "/usr/lib/hue/desktop/libs/dashboard/src/dashboard/models.py", line 140, in get_default
fields = self.fields_data(user, name, engine)
File "/usr/lib/hue/desktop/libs/dashboard/src/dashboard/models.py", line 234, in fields_data
fields = api.schema_fields(name)
File "/usr/lib/hue/apps/search/src/search/dashboard_api.py", line 50, in schema_fields
return self.api.fields(collection)
Created 10-27-2017 11:21 PM
Created 10-31-2017 10:15 AM
sorry for the delay in response...but yes solr is up and running....i am able to open the solr admin page and query the collection I created.
Created 11-20-2017 10:38 AM
Can anyone help me in this regard? I checked the hue.ini file under /etc/hue/conf.empty/hue.ini and I see the below in the file
[search]
# URL of the Solr Server
solr_url=http://quickstart.cloudera:8983/solr/
# Requires FQDN in solr_url if enabled
## security_enabled=false
## Query sent when no term is entered
## empty_query=*:*
Created 11-21-2017 02:27 AM