lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rishabh Patel <rishabh.mahendra.pa...@gmail.com>
Subject CheckHdfsIndex with Kerberos not working
Date Mon, 03 Oct 2016 18:38:03 GMT
Hello,

My SolrCloud 5.5 installation has Kerberos enabled. The CheckHdfsIndex test
fails to run. However, without Kerberos, I am able to run the test with no
issues.

I ran the following command:

java -cp
"./server/solr-webapp/webapp/WEB-INF/lib/*:./server/lib/ext/*:/hadoop/hadoop-client/lib/servlet-api-2.5.jar"
-ea:org.apache.lucene... org.apache.solr.index.hdfs.CheckHdfsIndex
hdfs://<NODE_NAME>:8020/apps/solr/data/ExampleCollection/core_node1/data/index

The error is:

ERROR: could not open hdfs directory "
hdfs://<NODE_NAME>:8020/apps/solr/data/ExampleCollection/core_node1/data/index
";
exiting org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.security.AccessControlException):
SIMPLE authentication is not enabled.  Available:[TOKEN, KERBEROS]
Does this error message imply that the test cannot run with Kerberos
enabled?

For reference, I followed this blog
http://yonik.com/solr-5-5/

-- 
Regards,
*Rishabh Patel*

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message