[jira] [Commented] (FLINK-6611) When TaskManager or JobManager restart after crash the PID file contain also the old PID

2017-05-17 Thread Mauro Cortellazzi (JIRA)

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

Mauro Cortellazzi commented on FLINK-6611:
--

Thank you [~greghogan] for the answer, i close the issue 

> When TaskManager or JobManager restart after crash the PID file contain also 
> the old PID
> 
>
> Key: FLINK-6611
> URL: https://issues.apache.org/jira/browse/FLINK-6611
> Project: Flink
>  Issue Type: Task
>  Components: Startup Shell Scripts
>Reporter: Mauro Cortellazzi
>Assignee: Mauro Cortellazzi
>Priority: Trivial
>
> When TaskManager or JobManager restart after crash the PID file contain also 
> the old PID.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Closed] (FLINK-6611) When TaskManager or JobManager restart after crash the PID file contain also the old PID

2017-05-17 Thread Mauro Cortellazzi (JIRA)

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

Mauro Cortellazzi closed FLINK-6611.

Resolution: Not A Problem

> When TaskManager or JobManager restart after crash the PID file contain also 
> the old PID
> 
>
> Key: FLINK-6611
> URL: https://issues.apache.org/jira/browse/FLINK-6611
> Project: Flink
>  Issue Type: Task
>  Components: Startup Shell Scripts
>Reporter: Mauro Cortellazzi
>Assignee: Mauro Cortellazzi
>Priority: Trivial
>
> When TaskManager or JobManager restart after crash the PID file contain also 
> the old PID.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Updated] (FLINK-6611) When TaskManager or JobManager restart after crash the PID file contain also the old PID

2017-05-17 Thread Mauro Cortellazzi (JIRA)

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

Mauro Cortellazzi updated FLINK-6611:
-
Issue Type: Task  (was: Bug)

> When TaskManager or JobManager restart after crash the PID file contain also 
> the old PID
> 
>
> Key: FLINK-6611
> URL: https://issues.apache.org/jira/browse/FLINK-6611
> Project: Flink
>  Issue Type: Task
>  Components: Startup Shell Scripts
>Reporter: Mauro Cortellazzi
>Assignee: Mauro Cortellazzi
>Priority: Trivial
>
> When TaskManager or JobManager restart after crash the PID file contain also 
> the old PID.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Assigned] (FLINK-6611) When TaskManager or JobManager restart after crash the PID file contain also the old PID

2017-05-17 Thread Mauro Cortellazzi (JIRA)

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

Mauro Cortellazzi reassigned FLINK-6611:


Assignee: Mauro Cortellazzi

> When TaskManager or JobManager restart after crash the PID file contain also 
> the old PID
> 
>
> Key: FLINK-6611
> URL: https://issues.apache.org/jira/browse/FLINK-6611
> Project: Flink
>  Issue Type: Bug
>  Components: Startup Shell Scripts
>Reporter: Mauro Cortellazzi
>Assignee: Mauro Cortellazzi
>Priority: Trivial
>
> When TaskManager or JobManager restart after crash the PID file contain also 
> the old PID.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Comment Edited] (FLINK-6611) When TaskManager or JobManager restart after crash the PID file contain also the old PID

2017-05-17 Thread Mauro Cortellazzi (JIRA)

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

Mauro Cortellazzi edited comment on FLINK-6611 at 5/17/17 9:45 AM:
---

In {{flink-daemon.sh}} the is the following piece of script:
{code}
# Add to pid file if successful start
if [[ ${mypid} =~ ${IS_NUMBER} ]] && kill -0 $mypid > /dev/null 2>&1 ; 
then
echo $mypid >> $pid
else
echo "Error starting $DAEMON daemon."
exit 1
fi
{code}
Could it be changed with {{echo $mypid > $pid}} or it brake something?


was (Author: mao.co...@gmail.com):
In `flink-daemon.sh` the is the following piece of script:
{code}
# Add to pid file if successful start
if [[ ${mypid} =~ ${IS_NUMBER} ]] && kill -0 $mypid > /dev/null 2>&1 ; 
then
echo $mypid >> $pid
else
echo "Error starting $DAEMON daemon."
exit 1
fi
{code}
Could it be changed with {{echo $mypid > $pid}} or it brake something?

> When TaskManager or JobManager restart after crash the PID file contain also 
> the old PID
> 
>
> Key: FLINK-6611
> URL: https://issues.apache.org/jira/browse/FLINK-6611
> Project: Flink
>  Issue Type: Bug
>  Components: Startup Shell Scripts
>Reporter: Mauro Cortellazzi
>Priority: Trivial
>
> When TaskManager or JobManager restart after crash the PID file contain also 
> the old PID.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (FLINK-6611) When TaskManager or JobManager restart after crash the PID file contain also the old PID

2017-05-17 Thread Mauro Cortellazzi (JIRA)

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

Mauro Cortellazzi commented on FLINK-6611:
--

In `flink-daemon.sh` the is the following piece of script:
{code}
# Add to pid file if successful start
if [[ ${mypid} =~ ${IS_NUMBER} ]] && kill -0 $mypid > /dev/null 2>&1 ; 
then
echo $mypid >> $pid
else
echo "Error starting $DAEMON daemon."
exit 1
fi
{code}
Could it be changed with {{echo $mypid > $pid}} or it brake something?

