Skip to content

Commit

Permalink
parallel
Browse files Browse the repository at this point in the history
  • Loading branch information
Baunsgaard committed Oct 21, 2024
1 parent a7fdf8c commit 394f5d4
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
import org.apache.sysds.runtime.matrix.data.Pair;
import org.apache.sysds.runtime.util.CommonThreadPool;
import org.apache.sysds.runtime.util.HDFSTool;
import org.apache.sysds.utils.stats.InfrastructureAnalyzer;
import org.apache.sysds.utils.stats.Timing;

/**
Expand All @@ -56,7 +57,8 @@ protected void readCSVFrameFromHDFS( Path path, JobConf job, FileSystem fs,
throws IOException
{
Timing time = new Timing(true);
final int numThreads = OptimizerUtils.getParallelTextReadParallelism();
final int numThreads = InfrastructureAnalyzer.getLocalParallelism();
// OptimizerUtils.getParallelTextReadParallelism();

TextInputFormat informat = new TextInputFormat();
informat.configure(job);
Expand Down

0 comments on commit 394f5d4

Please sign in to comment.