Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/joomla/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Hadoop Kerberized环境中需要Solr UI身份验证_Hadoop_Solr_Kerberos_Ambari - Fatal编程技术网

Hadoop Kerberized环境中需要Solr UI身份验证

Hadoop Kerberized环境中需要Solr UI身份验证,hadoop,solr,kerberos,ambari,Hadoop,Solr,Kerberos,Ambari,我正在一个kerberized HDP集群上工作,其中有3个节点的infra Solr实例。 当我尝试连接到solr UI时,出现以下错误: Kerberos Authentication Your browser did not provide the required information to authenticate using Kerberos. Please check that your computer has a valid ticket for communica

我正在一个kerberized HDP集群上工作,其中有3个节点的infra Solr实例。 当我尝试连接到solr UI时,出现以下错误:

Kerberos Authentication

    Your browser did not provide the required information to authenticate using Kerberos. Please check that your computer has a valid ticket for communicating with Solr, and that your browser is properly configured to provide that ticket when required. For more information, consult Solr's Kerberos documentation .
    The response from the server was:

    HTTP 401 Authentication required
    WWW-Authenticate: Negotiate
在实例服务器中,我可以使用它的票证轻松地卷曲到Solr URL。 我尝试了中提到的浏览器配置, 但它不起作用

有人知道或知道如何解决这个问题吗?
提前感谢

我确实解决了这个问题,事实上我需要在高级拓扑Knox(在ambari ui中)中添加这行代码:

SOLR
http://:8886/solr/
http://:8886/solr/
http://:8886/solr/
然后我在高级网关站点的:
gateway.dispatch.whitelist.services
中添加了SOLR服务

<service> <role>SOLR</role> 
                     <url>http://<hostname1>:8886/solr/</url>
                     <url>http://<hostname2>:8886/solr/</url>
                     <url>http://<hostname3>:8886/solr/</url>
     </service>