Uploaded image for project: 'Blazegraph (by SYSTAP)'
  1. Blazegraph (by SYSTAP)
  2. BLZG-1007

HA LBS Gateway errors under heavy load

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed - Won't Fix
    • Resolution: Duplicate
    • Affects Version/s: BIGDATA_RELEASE_1_3_1
    • Fix Version/s: None
    • Component/s: HAJournalServer
    • Labels:
      None

      Description

      The HA LBS can report a gateway error to the client under an extreme load.

      Query execution: Received error code 502 from server
      Error message: Bad Gateway
      
      For query:
      
      PREFIX rev: <http://purl.org/stuff/rev#>
      
      DESCRIBE ?x
      WHERE { <http://www4.wiwiss.fu-berlin.de/bizer/bsbm/v01/instances/dataFromRatingSite258/Review2529860> rev:reviewer ?x }
      
      
      Query execution error:
      java.io.IOException: Server returned HTTP response code: 502 for URL: http://localhost:8080/bigdata/LBS/read/sparql?query=PREFIX+rev%3A+%3Chttp%3A%2F%2Fpurl.org%2Fstuff%2Frev%23%3E%0A%0ADESCRIBE+%3Fx%0AWHERE+%7B+%3Chttp%3A%2F%2Fwww4.wiwiss.fu-berlin.de%2Fbizer%2Fbsbm%2Fv01%2Finstances%2FdataFromRatingSite258%2FReview2529860%3E+rev%3Areviewer+%3Fx+%7D%0A
      	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
      	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      	at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
      	at sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1674)
      	at sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1672)
      	at java.security.AccessController.doPrivileged(Native Method)
      	at sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1670)
      	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1243)
      	at benchmark.testdriver.NetQuery.exec(NetQuery.java:94)
      	at benchmark.testdriver.SPARQLConnection.executeQuery(SPARQLConnection.java:109)
      	at benchmark.testdriver.ClientThread.run(ClientThread.java:74)
      Caused by: java.io.IOException: Server returned HTTP response code: 502 for URL: http://localhost:8080/bigdata/LBS/read/sparql?query=PREFIX+rev%3A+%3Chttp%3A%2F%2Fpurl.org%2Fstuff%2Frev%23%3E%0A%0ADESCRIBE+%3Fx%0AWHERE+%7B+%3Chttp%3A%2F%2Fwww4.wiwiss.fu-berlin.de%2Fbizer%2Fbsbm%2Fv01%2Finstances%2FdataFromRatingSite258%2FReview2529860%3E+rev%3Areviewer+%3Fx+%7D%0A
      	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1625)
      	at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:468)
      	at benchmark.testdriver.NetQuery.exec(NetQuery.java:88)
      	... 2 more
      

      See BLZG-1030 (Replace Apache Http Components with jetty http client (was Roll forward the apache http components dependency to 4.3.3))

        Attachments

          Activity

            People

            Assignee:
            bryanthompson bryanthompson
            Reporter:
            bryanthompson bryanthompson
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: