org.apache.solr.common.SolrException: Request [https://HOSTNAME:8983/solr/COLLECTION/schema/fieldtypes?wt=json] failed due to: HTTP/1.1 401 Authentication required: <html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/><title>Error 401 Authentication required</title></head><body><h2>HTTP ERROR 401</h2><p>Problem accessing /solr/COLLECTION/schema/fieldtypes. Reason:<pre> Authentication required</pre></p><hr><i><small>Powered by Jetty://</small></i><hr/></body></html>

GitHub | risdenk | 7 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    GitHub comment 79#236029815

    GitHub | 7 months ago | risdenk
    org.apache.solr.common.SolrException: Request [https://HOSTNAME:8983/solr/COLLECTION/schema/fieldtypes?wt=json] failed due to: HTTP/1.1 401 Authentication required: <html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/><title>Error 401 Authentication required</title></head><body><h2>HTTP ERROR 401</h2><p>Problem accessing /solr/COLLECTION/schema/fieldtypes. Reason:<pre> Authentication required</pre></p><hr><i><small>Powered by Jetty://</small></i><hr/></body></html>

    Root Cause Analysis

    1. org.apache.solr.common.SolrException

      Request [https://HOSTNAME:8983/solr/COLLECTION/schema/fieldtypes?wt=json] failed due to: HTTP/1.1 401 Authentication required: <html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/><title>Error 401 Authentication required</title></head><body><h2>HTTP ERROR 401</h2><p>Problem accessing /solr/COLLECTION/schema/fieldtypes. Reason:<pre> Authentication required</pre></p><hr><i><small>Powered by Jetty://</small></i><hr/></body></html>

      at com.lucidworks.spark.util.SolrJsonSupport$.doJsonRequest()
    2. com.lucidworks.spark
      SolrRelation.<init>
      1. com.lucidworks.spark.util.SolrJsonSupport$.doJsonRequest(SolrJsonSupport.scala:92)
      2. com.lucidworks.spark.util.SolrJsonSupport$.getJson(SolrJsonSupport.scala:73)
      3. com.lucidworks.spark.util.SolrJsonSupport$.getJson(SolrJsonSupport.scala:34)
      4. com.lucidworks.spark.util.SolrQuerySupport$.getFieldTypeToClassMap(SolrQuerySupport.scala:474)
      5. com.lucidworks.spark.util.SolrQuerySupport$.getFieldTypes(SolrQuerySupport.scala:258)
      6. com.lucidworks.spark.util.SolrQuerySupport$.getFieldTypes(SolrQuerySupport.scala:254)
      7. com.lucidworks.spark.util.SolrRelationUtil$.getBaseSchema(SolrRelationUtil.scala:35)
      8. com.lucidworks.spark.SolrRelation.<init>(SolrRelation.scala:83)
      8 frames
    3. solr
      DefaultSource.createRelation
      1. solr.DefaultSource.createRelation(DefaultSource.scala:26)
      1 frame
    4. org.apache.spark
      ResolvedDataSource$.apply
      1. org.apache.spark.sql.execution.datasources.ResolvedDataSource$.apply(ResolvedDataSource.scala:170)
      1 frame
    5. Spark Project SQL
      DataFrameWriter.save
      1. org.apache.spark.sql.DataFrameWriter.save(DataFrameWriter.scala:146)
      1 frame