blazegraph / database

Blazegraph High Performance Graph Database
GNU General Public License v2.0
872 stars 170 forks source link

Namespaces missing after restart #233

Closed Ddave182 closed 1 year ago

Ddave182 commented 1 year ago

Hello folks!

I am fairly new to BlazeGraph and wanted to use it in my examination of triple store benchmarks. I therefore created three different namespaces and uploaded 3-4GB of data into each of them, which brought my journal file to a size of 16,6GB.

However after the restart all namespaces are gone, and running SPARQL queries returns empty results. Though my journal file still holds 16,6GB of triple data.

Any chance on how to restore those lost triples, and namespaces? Many thanks!

FYI: I downloaded version 2.7.1 from GitHub and ran the .jar file to host the blazegraph server.

thompsonbry commented 1 year ago

The file will be extended as incremental writes are pushed through to the disk. But without a commit there is no record of the root of the indices for those graphs.

I suggest that you verify that the journal you are reopening is the same journal that you wrote on. If you use a different properties file by mistake it would explain the lack of any loaded data or created namespaces. That is my best guess as to what is happening here.

Bryan

On Sat, Jul 16, 2022 at 03:42 Ddave182 @.***> wrote:

Hello folks!

I am fairly new to BlazeGraph and wanted to use it in my examination of triple store benchmarks. I therefore created three different namespaces and uploaded 3-4GB of data into each of them, which brought my journal file to a size of 16,6GB.

However after the restart all namespaces are gone, and running SPARQL queries returns empty results. Though my journal file still holds 16,6GB of triple data.

Any chance on how to restore those lost triples, and namespaces? Many thanks!

FYI: I downloaded version 2.7.1 from GitHub and ran the .jar file to host the blazegraph server.

— Reply to this email directly, view it on GitHub https://github.com/blazegraph/database/issues/233, or unsubscribe https://github.com/notifications/unsubscribe-auth/AATW7YHV2RTUS6UWPFHB76DVUKGYVANCNFSM53X4QA4A . You are receiving this because you are subscribed to this thread.Message ID: @.***>

Ddave182 commented 1 year ago

Thanks Bryan for your comment and effort. Though i started the server already without any specific properties file, which protected me from selecting the wrong one. I did however restart the server from a different location in my terminal (-server -Xmx4g -jar ~/path/to/file/blazegraph.jar). Only when I navigated back to root directory of Blazegraph and started the server (java -server -Xmx4g -jar ./blazegraph.jar) from there, all my namespaces reappeared.

Thanks and all the best, Dave