Reply
Expert Contributor
Posts: 90
Registered: ‎02-15-2016

select solr table error

 

Hi ,

I have created a solr external table and inserted data . while selecting this table i am getting error 

 what could be the reason . i have check all kerberos related files and jaas.conf file 

 

 

Error: java.io.IOException: org.apache.solr.client.solrj.impl.HttpSolrServer$RemoteSolrException: Expected content type application/octet-stream but got text/html;charset=utf-8. <html><head><title>Apache Tomcat/6.0.44 - 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 401 - Authentication required</h1><HR size="1" noshade="noshade"><p><b>type</b> Status report</p><p><b>message</b> <u>Authentication required</u></p><p><b>description</b> <u>This request requires HTTP authentication.</u></p><HR size="1" noshade="noshade"><h3>Apache Tomcat/6.0.44</h3></body></html> (state=,code=0)

Highlighted
Expert Contributor
Posts: 90
Registered: ‎02-15-2016

Re: select solr table error

anyone . please help

Cloudera Employee
Posts: 177
Registered: ‎01-09-2014

Re: select solr table error

It looks like you are not passing the jaas configuration successfully. Alternatively there may be another error message that the kerberos libraries are throwing. Check the solr server logs for the full stack trace of the kerberos exception.

-pd
Announcements