flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-8006) flink-daemon.sh: line 103: binary operator expected
Date Wed, 08 Nov 2017 17:21:00 GMT

    [ https://issues.apache.org/jira/browse/FLINK-8006?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16244348#comment-16244348
] 

ASF GitHub Bot commented on FLINK-8006:
---------------------------------------

Github user greghogan commented on the issue:

    https://github.com/apache/flink/pull/4968
  
    @elbaulp au contraire, thank you for fixing this bug. Do we need quotes for the following?
    
    line 69: pid=$FLINK_PID_DIR/flink-$FLINK_IDENT_STRING-$DAEMON.pid
    line 181: done < ${pid}.tmp
    line 182: rm ${pid}.tmp


> flink-daemon.sh: line 103: binary operator expected
> ---------------------------------------------------
>
>                 Key: FLINK-8006
>                 URL: https://issues.apache.org/jira/browse/FLINK-8006
>             Project: Flink
>          Issue Type: Bug
>          Components: Startup Shell Scripts
>    Affects Versions: 1.3.2
>         Environment: Linux 4.12.12-gentoo #2 SMP x86_64 Intel(R) Core(TM) i3-3110M CPU
@ 2.40GHz GenuineIntel GNU/Linux
>            Reporter: Alejandro 
>              Labels: easyfix, newbie
>   Original Estimate: 1m
>  Remaining Estimate: 1m
>
> When executing `./bin/start-local.sh` I get
> flink-1.3.2/bin/flink-daemon.sh: line 79: $pid: ambiguous redirect
> flink-1.3.2/bin/flink-daemon.sh: line 103: [: /tmp/flink-Alejandro: binary operator expected
> I solved the problem replacing $pid by "$pid" in lines 79 and 103.
> Should I make a PR to the repo?



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message