使用JAAS选项的SolrCtl实例

时间:2016-12-28 10:35:51

标签: solr

我正在使用Cloudera群集,并且启用了tsl和ssl进行了kerberosed。我试图在solrctl命令中使用--jaas选项创建一个实例,但它不起作用。

我正在使用的solrctl命令如下      solrctl --jaas jaas-client.conf instancedir --create testindex3 / home / myuserid / testindex3

jass-client.conf文件如下     的 Client { com.sun.security.auth.module.Krb5LoginModule required useKeyTab=true keyTab="<PATH TO KEYTAB>/username.keytab" storeKey=true useTicketCache=false debug=true principal="fully.qualified.domain.name@<YOUR-REALM"; }

对于上述命令,我收到错误

将配置从/ user / myuserid / testindex3 / conf上传到ZookeeperHost1:2181,ZookeeperHost2:2181,ZookeeperHost3:2181 / solr。这可能需要一分钟。 Debug为true storeKey true useTicketCache false useKeyTab true doNotPrompt false ticketCache为null isInitiator true KeyTab为/username.keytab refreshKrb5Config为false principal为fully.qualified.domain.name @

错误:无法上传配置

我不确定为什么没有创建实例以及我缺少什么。我的jaas.conf文件中有什么问题。请指教

注意:我还没有使用&#34; user / fully.qualified.domain.name @

0 个答案:

没有答案