Closed akunft closed 8 years ago
AFAIK the only places where hard-coded paths are used is in the tests, which will be replaced with proper test that follow the existing SystemML test harness.
Hence the current test need to be deleted anyway and the current test-suite adapted to test Flink execution environment.
Are there places outside our tests where hard-coded paths are used?
Not that I'm aware of. To make the current tests run out of the box, I still suggest to replace the hard coded paths with properties at least.
Fair enough
The only problem is that Felix uses uncommited test scripts: System.getProperty("user.dir") + "/scripts/myScripts/tsmm.dml"
This should be resolved by removing our tests.
We have to replace the hard coded paths to conf and scripts to runtime dependent paths like we did for resources (
System.getProperty("user.dir")
as base).In addition, as we commonly use e.g the resources, conf, scripts folder, we should provide a utils (Paths) class with static fields for these paths.