Re: Solr-kerbarose URL not accessible

2016-03-03 Thread Ishan Chattopadhyaya
This appears to be Cloudera search specific. The kerberos support in Solr
is similar to, but not identical with, the kerberos support in Cloudera's
Search. Maybe you could check with Cloudera's support?


On Fri, Feb 12, 2016 at 8:06 PM, Shawn Heisey  wrote:

> On 2/12/2016 4:28 AM, vidya wrote:
> >   When I am trying to access my solrCloud web UI page, deployed in
> cloudera
> > cluster, I have encountered with the error "DEFECTED TOKENS DETECTED" .
> Find
> > the attachment of the error that is added here. It is because of
> kerbarose
> > installed on cluster.
> >
> > Is there any other way that I can access solr in this scenario with
> > kerbarose installed ?
> > Writing a java program helps in any way? While writing a java program
> also,
> > i have to give connection to solr URL with port or zookeeper host
> variable.
> > Will that java program work out?
>
> Thismailing list will filter out most attachments.  It looks like you're
> accessing the list through the Nabble forum, but I still don't see any
> files even when I visit the Nabble website.  Without your attachment(s),
> I can't see the problem, so I cannot offer any advice.
>
> The best option is to place the relevant data on a website like gist or
> dropbox and provide a link to that information.
>
> The error message you have described does not appear in the Solr source
> code, so it must be coming from whatever Kerberos software is being used
> for the authentication, or maybe from the customizations that Cloudera
> has made to Solr in their search product.
>
> I keep coming back to the fact that I can't actually see the full error
> message and Java stacktrace, because your attachments are not available.
>
> Thanks,
> Shawn
>
>


Solr-kerbarose URL not accessible

2016-02-12 Thread vidya
Hi

  When I am trying to access my solrCloud web UI page, deployed in cloudera
cluster, I have encountered with the error "DEFECTED TOKENS DETECTED" . Find
the attachment of the error that is added here. It is because of kerbarose
installed on cluster.

Is there any other way that I can access solr in this scenario with
kerbarose installed ?
Writing a java program helps in any way? While writing a java program also,
i have to give connection to solr URL with port or zookeeper host variable.
Will that java program work out?

Please help me out.



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Solr-kerbarose-URL-not-accessible-tp4256926.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Solr-kerbarose URL not accessible

2016-02-12 Thread Anil
through use jaas-configuration through java API connectivity.

System.setProperty("java.security.auth.login.config", "location of jaas
configration file");
HttpClientUtil.setConfigurer(new Krb5HttpClientConfigurer());

add above two lines when your creating solr cloud

you can find jaas conf information at

http://www.cloudera.com/documentation/archive/search/1-3-0/Cloudera-Search-User-Guide/csug_using_kerberos.html

Hope this helps.

Regards,
Anil Dasari


On 12 February 2016 at 16:58, vidya <vidya.nade...@tcs.com> wrote:

> Hi
>
>   When I am trying to access my solrCloud web UI page, deployed in cloudera
> cluster, I have encountered with the error "DEFECTED TOKENS DETECTED" .
> Find
> the attachment of the error that is added here. It is because of kerbarose
> installed on cluster.
>
> Is there any other way that I can access solr in this scenario with
> kerbarose installed ?
> Writing a java program helps in any way? While writing a java program also,
> i have to give connection to solr URL with port or zookeeper host variable.
> Will that java program work out?
>
> Please help me out.
>
>
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/Solr-kerbarose-URL-not-accessible-tp4256926.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>


Re: Solr-kerbarose URL not accessible

2016-02-12 Thread Shawn Heisey
On 2/12/2016 4:28 AM, vidya wrote:
>   When I am trying to access my solrCloud web UI page, deployed in cloudera
> cluster, I have encountered with the error "DEFECTED TOKENS DETECTED" . Find
> the attachment of the error that is added here. It is because of kerbarose
> installed on cluster.
>
> Is there any other way that I can access solr in this scenario with
> kerbarose installed ?
> Writing a java program helps in any way? While writing a java program also,
> i have to give connection to solr URL with port or zookeeper host variable.
> Will that java program work out?

Thismailing list will filter out most attachments.  It looks like you're
accessing the list through the Nabble forum, but I still don't see any
files even when I visit the Nabble website.  Without your attachment(s),
I can't see the problem, so I cannot offer any advice.

The best option is to place the relevant data on a website like gist or
dropbox and provide a link to that information.

The error message you have described does not appear in the Solr source
code, so it must be coming from whatever Kerberos software is being used
for the authentication, or maybe from the customizations that Cloudera
has made to Solr in their search product.

I keep coming back to the fact that I can't actually see the full error
message and Java stacktrace, because your attachments are not available.

Thanks,
Shawn