flink-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eron Wright (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FLINK-3883) Rename flink clients for inclusion on system path
Date Sun, 08 May 2016 23:26:12 GMT
Eron Wright  created FLINK-3883:
-----------------------------------

             Summary: Rename flink clients for inclusion on system path
                 Key: FLINK-3883
                 URL: https://issues.apache.org/jira/browse/FLINK-3883
             Project: Flink
          Issue Type: Bug
          Components: Command-line client
            Reporter: Eron Wright 
            Priority: Minor


I ran into some trouble in preparing a Homebrew formula to install Flink on Mac.   Homebrew
can install bin scripts into the system path, e.g. `/usr/local/bin/flink`:
{code}
$ cat /usr/local/bin/flink
#!/bin/bash
exec "/usr/local/Cellar/apache-flink/1.0.2/libexec/bin/flink" "$@"
{code}

It would be nice to install the various Flink shells too, but their names don't seem ideal
for inclusion on the system path.   I propose that they be renamed or aliased to have the
following names (old -> new):

{code}
"pyflink2.sh" -> "pyflink2"
"pyflink3.sh" -> "pyflink3"
"start-scala-shell.sh" -> "flink-shell"
{code}

A related issue is, the shell scripts don't correctly determine their install location when
called via a symlink.




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

Mime
View raw message