stoty commented on code in PR #1808:
URL: https://github.com/apache/phoenix/pull/1808#discussion_r1482967037
##########
phoenix-core-server/src/main/java/org/apache/phoenix/mapreduce/AbstractBulkLoadTool.java:
##########
@@ -249,7 +250,7 @@ private int loadData(Configuration conf, CommandLine
cmdLine) throws Exception {
if (cmdLine.hasOption(OUTPUT_PATH_OPT.getOpt())) {
outputPath = new
Path(cmdLine.getOptionValue(OUTPUT_PATH_OPT.getOpt()));
} else {
- outputPath = new Path("/tmp/" + UUID.randomUUID());
+ outputPath = new Path(tmpPath + "/" + UUID.randomUUID());
Review Comment:
Please check EACH PATH manually.
This is another obvious HadoopFS path, the type is
org.apache.hadoop.fs.Path. It is defined just a few lines above.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]