> When TaskManager or JobManager restart after crash the PID file contain also 
> the old PID
> 
>
> Key: FLINK-6611
> URL: https://issues.apache.org/jira/browse/FLINK-6611
> Project: Flink
>  Issue Type: Bug
>  Components: Startup Shell Scripts
>Reporter: Mauro Cortellazzi
>Priority: Trivial
>
> When TaskManager or JobManager restart after crash the PID file contain also 
> the old PID.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Assigned] (FLINK-6611) When TaskManager or JobManager restart after crash the PID file contain also the old PID

2017-05-17 Thread Mauro Cortellazzi (JIRA)

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

Mauro Cortellazzi reassigned FLINK-6611:


Assignee: (was: Mauro Cortellazzi)

> When TaskManager or JobManager restart after crash the PID file contain also 
> the old PID
> 
>
> Key: FLINK-6611
> URL: https://issues.apache.org/jira/browse/FLINK-6611
> Project: Flink
>  Issue Type: Bug
>  Components: Startup Shell Scripts
>Reporter: Mauro Cortellazzi
>Priority: Trivial
>
> When TaskManager or JobManager restart after crash the PID file contain also 
> the old PID.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Assigned] (FLINK-6611) When TaskManager or JobManager restart after crash the PID file contain also the old PID

2017-05-17 Thread Mauro Cortellazzi (JIRA)

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

Mauro Cortellazzi reassigned FLINK-6611:


Assignee: Mauro Cortellazzi

> When TaskManager or JobManager restart after crash the PID file contain also 
> the old PID
> 
>
> Key: FLINK-6611
> URL: https://issues.apache.org/jira/browse/FLINK-6611
> Project: Flink
>  Issue Type: Bug
>  Components: Startup Shell Scripts
>Reporter: Mauro Cortellazzi
>Assignee: Mauro Cortellazzi
>Priority: Trivial
>
> When TaskManager or JobManager restart after crash the PID file contain also 
> the old PID.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Updated] (FLINK-6611) When TaskManager or JobManager restart after crash the PID file contain also the old PID

2017-05-17 Thread Mauro Cortellazzi (JIRA)

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

Mauro Cortellazzi updated FLINK-6611:
-
Description: 
When TaskManager or JobManager restart after crash the PID file contain also 
the old PID.


> When TaskManager or JobManager restart after crash the PID file contain also 
> the old PID
> 
>
> Key: FLINK-6611
> URL: https://issues.apache.org/jira/browse/FLINK-6611
> Project: Flink
>  Issue Type: Bug
>  Components: Startup Shell Scripts
>Reporter: Mauro Cortellazzi
>Priority: Trivial
>
> When TaskManager or JobManager restart after crash the PID file contain also 
> the old PID.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Created] (FLINK-6611) When TaskManager or JobManager crash

2017-05-17 Thread Mauro Cortellazzi (JIRA)
Mauro Cortellazzi created FLINK-6611:


 Summary: When TaskManager or JobManager crash
 Key: FLINK-6611
 URL: https://issues.apache.org/jira/browse/FLINK-6611
 Project: Flink
  Issue Type: Bug
  Components: Startup Shell Scripts
Reporter: Mauro Cortellazzi
Priority: Trivial






--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Updated] (FLINK-6611) When TaskManager or JobManager restart after crash the PID file contain also the old PID

2017-05-17 Thread Mauro Cortellazzi (JIRA)

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

Mauro Cortellazzi updated FLINK-6611:
-
Summary: When TaskManager or JobManager restart after crash the PID file 
contain also the old PID  (was: When TaskManager or JobManager crash)

> When TaskManager or JobManager restart after crash the PID file contain also 
> the old PID
> 
>
> Key: FLINK-6611
> URL: https://issues.apache.org/jira/browse/FLINK-6611
> Project: Flink
>  Issue Type: Bug
>  Components: Startup Shell Scripts
>Reporter: Mauro Cortellazzi
>Priority: Trivial
>




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Assigned] (FLINK-6023) Fix Scala snippet into Process Function (Low-level Operations) Doc

2017-03-10 Thread Mauro Cortellazzi (JIRA)

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

Mauro Cortellazzi reassigned FLINK-6023:


Assignee: Mauro Cortellazzi

> Fix Scala snippet into Process Function (Low-level Operations) Doc
> --
>
> Key: FLINK-6023
> URL: https://issues.apache.org/jira/browse/FLINK-6023
> Project: Flink
>  Issue Type: Bug
>  Components: Documentation
>Reporter: Mauro Cortellazzi
>Assignee: Mauro Cortellazzi
>Priority: Trivial
> Fix For: 1.3.0, 1.2.1
>
>
> The current `/docs/dev/stream/process_function.md` has some errors in the 
> Scala snippet



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Created] (FLINK-6023) Fix Scala snippet into Process Function (Low-level Operations) Doc

2017-03-10 Thread Mauro Cortellazzi (JIRA)
Mauro Cortellazzi created FLINK-6023:


 Summary: Fix Scala snippet into Process Function (Low-level 
Operations) Doc
 Key: FLINK-6023
 URL: https://issues.apache.org/jira/browse/FLINK-6023
 Project: Flink
  Issue Type: Bug
  Components: Documentation
Reporter: Mauro Cortellazzi
Priority: Trivial
 Fix For: 1.3.0, 1.2.1


The current `/docs/dev/stream/process_function.md` has some errors in the Scala 
snippet



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)