Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Failed to parse benchmark configuration" error #182

Closed
szarnyasg opened this issue Aug 17, 2019 · 0 comments
Closed

"Failed to parse benchmark configuration" error #182

szarnyasg opened this issue Aug 17, 2019 · 0 comments

Comments

@szarnyasg
Copy link
Member

For the record: I got "Failed to parse benchmark configuration" errors and it took some time to figure out why.

/home/ubuntu/git/ldbc-graphalytics-platform-graphblas/graphalytics-1.0.0-graphblas-0.1-SNAPSHOT/bin/sh/../..//config/:/home/ubuntu/git/ldbc-graphalytics-platform-graphblas/graphalytics-1.0.0-graphblas-0.1-SNAPSHOT/bin/sh/../..//lib/graphalytics-platforms-graphblas-0.1-SNAPSHOT-default.jar:
11:22 [INFO ] Initializing Benchmark Suite.                                                               
11:22 [INFO ] Loading Benchmark...                                                                    
Exception in thread "main" science.atlarge.graphalytics.configuration.GraphalyticsLoaderException: Failed to parse benchmark configuration.
        at science.atlarge.graphalytics.BenchmarkSuite.main(BenchmarkSuite.java:75)                                     
Caused by: science.atlarge.graphalytics.configuration.InvalidConfigurationException: Cannot retrieve properties from file: benchmark.properties
        at science.atlarge.graphalytics.configuration.ConfigurationUtil.loadConfiguration(ConfigurationUtil.java:48)
        at science.atlarge.graphalytics.execution.BenchmarkLoader.<init>(BenchmarkLoader.java:76)                        
        at science.atlarge.graphalytics.BenchmarkSuite.main(BenchmarkSuite.java:71)  

The cause was that I created a config directory in the root of the repository. This prevented the packaging script (mvn package) to add some other configuration files such as graphs.properties, granula.properties, etc. The solution is simply not to create this directory in the repository root.

See also #145.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant