[
https://issues.apache.org/jira/browse/FLINK-2380?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15108534#comment-15108534
]
ASF GitHub Bot commented on FLINK-2380:
---------------------------------------
Github user uce commented on a diff in the pull request:
https://github.com/apache/flink/pull/1524#discussion_r50252906
--- Diff:
flink-clients/src/main/java/org/apache/flink/client/FlinkYarnSessionCli.java ---
@@ -146,6 +147,15 @@ public AbstractFlinkYarnClient
createFlinkYarnClient(CommandLine cmd) {
flinkYarnClient.setConfigurationFilePath(confPath);
+ try {
+ FileSystem.setDefaultScheme(flinkConfiguration);
+ } catch (IOException e) {
+ LOG.error("Error while setting the default " +
--- End diff --
In the other CLI you rethrow the exception. I would also throw it here. In
any case best to have it consistent imo.
> Allow to configure default FS for file inputs
> ---------------------------------------------
>
> Key: FLINK-2380
> URL: https://issues.apache.org/jira/browse/FLINK-2380
> Project: Flink
> Issue Type: Improvement
> Components: JobManager
> Affects Versions: 0.9, 0.10.0
> Reporter: Ufuk Celebi
> Assignee: Kostas
> Priority: Minor
> Labels: starter
> Fix For: 1.0.0
>
>
> File inputs use "file://" as default prefix. A user asked to make this
> configurable, e.g. "hdfs://" as default.
> (I'm not sure whether this is already possible or not. I will check and
> either close or implement this for the user.)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)