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 | 9 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 | 9 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>
  2. 0

    testSampleIndex fails

    GitHub | 3 months ago | patelrishabh
    org.apache.solr.common.SolrException: Request [http://127.0.0.1:64163/solr/testSampleIndex/admin/luke?numTerms=0&wt=json] failed due to: HTTP/1.1 500 Server Error: {"responseHeader":{"status":500,"QTime":1},"error":{"msg":"/Users/Github/spark-solr/target/java-solrcloud-1486452025248/node1/testSampleIndex_shard1_replica1/data/index/segments_1","trace":"java.nio.file.NoSuchFileException: /Users/Github/spark-solr/target/java-solrcloud-1486452025248/node1/testSampleIndex_shard1_replica1/data/index/segments_1\n\tat sun.nio.fs.UnixException.translateToIOException(UnixException.java:86)\n\tat sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)\n\tat sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)\n\tat sun.nio.fs.UnixFileAttributeViews$Basic.readAttributes(UnixFileAttributeViews.java:55)\n\tat sun.nio.fs.UnixFileSystemProvider.readAttributes(UnixFileSystemProvider.java:144)\n\tat java.nio.file.Files.readAttributes(Files.java:1737)\n\tat java.nio.file.Files.size(Files.java:2332)\n\tat org.apache.lucene.store.FSDirectory.fileLength(FSDirectory.java:210)\n\tat org.apache.lucene.store.NRTCachingDirectory.fileLength(NRTCachingDirectory.java:127)\n\tat org.apache.solr.handler.admin.LukeRequestHandler.getIndexInfo(LukeRequestHandler.java:592)\n\tat org.apache.solr.handler.admin.LukeRequestHandler.handleRequestBody(LukeRequestHandler.java:137)\n\tat org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:155)\n\tat org.apache.solr.core.SolrCore.execute(SolrCore.java:2082)\n\tat org.apache.solr.servlet.HttpSolrCall.execute(HttpSolrCall.java:670)\n\tat org.apache.solr.servlet.HttpSolrCall.call(HttpSolrCall.java:458)\n\tat org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:225)\n\tat org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:183)\n\tat org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)\n\tat org.apache.solr.client.solrj.embedded.JettySolrRunner$DebugFilter.doFilter(JettySolrRunner.java:109)\n\tat org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)\n\tat org.eclipse.jetty.servlets.UserAgentFilter.doFilter(UserAgentFilter.java:83)\n\tat org.eclipse.jetty.servlets.GzipFilter.doFilter(GzipFilter.java:364)\n\tat org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)\n\tat org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)\n\tat org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:221)\n\tat org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)\n\tat org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)\n\tat org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)\n\tat org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)\n\tat org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)\n\tat org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)\n\tat org.eclipse.jetty.server.Server.handle(Server.java:499)\n\tat org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:310)\n\tat org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)\n\tat org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540)\n\tat org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)\n\tat org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)\n\tat java.lang.Thread.run(Thread.java:745)\n","code":500}}

    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