flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Felix seibert (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (FLINK-5516) Hardcoded paths in flink-python
Date Mon, 16 Jan 2017 19:34:27 GMT

     [ https://issues.apache.org/jira/browse/FLINK-5516?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Felix seibert updated FLINK-5516:
---------------------------------
    Description: 
The PythonPlanBinder.java contains three hardcoded filesystem paths:

{code:java}
public static final String FLINK_PYTHON_FILE_PATH = System.getProperty("java.io.tmpdir") +
File.separator + "flink_plan";

private static String FLINK_HDFS_PATH = "hdfs:/tmp";
public static final String FLINK_TMP_DATA_DIR = System.getProperty("java.io.tmpdir") + File.separator
+ "flink_data";
{code}

_FLINK_PYTHON_FILE_PATH_ and _FLINK_TMP_DATA_DIR_ are configurable by modifying _java.io.tmpdir_.
For _FLINK_HDFS_PATH_, there is no way of configuring otherwise but modifying the source.


Is it possible to make all three parameters configurable in the usual flink configuration
files (like flink-conf.yaml)?

  was:
The PythonPlanBinder.java contains two hardcoded filesystem paths:

{code:java}
public static final String FLINK_PYTHON_FILE_PATH = System.getProperty("java.io.tmpdir") +
File.separator + "flink_plan";

private static String FLINK_HDFS_PATH = "hdfs:/tmp";
public static final String FLINK_TMP_DATA_DIR = System.getProperty("java.io.tmpdir") + File.separator
+ "flink_data";
{code}

_FLINK_PYTHON_FILE_PATH_ and {noformat}FLINK_TMP_DATA_DIR{noformat} are configurable by modifying
{noformat}java.io.tmpdir{noformat}.
For {noformat}FLINK_HDFS_PATH{noformat}, there is no way of configuring otherwise but modifying
the source. 

Is it possible to make all three parameters configurable in the usual flink configuration
files (like flink-conf.yaml)?


> Hardcoded paths in flink-python
> -------------------------------
>
>                 Key: FLINK-5516
>                 URL: https://issues.apache.org/jira/browse/FLINK-5516
>             Project: Flink
>          Issue Type: Improvement
>            Reporter: Felix seibert
>
> The PythonPlanBinder.java contains three hardcoded filesystem paths:
> {code:java}
> public static final String FLINK_PYTHON_FILE_PATH = System.getProperty("java.io.tmpdir")
+ File.separator + "flink_plan";
> private static String FLINK_HDFS_PATH = "hdfs:/tmp";
> public static final String FLINK_TMP_DATA_DIR = System.getProperty("java.io.tmpdir")
+ File.separator + "flink_data";
> {code}
> _FLINK_PYTHON_FILE_PATH_ and _FLINK_TMP_DATA_DIR_ are configurable by modifying _java.io.tmpdir_.
> For _FLINK_HDFS_PATH_, there is no way of configuring otherwise but modifying the source.

> Is it possible to make all three parameters configurable in the usual flink configuration
files (like flink-conf.yaml)?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message