Intel-bigdata / HiBench

HiBench is a big data benchmark suite.
Other
1.45k stars 761 forks source link

ISSUE_682 Failed to prepare sql/aggregation due to code error #683

Open jiafuzha opened 3 years ago

jiafuzha commented 3 years ago

When prepared sql/aggregation, I got "No such file found" exception. I tracked down to "autogen/src/main/java/HiBench/Visit.java", there is a line,

"new BufferedReader(new FileReader(cachePath.toString());". It's not correct since cachePath.toString has "file:/" prefix prepended to file path which cannot be recognized by Java File.

jiafuzha commented 3 years ago

@carsonwang , please help review

carsonwang commented 3 years ago

It is not clear where "file:/" comes from, can you please explain? Also, does the code work on HDFS in your environment as I did run them before.