Hrishikesh Gadre created SOLR-7204:
--------------------------------------

             Summary: Improve error handling in create collection API
                 Key: SOLR-7204
                 URL: https://issues.apache.org/jira/browse/SOLR-7204
             Project: Solr
          Issue Type: Bug
    Affects Versions: 4.10.3
            Reporter: Hrishikesh Gadre
            Priority: Minor


I was trying to create a collection on a Solrcloud deployed along with 
kerberized Hadoop cluster. I kept on getting following error,

org.apache.solr.client.solrj.impl.HttpSolrServer$RemoteSolrException:Error 
CREATEing SolrCore 'orders_shard1_replica2': Unable to create core 
[orders_shard1_replica2] Caused by: Lock obtain timed out: 
org.apache.solr.store.hdfs.HdfsLockFactory$HdfsLock@451997e1

On careful analysis of logs, I realized it was due to Solr not being able to 
talk to HDFS properly because of following error,

javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: 
PKIX path building failed: 
sun.security.provider.certpath.SunCertPathBuilderException: unable to find 
valid certification path to requested target

We should improve the error handling such that we return the root-cause of the 
error (in this case SSLHandshakeException instead of lock timeout exception).


 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to