-
Notifications
You must be signed in to change notification settings - Fork 20
Blazegraph
Gabor Szarnyas edited this page Jan 14, 2018
·
3 revisions
Problem: running a remote query throws an error:
java.io.IOException: Could not identify format for service response: serviceURI=http://localhost:9999/bigdata/sparql,
contentType=application/rdf+xml : response=<?xml version="1.0" encoding="UTF-8"?>Solution: change the serviceURI from .../bigdata to .../blazegraph. (source)
By default, Blazegraph starts with a large wall of text:
BlazeGraph(TM) Graph Engine
Flexible
Reliable
Affordable
Web-Scale Computing for the Enterprise
Copyright SYSTAP, LLC DBA Blazegraph 2006-2016. All rights reserved.
[...]
To turn off the banner, using the blazegraph.properties file is not sufficient. Instead, you have to either provide a VM argument (-Dcom.bigdata.Banner.quiet=true) or set it manually from code before instantiating Blazegraph's classes:
System.getProperties().setProperty("com.bigdata.Banner.quiet", "true");This way, the banner is not displayed, but there is still another log message:
INFO: com.bigdata.util.config.LogUtil: Configure: file:/.../log4j.properties
To turn this off, set the LogUtil to quiet with another VM argument (-Dcom.bigdata.util.config.LogUtil.quiet=true) or from code:
System.getProperties().setProperty("com.bigdata.util.config.LogUtil.quiet", "true");