You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2019/12/16 02:00:33 UTC

[GitHub] [flink] JingsongLi commented on a change in pull request #10568: [FLINK-15245][hive] Flink running in one cluster cannot write data to…

JingsongLi commented on a change in pull request #10568: [FLINK-15245][hive] Flink running in one cluster cannot write data to…
URL: https://github.com/apache/flink/pull/10568#discussion_r358028363
 
 

 ##########
 File path: flink-connectors/flink-connector-hive/src/main/java/org/apache/flink/connectors/hive/HiveOutputFormatFactory.java
 ##########
 @@ -167,7 +167,7 @@ public HiveOutputFormat createOutputFormat(Path outPath) {
 					recordSerDe.getSerializedClass(),
 					isCompressed,
 					tableProperties,
-					new org.apache.hadoop.fs.Path(outPath.getPath()));
+					new org.apache.hadoop.fs.Path(outPath.toUri()));
 
 Review comment:
   Use `HadoopFileSystem.toHadoopPath`

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services