[jira] [Commented] (FLINK-4593) Fix PageRank algorithm example

2016-10-14 Thread Alexander Pivovarov (JIRA)

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

Alexander Pivovarov commented on FLINK-4593:


Thank you!

> Fix PageRank algorithm example
> --
>
> Key: FLINK-4593
> URL: https://issues.apache.org/jira/browse/FLINK-4593
> Project: Flink
>  Issue Type: Bug
>  Components: Project Website
>Reporter: Alexander Pivovarov
>Assignee: Alexander Pivovarov
>Priority: Minor
>
> This page https://flink.apache.org/features.html shows the code which 
> implements PageRank algorithm (Batch Processing Applications).
> I noticed couple bugs in the code
> Page class has pageId field
> Adjacency has just id
> but in the code I see
> {code}pages.join(adjacency).where("pageId").equalTo("pageId"){code}
> {code}Page(page.id, 0.15 / numPages){code}
> Also, the code in not formatted (missing spaces)
> {code}Page(n, 0.85*page.rank/adj.neighbors.length){code}



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


[jira] [Comment Edited] (FLINK-4593) Fix PageRank algorithm example

2016-10-14 Thread Alexander Pivovarov (JIRA)

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

Alexander Pivovarov edited comment on FLINK-4593 at 10/14/16 5:52 PM:
--

Ohh sorry, I completely forgot that it was unassigned. Looks like I can not 
assign it to myself. [~fhueske] could you give me permissions to assign Jiras 
to myself? 
Thank you for you help Greg!


was (Author: apivovarov):
Ohh sorry, I completely forgot that it was unassigned. Looks like I can not 
assign it to myself. [~fhueske] could you give me permissions to assign Jiras 
to myself? 

> Fix PageRank algorithm example
> --
>
> Key: FLINK-4593
> URL: https://issues.apache.org/jira/browse/FLINK-4593
> Project: Flink
>  Issue Type: Bug
>  Components: Project Website
>Reporter: Alexander Pivovarov
>Assignee: Greg Hogan
>Priority: Minor
>
> This page https://flink.apache.org/features.html shows the code which 
> implements PageRank algorithm (Batch Processing Applications).
> I noticed couple bugs in the code
> Page class has pageId field
> Adjacency has just id
> but in the code I see
> {code}pages.join(adjacency).where("pageId").equalTo("pageId"){code}
> {code}Page(page.id, 0.15 / numPages){code}
> Also, the code in not formatted (missing spaces)
> {code}Page(n, 0.85*page.rank/adj.neighbors.length){code}



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


[jira] [Comment Edited] (FLINK-4593) Fix PageRank algorithm example

2016-10-14 Thread Alexander Pivovarov (JIRA)

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

Alexander Pivovarov edited comment on FLINK-4593 at 10/14/16 5:52 PM:
--

Ohh sorry, I completely forgot that it was unassigned. Looks like I can not 
assign it to myself. [~fhueske] could you give me permissions to assign Jiras 
to myself? 


was (Author: apivovarov):
Ohh sorry, I completely forgot that it was unassigned. Looks like I can not 
assign it to myself. [~fhueske] could you give me permissions to assign Jiras 
to myself? 

> Fix PageRank algorithm example
> --
>
> Key: FLINK-4593
> URL: https://issues.apache.org/jira/browse/FLINK-4593
> Project: Flink
>  Issue Type: Bug
>  Components: Project Website
>Reporter: Alexander Pivovarov
>Assignee: Greg Hogan
>Priority: Minor
>
> This page https://flink.apache.org/features.html shows the code which 
> implements PageRank algorithm (Batch Processing Applications).
> I noticed couple bugs in the code
> Page class has pageId field
> Adjacency has just id
> but in the code I see
> {code}pages.join(adjacency).where("pageId").equalTo("pageId"){code}
> {code}Page(page.id, 0.15 / numPages){code}
> Also, the code in not formatted (missing spaces)
> {code}Page(n, 0.85*page.rank/adj.neighbors.length){code}



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


[jira] [Commented] (FLINK-4593) Fix PageRank algorithm example

2016-10-14 Thread Alexander Pivovarov (JIRA)

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

Alexander Pivovarov commented on FLINK-4593:


Ohh sorry, I completely forgot that it was unassigned. Looks like I can not 
assign it to myself. [~fhueske] could you give me permissions to assign Jiras 
to myself? 

> Fix PageRank algorithm example
> --
>
> Key: FLINK-4593
> URL: https://issues.apache.org/jira/browse/FLINK-4593
> Project: Flink
>  Issue Type: Bug
>  Components: Project Website
>Reporter: Alexander Pivovarov
>Assignee: Greg Hogan
>Priority: Minor
>
> This page https://flink.apache.org/features.html shows the code which 
> implements PageRank algorithm (Batch Processing Applications).
> I noticed couple bugs in the code
> Page class has pageId field
> Adjacency has just id
> but in the code I see
> {code}pages.join(adjacency).where("pageId").equalTo("pageId"){code}
> {code}Page(page.id, 0.15 / numPages){code}
> Also, the code in not formatted (missing spaces)
> {code}Page(n, 0.85*page.rank/adj.neighbors.length){code}



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


[jira] [Comment Edited] (FLINK-4593) Fix PageRank algorithm example

2016-10-14 Thread Alexander Pivovarov (JIRA)

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

Alexander Pivovarov edited comment on FLINK-4593 at 10/14/16 5:18 PM:
--

[~greghogan] The PR was done on Sep 8 and it was approved.Can you change 
assignee to my name?


was (Author: apivovarov):
[~greghogan] Can you change assignee to my name?

> Fix PageRank algorithm example
> --
>
> Key: FLINK-4593
> URL: https://issues.apache.org/jira/browse/FLINK-4593
> Project: Flink
>  Issue Type: Bug
>  Components: Project Website
>Reporter: Alexander Pivovarov
>Assignee: Greg Hogan
>Priority: Minor
>
> This page https://flink.apache.org/features.html shows the code which 
> implements PageRank algorithm (Batch Processing Applications).
> I noticed couple bugs in the code
> Page class has pageId field
> Adjacency has just id
> but in the code I see
> {code}pages.join(adjacency).where("pageId").equalTo("pageId"){code}
> {code}Page(page.id, 0.15 / numPages){code}
> Also, the code in not formatted (missing spaces)
> {code}Page(n, 0.85*page.rank/adj.neighbors.length){code}



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


[jira] [Commented] (FLINK-4593) Fix PageRank algorithm example

2016-10-14 Thread Alexander Pivovarov (JIRA)

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

Alexander Pivovarov commented on FLINK-4593:


[~greghogan] Can you change assignee to my name?

> Fix PageRank algorithm example
> --
>
> Key: FLINK-4593
> URL: https://issues.apache.org/jira/browse/FLINK-4593
> Project: Flink
>  Issue Type: Bug
>  Components: Project Website
>Reporter: Alexander Pivovarov
>Assignee: Greg Hogan
>Priority: Minor
>
> This page https://flink.apache.org/features.html shows the code which 
> implements PageRank algorithm (Batch Processing Applications).
> I noticed couple bugs in the code
> Page class has pageId field
> Adjacency has just id
> but in the code I see
> {code}pages.join(adjacency).where("pageId").equalTo("pageId"){code}
> {code}Page(page.id, 0.15 / numPages){code}
> Also, the code in not formatted (missing spaces)
> {code}Page(n, 0.85*page.rank/adj.neighbors.length){code}



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


[jira] [Commented] (FLINK-4593) Fix PageRank algorithm example

2016-10-14 Thread Alexander Pivovarov (JIRA)

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

Alexander Pivovarov commented on FLINK-4593:


[~greghogan] Can you change assignee to my name?

> Fix PageRank algorithm example
> --
>
> Key: FLINK-4593
> URL: https://issues.apache.org/jira/browse/FLINK-4593
> Project: Flink
>  Issue Type: Bug
>  Components: Project Website
>Reporter: Alexander Pivovarov
>Assignee: Greg Hogan
>Priority: Minor
>
> This page https://flink.apache.org/features.html shows the code which 
> implements PageRank algorithm (Batch Processing Applications).
> I noticed couple bugs in the code
> Page class has pageId field
> Adjacency has just id
> but in the code I see
> {code}pages.join(adjacency).where("pageId").equalTo("pageId"){code}
> {code}Page(page.id, 0.15 / numPages){code}
> Also, the code in not formatted (missing spaces)
> {code}Page(n, 0.85*page.rank/adj.neighbors.length){code}



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


[jira] [Issue Comment Deleted] (FLINK-4593) Fix PageRank algorithm example

2016-10-14 Thread Alexander Pivovarov (JIRA)

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

Alexander Pivovarov updated FLINK-4593:
---
Comment: was deleted

(was: [~greghogan] Can you change assignee to my name?)

> Fix PageRank algorithm example
> --
>
> Key: FLINK-4593
> URL: https://issues.apache.org/jira/browse/FLINK-4593
> Project: Flink
>  Issue Type: Bug
>  Components: Project Website
>Reporter: Alexander Pivovarov
>Assignee: Greg Hogan
>Priority: Minor
>
> This page https://flink.apache.org/features.html shows the code which 
> implements PageRank algorithm (Batch Processing Applications).
> I noticed couple bugs in the code
> Page class has pageId field
> Adjacency has just id
> but in the code I see
> {code}pages.join(adjacency).where("pageId").equalTo("pageId"){code}
> {code}Page(page.id, 0.15 / numPages){code}
> Also, the code in not formatted (missing spaces)
> {code}Page(n, 0.85*page.rank/adj.neighbors.length){code}



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


[jira] [Comment Edited] (FLINK-4593) Fix PageRank algorithm example

2016-10-14 Thread Alexander Pivovarov (JIRA)

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

Alexander Pivovarov edited comment on FLINK-4593 at 10/14/16 5:19 PM:
--

[~greghogan] The PR was done on Sep 8 and it was approved. Can you change 
assignee back to my name?


was (Author: apivovarov):
[~greghogan] The PR was done on Sep 8 and it was approved.Can you change 
assignee to my name?

> Fix PageRank algorithm example
> --
>
> Key: FLINK-4593
> URL: https://issues.apache.org/jira/browse/FLINK-4593
> Project: Flink
>  Issue Type: Bug
>  Components: Project Website
>Reporter: Alexander Pivovarov
>Assignee: Greg Hogan
>Priority: Minor
>
> This page https://flink.apache.org/features.html shows the code which 
> implements PageRank algorithm (Batch Processing Applications).
> I noticed couple bugs in the code
> Page class has pageId field
> Adjacency has just id
> but in the code I see
> {code}pages.join(adjacency).where("pageId").equalTo("pageId"){code}
> {code}Page(page.id, 0.15 / numPages){code}
> Also, the code in not formatted (missing spaces)
> {code}Page(n, 0.85*page.rank/adj.neighbors.length){code}



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


[jira] [Created] (FLINK-4668) Fix positive random int generation

2016-09-22 Thread Alexander Pivovarov (JIRA)
Alexander Pivovarov created FLINK-4668:
--

 Summary: Fix positive random int generation
 Key: FLINK-4668
 URL: https://issues.apache.org/jira/browse/FLINK-4668
 Project: Flink
  Issue Type: Bug
  Components: Client
Reporter: Alexander Pivovarov
Priority: Trivial


According to java spec
{code}Math.abs(Integer.MIN_VALUE) == Integer.MIN_VALUE{code}

So, {code}Math.abs(rnd.nextInt()){code} might return negative value

To generate positive random int value we can use 
{code}rnd.nextInt(Integer.MAX_VALUE){code}

Integer.MAX_VALUE will be excluded btw



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


[jira] [Updated] (FLINK-4666) Make constants to be final in ParameterTool

2016-09-22 Thread Alexander Pivovarov (JIRA)

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

Alexander Pivovarov updated FLINK-4666:
---
Summary: Make constants to be final in ParameterTool  (was: Make constants 
final in ParameterTool)

> Make constants to be final in ParameterTool
> ---
>
> Key: FLINK-4666
> URL: https://issues.apache.org/jira/browse/FLINK-4666
> Project: Flink
>  Issue Type: Bug
>  Components: Java API
>Reporter: Alexander Pivovarov
>Priority: Trivial
>
> NO_VALUE_KEY and DEFAULT_UNDEFINED in ParameterTool should be final



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


[jira] [Created] (FLINK-4666) Make constants final in ParameterTool

2016-09-22 Thread Alexander Pivovarov (JIRA)
Alexander Pivovarov created FLINK-4666:
--

 Summary: Make constants final in ParameterTool
 Key: FLINK-4666
 URL: https://issues.apache.org/jira/browse/FLINK-4666
 Project: Flink
  Issue Type: Bug
  Components: Java API
Reporter: Alexander Pivovarov
Priority: Trivial


NO_VALUE_KEY and DEFAULT_UNDEFINED in ParameterTool should be final



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


[jira] [Created] (FLINK-4665) Remove boxing/unboxing to parse a primitive

2016-09-22 Thread Alexander Pivovarov (JIRA)
Alexander Pivovarov created FLINK-4665:
--

 Summary: Remove boxing/unboxing to parse a primitive
 Key: FLINK-4665
 URL: https://issues.apache.org/jira/browse/FLINK-4665
 Project: Flink
  Issue Type: Bug
  Components: Java API
Reporter: Alexander Pivovarov
Priority: Trivial


I found the following issues with boxing/unboxing and Integer

1. Current code doing boxing/unboxing to parse a primitive - It is more 
efficient to just call the static parseXXX method.

2. boxing/unboxing to do type cast

3. new Integer instead of valueOf - Using new Integer(int) is guaranteed to 
always result in a new object whereas Integer.valueOf(int) allows caching of 
values to be done by the compiler.



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


[jira] [Created] (FLINK-4612) Close FileWriter using try with resources

2016-09-11 Thread Alexander Pivovarov (JIRA)
Alexander Pivovarov created FLINK-4612:
--

 Summary: Close FileWriter using try with resources
 Key: FLINK-4612
 URL: https://issues.apache.org/jira/browse/FLINK-4612
 Project: Flink
  Issue Type: Bug
  Components: Java API
Affects Versions: 1.1.2
Reporter: Alexander Pivovarov
Priority: Trivial


FileWriter is not closed properly in many places in the project modules



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


[jira] [Updated] (FLINK-4610) Replace keySet/getValue with entrySet in UdfAnalyzerUtils

2016-09-09 Thread Alexander Pivovarov (JIRA)

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

Alexander Pivovarov updated FLINK-4610:
---
Description: 
Map.keySet + getValue combination is not very efficient
It can be replaced with Map.entrySet to avoid values lookup

Also MapEntry allows to modify MapEntry value while iterating thought the map 
using entrySet.iterator

  was:
Map.keySet + getValue combination is not very efficient
It can be replaced with Map.entrySet to avoid values lookup

Also MapEntry allows to modify Map values while iterating thought the map using 
entrySet.iterator


> Replace keySet/getValue with entrySet in UdfAnalyzerUtils
> -
>
> Key: FLINK-4610
> URL: https://issues.apache.org/jira/browse/FLINK-4610
> Project: Flink
>  Issue Type: Improvement
>  Components: Java API
>Affects Versions: 1.1.2
>Reporter: Alexander Pivovarov
>Priority: Minor
>
> Map.keySet + getValue combination is not very efficient
> It can be replaced with Map.entrySet to avoid values lookup
> Also MapEntry allows to modify MapEntry value while iterating thought the map 
> using entrySet.iterator



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


[jira] [Created] (FLINK-4610) Replace keySet/getValue with entrySet in UdfAnalyzerUtils

2016-09-09 Thread Alexander Pivovarov (JIRA)
Alexander Pivovarov created FLINK-4610:
--

 Summary: Replace keySet/getValue with entrySet in UdfAnalyzerUtils
 Key: FLINK-4610
 URL: https://issues.apache.org/jira/browse/FLINK-4610
 Project: Flink
  Issue Type: Improvement
  Components: Java API
Affects Versions: 1.1.2
Reporter: Alexander Pivovarov
Priority: Minor


Map.keySet + getValue combination is not very efficient
It can be replaced with Map.entrySet to avoid values lookup

Also MapEntry allows to modify Map values while iterating thought the map using 
entrySet.iterator



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


[jira] [Created] (FLINK-4609) Remove redundant check for null in CrossOperator

2016-09-09 Thread Alexander Pivovarov (JIRA)
Alexander Pivovarov created FLINK-4609:
--

 Summary: Remove redundant check for null in CrossOperator
 Key: FLINK-4609
 URL: https://issues.apache.org/jira/browse/FLINK-4609
 Project: Flink
  Issue Type: Bug
  Components: Java API
Affects Versions: 1.1.2
Reporter: Alexander Pivovarov
Priority: Trivial


CrossOperator checks input1 and input2 for null after they were dereferenced



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


[jira] [Updated] (FLINK-4608) Use short-circuit AND in Max/Min AggregationFunction

2016-09-09 Thread Alexander Pivovarov (JIRA)

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

Alexander Pivovarov updated FLINK-4608:
---
Description: Max/Min AggregationFunction use & instead of &&. Usually we 
use short-circuit logic in if operators in java  (was: Max/Min 
AggregationFunction use & instead of &&. Usually we use && in if blocks)

> Use short-circuit AND in Max/Min AggregationFunction
> 
>
> Key: FLINK-4608
> URL: https://issues.apache.org/jira/browse/FLINK-4608
> Project: Flink
>  Issue Type: Bug
>  Components: Java API
>Affects Versions: 1.1.2
>Reporter: Alexander Pivovarov
>Priority: Trivial
>
> Max/Min AggregationFunction use & instead of &&. Usually we use short-circuit 
> logic in if operators in java



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


[jira] [Updated] (FLINK-4608) Use short-circuit AND in Max/Min AggregationFunction

2016-09-09 Thread Alexander Pivovarov (JIRA)

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

Alexander Pivovarov updated FLINK-4608:
---
Description: Max/Min AggregationFunction use & instead of &&. Usually we 
use && in if blocks  (was: Max/Min AggregationFunction use & instead of &&)

> Use short-circuit AND in Max/Min AggregationFunction
> 
>
> Key: FLINK-4608
> URL: https://issues.apache.org/jira/browse/FLINK-4608
> Project: Flink
>  Issue Type: Bug
>  Components: Java API
>Affects Versions: 1.1.2
>Reporter: Alexander Pivovarov
>Priority: Trivial
>
> Max/Min AggregationFunction use & instead of &&. Usually we use && in if 
> blocks



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


[jira] [Updated] (FLINK-4608) Use short-circuit AND in Max/Min AggregationFunction

2016-09-09 Thread Alexander Pivovarov (JIRA)

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

Alexander Pivovarov updated FLINK-4608:
---
Description: Max/Min AggregationFunction use & instead of &&

> Use short-circuit AND in Max/Min AggregationFunction
> 
>
> Key: FLINK-4608
> URL: https://issues.apache.org/jira/browse/FLINK-4608
> Project: Flink
>  Issue Type: Bug
>  Components: Java API
>Affects Versions: 1.1.2
>Reporter: Alexander Pivovarov
>Priority: Trivial
>
> Max/Min AggregationFunction use & instead of &&



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


[jira] [Created] (FLINK-4608) Use short-circuit AND in Max/Min AggregationFunction

2016-09-09 Thread Alexander Pivovarov (JIRA)
Alexander Pivovarov created FLINK-4608:
--

 Summary: Use short-circuit AND in Max/Min AggregationFunction
 Key: FLINK-4608
 URL: https://issues.apache.org/jira/browse/FLINK-4608
 Project: Flink
  Issue Type: Bug
  Components: Java API
Affects Versions: 1.1.2
Reporter: Alexander Pivovarov
Priority: Trivial






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


[jira] [Created] (FLINK-4607) Close FileInputStream in ParameterTool and other

2016-09-09 Thread Alexander Pivovarov (JIRA)
Alexander Pivovarov created FLINK-4607:
--

 Summary: Close FileInputStream in ParameterTool and other
 Key: FLINK-4607
 URL: https://issues.apache.org/jira/browse/FLINK-4607
 Project: Flink
  Issue Type: Bug
Affects Versions: 1.1.2
Reporter: Alexander Pivovarov
Priority: Trivial


ParameterTool and some tests do not close FileInputStream
{code}
flink-core/src/test/java/org/apache/flink/core/fs/local/LocalFileSystemTest.java
flink-java/src/main/java/org/apache/flink/api/java/utils/ParameterTool.java
flink-java/src/test/java/org/apache/flink/api/java/utils/ParameterToolTest.java
flink-java8/src/test/java/org/apache/flink/runtime/util/JarFileCreatorLambdaTest.java
flink-runtime/src/test/java/org/apache/flink/runtime/util/JarFileCreatorTest.java
{code}



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


[jira] [Created] (FLINK-4601) Check for empty string properly

2016-09-08 Thread Alexander Pivovarov (JIRA)
Alexander Pivovarov created FLINK-4601:
--

 Summary: Check for empty string properly
 Key: FLINK-4601
 URL: https://issues.apache.org/jira/browse/FLINK-4601
 Project: Flink
  Issue Type: Bug
Affects Versions: 1.1.2
Reporter: Alexander Pivovarov
Priority: Trivial


UdfAnalyzerExamplesTest.java and UdfAnalyzerTest.java use == to check for empty 
string. We should use isEmpty() instead



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


[jira] [Closed] (FLINK-4585) Fix broken links in index.md

2016-09-08 Thread Alexander Pivovarov (JIRA)

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

Alexander Pivovarov closed FLINK-4585.
--

> Fix broken links in index.md
> 
>
> Key: FLINK-4585
> URL: https://issues.apache.org/jira/browse/FLINK-4585
> Project: Flink
>  Issue Type: Bug
>  Components: Project Website
>Reporter: Alexander Pivovarov
>Priority: Minor
>
> The following links are broken
> DataSet API
> link: 
> http://ci.apache.org/projects/flink/flink-docs-master/apis/batch/index.html
> correct link: 
> https://ci.apache.org/projects/flink/flink-docs-master/dev/batch/index.html
> Table API
> link: 
> http://ci.apache.org/projects/flink/flink-docs-master/apis/batch/libs/table.html
> correct link: 
> https://ci.apache.org/projects/flink/flink-docs-master/dev/table_api.html
> Gelly
> link: 
> http://ci.apache.org/projects/flink/flink-docs-master/apis/batch/libs/gelly.html
> correct link: 
> https://ci.apache.org/projects/flink/flink-docs-master/dev/libs/gelly/index.html
> The following links show "Page 'X' Has Moved to" for 1-2 sec  and then 
> redirect to another page
> DataStream API
> link: 
> http://ci.apache.org/projects/flink/flink-docs-master/apis/streaming/index.html
> redirects-to: 
> https://ci.apache.org/projects/flink/flink-docs-master/dev/datastream_api.html
> programming guide
> link: 
> http://ci.apache.org/projects/flink/flink-docs-master/apis/programming_guide.html
> redirects-to DataSet API: 
> https://ci.apache.org/projects/flink/flink-docs-master/dev/batch/index.html
> probably it should be "Basic API Concepts" 
> https://ci.apache.org/projects/flink/flink-docs-master/dev/api_concepts.html
> or Quick Start - 
> https://ci.apache.org/projects/flink/flink-docs-master/quickstart/setup_quickstart.html
> CEP
> link: 
> http://ci.apache.org/projects/flink/flink-docs-master/apis/streaming/libs/cep.html
> redirects-to: 
> https://ci.apache.org/projects/flink/flink-docs-master/dev/libs/cep.html
> ML
> link: 
> http://ci.apache.org/projects/flink/flink-docs-master/apis/batch/libs/ml/index.html
> redirects-to: 
> https://ci.apache.org/projects/flink/flink-docs-master/dev/libs/ml/index.html



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


[jira] [Created] (FLINK-4595) Close FileOutputStream in ParameterTool

2016-09-07 Thread Alexander Pivovarov (JIRA)
Alexander Pivovarov created FLINK-4595:
--

 Summary: Close FileOutputStream in ParameterTool
 Key: FLINK-4595
 URL: https://issues.apache.org/jira/browse/FLINK-4595
 Project: Flink
  Issue Type: Bug
  Components: Java API
Affects Versions: 1.1.2
Reporter: Alexander Pivovarov
Priority: Trivial


ParameterTool and ParameterToolTest do not close FileOutputStream
{code}
defaultProps.store(new FileOutputStream(file), "Default file created by Flink's 
ParameterUtil.createPropertiesFile()");
{code}

{code}
props.store(new FileOutputStream(propertiesFile), "Test properties");
{code}



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


[jira] [Updated] (FLINK-4593) Fix PageRank algorithm example

2016-09-07 Thread Alexander Pivovarov (JIRA)

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

Alexander Pivovarov updated FLINK-4593:
---
Flags: Patch

> Fix PageRank algorithm example
> --
>
> Key: FLINK-4593
> URL: https://issues.apache.org/jira/browse/FLINK-4593
> Project: Flink
>  Issue Type: Bug
>  Components: Project Website
>Reporter: Alexander Pivovarov
>Priority: Minor
>
> This page https://flink.apache.org/features.html shows the code which 
> implements PageRank algorithm (Batch Processing Applications).
> I noticed couple bugs in the code
> Page class has pageId field
> Adjacency has just id
> but in the code I see
> {code}pages.join(adjacency).where("pageId").equalTo("pageId"){code}
> {code}Page(page.id, 0.15 / numPages){code}
> Also, the code in not formatted (missing spaces)
> {code}Page(n, 0.85*page.rank/adj.neighbors.length){code}



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


[jira] [Updated] (FLINK-4593) Fix PageRank algorithm example

2016-09-07 Thread Alexander Pivovarov (JIRA)

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

Alexander Pivovarov updated FLINK-4593:
---
Description: 
This page https://flink.apache.org/features.html shows the code which 
implements PageRank algorithm (Batch Processing Applications).

I noticed couple bugs in the code
Page class has pageId field
Adjacency has just id

but in the code I see
{code}pages.join(adjacency).where("pageId").equalTo("pageId"){code}

{code}Page(page.id, 0.15 / numPages){code}

Also, the code in not formatted (missing spaces)
{code}Page(n, 0.85*page.rank/adj.neighbors.length){code}

  was:
This page https://flink.apache.org/features.html shows the code which 
implements PageRank algorithm (Batch Processing Applications).

I noticed couple bugs in the code
Page class has pageId field
Adjacency has just id

but in the code I see
{code}pages.join(adjacency).where("pageId").equalTo("pageId"){code}

Also {code}Page(page.id, 0.15 / numPages){code}


> Fix PageRank algorithm example
> --
>
> Key: FLINK-4593
> URL: https://issues.apache.org/jira/browse/FLINK-4593
> Project: Flink
>  Issue Type: Bug
>  Components: Project Website
>Reporter: Alexander Pivovarov
>Priority: Minor
>
> This page https://flink.apache.org/features.html shows the code which 
> implements PageRank algorithm (Batch Processing Applications).
> I noticed couple bugs in the code
> Page class has pageId field
> Adjacency has just id
> but in the code I see
> {code}pages.join(adjacency).where("pageId").equalTo("pageId"){code}
> {code}Page(page.id, 0.15 / numPages){code}
> Also, the code in not formatted (missing spaces)
> {code}Page(n, 0.85*page.rank/adj.neighbors.length){code}



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


[jira] [Created] (FLINK-4593) Fix PageRank algorithm example

2016-09-07 Thread Alexander Pivovarov (JIRA)
Alexander Pivovarov created FLINK-4593:
--

 Summary: Fix PageRank algorithm example
 Key: FLINK-4593
 URL: https://issues.apache.org/jira/browse/FLINK-4593
 Project: Flink
  Issue Type: Bug
  Components: Project Website
Reporter: Alexander Pivovarov
Priority: Minor


This page https://flink.apache.org/features.html shows the code which 
implements PageRank algorithm (Batch Processing Applications).

I noticed couple bugs in the code
Page class has pageId field
Adjacency has just id

but in the code I see
{code}pages.join(adjacency).where("pageId").equalTo("pageId"){code}

Also {code}Page(page.id, 0.15 / numPages){code}



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


[jira] [Updated] (FLINK-4585) Fix broken links in index.md

2016-09-07 Thread Alexander Pivovarov (JIRA)

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

Alexander Pivovarov updated FLINK-4585:
---
Flags: Patch

> Fix broken links in index.md
> 
>
> Key: FLINK-4585
> URL: https://issues.apache.org/jira/browse/FLINK-4585
> Project: Flink
>  Issue Type: Bug
>  Components: Project Website
>Reporter: Alexander Pivovarov
>Priority: Minor
>
> The following links are broken
> DataSet API
> link: 
> http://ci.apache.org/projects/flink/flink-docs-master/apis/batch/index.html
> correct link: 
> https://ci.apache.org/projects/flink/flink-docs-master/dev/batch/index.html
> Table API
> link: 
> http://ci.apache.org/projects/flink/flink-docs-master/apis/batch/libs/table.html
> correct link: 
> https://ci.apache.org/projects/flink/flink-docs-master/dev/table_api.html
> Gelly
> link: 
> http://ci.apache.org/projects/flink/flink-docs-master/apis/batch/libs/gelly.html
> correct link: 
> https://ci.apache.org/projects/flink/flink-docs-master/dev/libs/gelly/index.html
> The following links show "Page 'X' Has Moved to" for 1-2 sec  and then 
> redirect to another page
> DataStream API
> link: 
> http://ci.apache.org/projects/flink/flink-docs-master/apis/streaming/index.html
> redirects-to: 
> https://ci.apache.org/projects/flink/flink-docs-master/dev/datastream_api.html
> programming guide
> link: 
> http://ci.apache.org/projects/flink/flink-docs-master/apis/programming_guide.html
> redirects-to DataSet API: 
> https://ci.apache.org/projects/flink/flink-docs-master/dev/batch/index.html
> probably it should be "Basic API Concepts" 
> https://ci.apache.org/projects/flink/flink-docs-master/dev/api_concepts.html
> or Quick Start - 
> https://ci.apache.org/projects/flink/flink-docs-master/quickstart/setup_quickstart.html
> CEP
> link: 
> http://ci.apache.org/projects/flink/flink-docs-master/apis/streaming/libs/cep.html
> redirects-to: 
> https://ci.apache.org/projects/flink/flink-docs-master/dev/libs/cep.html
> ML
> link: 
> http://ci.apache.org/projects/flink/flink-docs-master/apis/batch/libs/ml/index.html
> redirects-to: 
> https://ci.apache.org/projects/flink/flink-docs-master/dev/libs/ml/index.html



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


[jira] [Updated] (FLINK-4585) Fix broken links in index.md

2016-09-06 Thread Alexander Pivovarov (JIRA)

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

Alexander Pivovarov updated FLINK-4585:
---
Description: 
The following links are broken

DataSet API
link: 
http://ci.apache.org/projects/flink/flink-docs-master/apis/batch/index.html
correct link: 
https://ci.apache.org/projects/flink/flink-docs-master/dev/batch/index.html

Table API
link: 
http://ci.apache.org/projects/flink/flink-docs-master/apis/batch/libs/table.html
correct link: 
https://ci.apache.org/projects/flink/flink-docs-master/dev/table_api.html

Gelly
link: 
http://ci.apache.org/projects/flink/flink-docs-master/apis/batch/libs/gelly.html
correct link: 
https://ci.apache.org/projects/flink/flink-docs-master/dev/libs/gelly/index.html

The following links show "Page 'X' Has Moved to" for 1-2 sec  and then redirect 
to another page

DataStream API
link: 
http://ci.apache.org/projects/flink/flink-docs-master/apis/streaming/index.html
redirects-to: 
https://ci.apache.org/projects/flink/flink-docs-master/dev/datastream_api.html

programming guide
link: 
http://ci.apache.org/projects/flink/flink-docs-master/apis/programming_guide.html
redirects-to DataSet API: 
https://ci.apache.org/projects/flink/flink-docs-master/dev/batch/index.html
probably it should be "Basic API Concepts" 
https://ci.apache.org/projects/flink/flink-docs-master/dev/api_concepts.html
or Quick Start - 
https://ci.apache.org/projects/flink/flink-docs-master/quickstart/setup_quickstart.html

CEP
link: 
http://ci.apache.org/projects/flink/flink-docs-master/apis/streaming/libs/cep.html
redirects-to: 
https://ci.apache.org/projects/flink/flink-docs-master/dev/libs/cep.html

ML
link: 
http://ci.apache.org/projects/flink/flink-docs-master/apis/batch/libs/ml/index.html
redirects-to: 
https://ci.apache.org/projects/flink/flink-docs-master/dev/libs/ml/index.html

  was:
The following links are broken

DataSet API
link: 
http://ci.apache.org/projects/flink/flink-docs-master/apis/batch/index.html
correct link: 
https://ci.apache.org/projects/flink/flink-docs-master/dev/batch/index.html

Table API
link: 
http://ci.apache.org/projects/flink/flink-docs-master/apis/batch/libs/table.html
correct link: 
https://ci.apache.org/projects/flink/flink-docs-master/dev/table_api.html

Gelly
link: 
http://ci.apache.org/projects/flink/flink-docs-master/apis/batch/libs/gelly.html
correct link: 
https://ci.apache.org/projects/flink/flink-docs-master/dev/libs/gelly/index.html

The following links show "Page 'X' Has Moved to" for 1-2 sec  and then redirect 
to another page

DataStream API
link: 
http://ci.apache.org/projects/flink/flink-docs-master/apis/streaming/index.html
redirects-to: 
https://ci.apache.org/projects/flink/flink-docs-master/dev/datastream_api.html

programming guide
link: 
http://ci.apache.org/projects/flink/flink-docs-master/apis/programming_guide.html
redirects-to DataStream API: 
https://ci.apache.org/projects/flink/flink-docs-master/dev/batch/index.html
probably it should be "Basic API Concepts" 
https://ci.apache.org/projects/flink/flink-docs-master/dev/api_concepts.html
or Quick Start - 
https://ci.apache.org/projects/flink/flink-docs-master/quickstart/setup_quickstart.html

CEP
link: 
http://ci.apache.org/projects/flink/flink-docs-master/apis/streaming/libs/cep.html
redirects-to: 
https://ci.apache.org/projects/flink/flink-docs-master/dev/libs/cep.html

ML
link: 
http://ci.apache.org/projects/flink/flink-docs-master/apis/batch/libs/ml/index.html
redirects-to: 
https://ci.apache.org/projects/flink/flink-docs-master/dev/libs/ml/index.html


> Fix broken links in index.md
> 
>
> Key: FLINK-4585
> URL: https://issues.apache.org/jira/browse/FLINK-4585
> Project: Flink
>  Issue Type: Bug
>  Components: Project Website
>Reporter: Alexander Pivovarov
>Priority: Minor
>
> The following links are broken
> DataSet API
> link: 
> http://ci.apache.org/projects/flink/flink-docs-master/apis/batch/index.html
> correct link: 
> https://ci.apache.org/projects/flink/flink-docs-master/dev/batch/index.html
> Table API
> link: 
> http://ci.apache.org/projects/flink/flink-docs-master/apis/batch/libs/table.html
> correct link: 
> https://ci.apache.org/projects/flink/flink-docs-master/dev/table_api.html
> Gelly
> link: 
> http://ci.apache.org/projects/flink/flink-docs-master/apis/batch/libs/gelly.html
> correct link: 
> https://ci.apache.org/projects/flink/flink-docs-master/dev/libs/gelly/index.html
> The following links show "Page 'X' Has Moved to" for 1-2 sec  and then 
> redirect to another page
> DataStream API
> link: 
> http://ci.apache.org/projects/flink/flink-docs-master/apis/streaming/index.html
> redirects-to: 
> https://ci.apache.org/projects/flink/flink-docs-master/dev/datastream_api.html
> programming guide
> link: 
> http://ci.apache.org/projects/flink/flink-docs-master/a

[jira] [Updated] (FLINK-4585) Fix broken links in index.md

2016-09-06 Thread Alexander Pivovarov (JIRA)

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

Alexander Pivovarov updated FLINK-4585:
---
Summary: Fix broken links in index.md  (was: Fix broken links on 
flink.apache.org)

> Fix broken links in index.md
> 
>
> Key: FLINK-4585
> URL: https://issues.apache.org/jira/browse/FLINK-4585
> Project: Flink
>  Issue Type: Bug
>  Components: Project Website
>Reporter: Alexander Pivovarov
>Priority: Minor
>
> The following links are broken
> DataSet API
> link: 
> http://ci.apache.org/projects/flink/flink-docs-master/apis/batch/index.html
> correct link: 
> https://ci.apache.org/projects/flink/flink-docs-master/dev/batch/index.html
> Table API
> link: 
> http://ci.apache.org/projects/flink/flink-docs-master/apis/batch/libs/table.html
> correct link: 
> https://ci.apache.org/projects/flink/flink-docs-master/dev/table_api.html
> Gelly
> link: 
> http://ci.apache.org/projects/flink/flink-docs-master/apis/batch/libs/gelly.html
> correct link: 
> https://ci.apache.org/projects/flink/flink-docs-master/dev/libs/gelly/index.html
> The following links show "Page 'X' Has Moved to" for 1-2 sec  and then 
> redirect to another page
> DataStream API
> link: 
> http://ci.apache.org/projects/flink/flink-docs-master/apis/streaming/index.html
> redirects-to: 
> https://ci.apache.org/projects/flink/flink-docs-master/dev/datastream_api.html
> programming guide
> link: 
> http://ci.apache.org/projects/flink/flink-docs-master/apis/programming_guide.html
> redirects-to DataStream API: 
> https://ci.apache.org/projects/flink/flink-docs-master/dev/batch/index.html
> probably it should be "Basic API Concepts" 
> https://ci.apache.org/projects/flink/flink-docs-master/dev/api_concepts.html
> or Quick Start - 
> https://ci.apache.org/projects/flink/flink-docs-master/quickstart/setup_quickstart.html
> CEP
> link: 
> http://ci.apache.org/projects/flink/flink-docs-master/apis/streaming/libs/cep.html
> redirects-to: 
> https://ci.apache.org/projects/flink/flink-docs-master/dev/libs/cep.html
> ML
> link: 
> http://ci.apache.org/projects/flink/flink-docs-master/apis/batch/libs/ml/index.html
> redirects-to: 
> https://ci.apache.org/projects/flink/flink-docs-master/dev/libs/ml/index.html



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


[jira] [Updated] (FLINK-4585) Fix broken links on flink.apache.org

2016-09-06 Thread Alexander Pivovarov (JIRA)

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

Alexander Pivovarov updated FLINK-4585:
---
Description: 
The following links are broken

DataSet API
link: 
http://ci.apache.org/projects/flink/flink-docs-master/apis/batch/index.html
correct link: 
https://ci.apache.org/projects/flink/flink-docs-master/dev/batch/index.html

Table API
link: 
http://ci.apache.org/projects/flink/flink-docs-master/apis/batch/libs/table.html
correct link: 
https://ci.apache.org/projects/flink/flink-docs-master/dev/table_api.html

Gelly
link: 
http://ci.apache.org/projects/flink/flink-docs-master/apis/batch/libs/gelly.html
correct link: 
https://ci.apache.org/projects/flink/flink-docs-master/dev/libs/gelly/index.html

The following links show "Page 'X' Has Moved to" for 1-2 sec  and then redirect 
to another page

DataStream API
link: 
http://ci.apache.org/projects/flink/flink-docs-master/apis/streaming/index.html
redirects-to: 
https://ci.apache.org/projects/flink/flink-docs-master/dev/datastream_api.html

programming guide
link: 
http://ci.apache.org/projects/flink/flink-docs-master/apis/programming_guide.html
redirects-to DataStream API: 
https://ci.apache.org/projects/flink/flink-docs-master/dev/batch/index.html
probably it should be "Basic API Concepts" 
https://ci.apache.org/projects/flink/flink-docs-master/dev/api_concepts.html
or Quick Start - 
https://ci.apache.org/projects/flink/flink-docs-master/quickstart/setup_quickstart.html

CEP
link: 
http://ci.apache.org/projects/flink/flink-docs-master/apis/streaming/libs/cep.html
redirects-to: 
https://ci.apache.org/projects/flink/flink-docs-master/dev/libs/cep.html

ML
link: 
http://ci.apache.org/projects/flink/flink-docs-master/apis/batch/libs/ml/index.html
redirects-to: 
https://ci.apache.org/projects/flink/flink-docs-master/dev/libs/ml/index.html

  was:
The following links are broken

DataSet API
link: 
http://ci.apache.org/projects/flink/flink-docs-master/apis/batch/index.html
correct link: 
https://ci.apache.org/projects/flink/flink-docs-master/dev/batch/index.html

Table API
link: 
http://ci.apache.org/projects/flink/flink-docs-master/apis/batch/libs/table.html
correct link: 
https://ci.apache.org/projects/flink/flink-docs-master/dev/table_api.html


The following links show "Page 'X' Has Moved to" for 1-2 sec  and then redirect 
to another page

DataStream API
link: 
http://ci.apache.org/projects/flink/flink-docs-master/apis/streaming/index.html
redirects-to: 
https://ci.apache.org/projects/flink/flink-docs-master/dev/datastream_api.html

programming guide
link: 
http://ci.apache.org/projects/flink/flink-docs-master/apis/programming_guide.html
redirects-to DataStream API: 
https://ci.apache.org/projects/flink/flink-docs-master/dev/batch/index.html
probably it should be "Basic API Concepts" 
https://ci.apache.org/projects/flink/flink-docs-master/dev/api_concepts.html
or Quick Start - 
https://ci.apache.org/projects/flink/flink-docs-master/quickstart/setup_quickstart.html


> Fix broken links on flink.apache.org
> 
>
> Key: FLINK-4585
> URL: https://issues.apache.org/jira/browse/FLINK-4585
> Project: Flink
>  Issue Type: Bug
>  Components: Project Website
>Reporter: Alexander Pivovarov
>Priority: Minor
>
> The following links are broken
> DataSet API
> link: 
> http://ci.apache.org/projects/flink/flink-docs-master/apis/batch/index.html
> correct link: 
> https://ci.apache.org/projects/flink/flink-docs-master/dev/batch/index.html
> Table API
> link: 
> http://ci.apache.org/projects/flink/flink-docs-master/apis/batch/libs/table.html
> correct link: 
> https://ci.apache.org/projects/flink/flink-docs-master/dev/table_api.html
> Gelly
> link: 
> http://ci.apache.org/projects/flink/flink-docs-master/apis/batch/libs/gelly.html
> correct link: 
> https://ci.apache.org/projects/flink/flink-docs-master/dev/libs/gelly/index.html
> The following links show "Page 'X' Has Moved to" for 1-2 sec  and then 
> redirect to another page
> DataStream API
> link: 
> http://ci.apache.org/projects/flink/flink-docs-master/apis/streaming/index.html
> redirects-to: 
> https://ci.apache.org/projects/flink/flink-docs-master/dev/datastream_api.html
> programming guide
> link: 
> http://ci.apache.org/projects/flink/flink-docs-master/apis/programming_guide.html
> redirects-to DataStream API: 
> https://ci.apache.org/projects/flink/flink-docs-master/dev/batch/index.html
> probably it should be "Basic API Concepts" 
> https://ci.apache.org/projects/flink/flink-docs-master/dev/api_concepts.html
> or Quick Start - 
> https://ci.apache.org/projects/flink/flink-docs-master/quickstart/setup_quickstart.html
> CEP
> link: 
> http://ci.apache.org/projects/flink/flink-docs-master/apis/streaming/libs/cep.html
> redirects-to: 
> https://ci.apache.org/projects/flink/flink-docs-mas

[jira] [Updated] (FLINK-4585) Fix broken links on flink.apache.org

2016-09-06 Thread Alexander Pivovarov (JIRA)

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

Alexander Pivovarov updated FLINK-4585:
---
Description: 
The following links are broken

DataSet API
link: 
http://ci.apache.org/projects/flink/flink-docs-master/apis/batch/index.html
correct link: 
https://ci.apache.org/projects/flink/flink-docs-master/dev/batch/index.html

Table API
link: 
http://ci.apache.org/projects/flink/flink-docs-master/apis/batch/libs/table.html
correct link: 
https://ci.apache.org/projects/flink/flink-docs-master/dev/table_api.html


The following links show "Page 'X' Has Moved to" for 1-2 sec  and then redirect 
to another page

DataStream API
link: 
http://ci.apache.org/projects/flink/flink-docs-master/apis/streaming/index.html
redirects-to: 
https://ci.apache.org/projects/flink/flink-docs-master/dev/datastream_api.html

programming guide
link: 
http://ci.apache.org/projects/flink/flink-docs-master/apis/programming_guide.html
redirects-to DataStream API: 
https://ci.apache.org/projects/flink/flink-docs-master/dev/batch/index.html
probably it should be "Basic API Concepts" 
https://ci.apache.org/projects/flink/flink-docs-master/dev/api_concepts.html
or Quick Start - 
https://ci.apache.org/projects/flink/flink-docs-master/quickstart/setup_quickstart.html

  was:
The following links are broken

DataSet API
link: 
http://ci.apache.org/projects/flink/flink-docs-master/apis/batch/index.html
correct link: 
https://ci.apache.org/projects/flink/flink-docs-master/dev/batch/index.html

Table API
link: 
http://ci.apache.org/projects/flink/flink-docs-master/apis/batch/libs/table.html
correct link: 
https://ci.apache.org/projects/flink/flink-docs-master/dev/table_api.html


The following links show "Page 'X' Has Moved to" for 1-2 sec  and then redirect 
to correct page

DataStream API
link: 
http://ci.apache.org/projects/flink/flink-docs-master/apis/streaming/index.html
redirects-to: 
https://ci.apache.org/projects/flink/flink-docs-master/dev/datastream_api.html

programming guide
link: 
http://ci.apache.org/projects/flink/flink-docs-master/apis/programming_guide.html
redirects-to DataStream API: 
https://ci.apache.org/projects/flink/flink-docs-master/dev/batch/index.html
probably it should be "Basic API Concepts" 
https://ci.apache.org/projects/flink/flink-docs-master/dev/api_concepts.html
or Quick Start - 
https://ci.apache.org/projects/flink/flink-docs-master/quickstart/setup_quickstart.html


> Fix broken links on flink.apache.org
> 
>
> Key: FLINK-4585
> URL: https://issues.apache.org/jira/browse/FLINK-4585
> Project: Flink
>  Issue Type: Bug
>  Components: Project Website
>Reporter: Alexander Pivovarov
>Priority: Minor
>
> The following links are broken
> DataSet API
> link: 
> http://ci.apache.org/projects/flink/flink-docs-master/apis/batch/index.html
> correct link: 
> https://ci.apache.org/projects/flink/flink-docs-master/dev/batch/index.html
> Table API
> link: 
> http://ci.apache.org/projects/flink/flink-docs-master/apis/batch/libs/table.html
> correct link: 
> https://ci.apache.org/projects/flink/flink-docs-master/dev/table_api.html
> The following links show "Page 'X' Has Moved to" for 1-2 sec  and then 
> redirect to another page
> DataStream API
> link: 
> http://ci.apache.org/projects/flink/flink-docs-master/apis/streaming/index.html
> redirects-to: 
> https://ci.apache.org/projects/flink/flink-docs-master/dev/datastream_api.html
> programming guide
> link: 
> http://ci.apache.org/projects/flink/flink-docs-master/apis/programming_guide.html
> redirects-to DataStream API: 
> https://ci.apache.org/projects/flink/flink-docs-master/dev/batch/index.html
> probably it should be "Basic API Concepts" 
> https://ci.apache.org/projects/flink/flink-docs-master/dev/api_concepts.html
> or Quick Start - 
> https://ci.apache.org/projects/flink/flink-docs-master/quickstart/setup_quickstart.html



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


[jira] [Updated] (FLINK-4585) Fix broken links on flink.apache.org

2016-09-06 Thread Alexander Pivovarov (JIRA)

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

Alexander Pivovarov updated FLINK-4585:
---
Description: 
The following links are broken

DataSet API
link: 
http://ci.apache.org/projects/flink/flink-docs-master/apis/batch/index.html
correct link: 
https://ci.apache.org/projects/flink/flink-docs-master/dev/batch/index.html

Table API
link: 
http://ci.apache.org/projects/flink/flink-docs-master/apis/batch/libs/table.html
correct link: 
https://ci.apache.org/projects/flink/flink-docs-master/dev/table_api.html


The following links show "Page 'X' Has Moved to" for 1-2 sec  and then redirect 
to correct page

DataStream API
link: 
http://ci.apache.org/projects/flink/flink-docs-master/apis/streaming/index.html
redirects-to: 
https://ci.apache.org/projects/flink/flink-docs-master/dev/datastream_api.html

programming guide
link: 
http://ci.apache.org/projects/flink/flink-docs-master/apis/programming_guide.html
redirects-to DataStream API: 
https://ci.apache.org/projects/flink/flink-docs-master/dev/batch/index.html
probably it should be "Basic API Concepts" 
https://ci.apache.org/projects/flink/flink-docs-master/dev/api_concepts.html
or Quick Start - 
https://ci.apache.org/projects/flink/flink-docs-master/quickstart/setup_quickstart.html

  was:
The following links are broken
link: 
http://ci.apache.org/projects/flink/flink-docs-master/apis/batch/index.html
correct link: 
https://ci.apache.org/projects/flink/flink-docs-master/dev/batch/index.html

link: 
http://ci.apache.org/projects/flink/flink-docs-master/apis/batch/libs/table.html
correct link: 
https://ci.apache.org/projects/flink/flink-docs-master/dev/table_api.html


The following links show "Page 'X' Has Moved to" for 1-2 sec  and then redirect 
to correct page
link: 
http://ci.apache.org/projects/flink/flink-docs-master/apis/streaming/index.html
redirect-to: 
https://ci.apache.org/projects/flink/flink-docs-master/dev/datastream_api.html

link: 
http://ci.apache.org/projects/flink/flink-docs-master/apis/programming_guide.html
redirect-to: 
https://ci.apache.org/projects/flink/flink-docs-master/dev/batch/index.html



> Fix broken links on flink.apache.org
> 
>
> Key: FLINK-4585
> URL: https://issues.apache.org/jira/browse/FLINK-4585
> Project: Flink
>  Issue Type: Bug
>  Components: Project Website
>Reporter: Alexander Pivovarov
>Priority: Minor
>
> The following links are broken
> DataSet API
> link: 
> http://ci.apache.org/projects/flink/flink-docs-master/apis/batch/index.html
> correct link: 
> https://ci.apache.org/projects/flink/flink-docs-master/dev/batch/index.html
> Table API
> link: 
> http://ci.apache.org/projects/flink/flink-docs-master/apis/batch/libs/table.html
> correct link: 
> https://ci.apache.org/projects/flink/flink-docs-master/dev/table_api.html
> The following links show "Page 'X' Has Moved to" for 1-2 sec  and then 
> redirect to correct page
> DataStream API
> link: 
> http://ci.apache.org/projects/flink/flink-docs-master/apis/streaming/index.html
> redirects-to: 
> https://ci.apache.org/projects/flink/flink-docs-master/dev/datastream_api.html
> programming guide
> link: 
> http://ci.apache.org/projects/flink/flink-docs-master/apis/programming_guide.html
> redirects-to DataStream API: 
> https://ci.apache.org/projects/flink/flink-docs-master/dev/batch/index.html
> probably it should be "Basic API Concepts" 
> https://ci.apache.org/projects/flink/flink-docs-master/dev/api_concepts.html
> or Quick Start - 
> https://ci.apache.org/projects/flink/flink-docs-master/quickstart/setup_quickstart.html



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


[jira] [Created] (FLINK-4585) Fix broken links on flink.apache.org

2016-09-06 Thread Alexander Pivovarov (JIRA)
Alexander Pivovarov created FLINK-4585:
--

 Summary: Fix broken links on flink.apache.org
 Key: FLINK-4585
 URL: https://issues.apache.org/jira/browse/FLINK-4585
 Project: Flink
  Issue Type: Bug
  Components: Project Website
Reporter: Alexander Pivovarov
Priority: Minor


The following links are broken
link: 
http://ci.apache.org/projects/flink/flink-docs-master/apis/batch/index.html
correct link: 
https://ci.apache.org/projects/flink/flink-docs-master/dev/batch/index.html

link: 
http://ci.apache.org/projects/flink/flink-docs-master/apis/batch/libs/table.html
correct link: 
https://ci.apache.org/projects/flink/flink-docs-master/dev/table_api.html


The following links show "Page 'X' Has Moved to" for 1-2 sec  and then redirect 
to correct page
link: 
http://ci.apache.org/projects/flink/flink-docs-master/apis/streaming/index.html
redirect-to: 
https://ci.apache.org/projects/flink/flink-docs-master/dev/datastream_api.html

link: 
http://ci.apache.org/projects/flink/flink-docs-master/apis/programming_guide.html
redirect-to: 
https://ci.apache.org/projects/flink/flink-docs-master/dev/batch/index.html




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


[jira] [Created] (FLINK-4584) Fix broken links on flink.apache.org

2016-09-06 Thread Alexander Pivovarov (JIRA)
Alexander Pivovarov created FLINK-4584:
--

 Summary: Fix broken links on flink.apache.org
 Key: FLINK-4584
 URL: https://issues.apache.org/jira/browse/FLINK-4584
 Project: Flink
  Issue Type: Bug
  Components: Project Website
Reporter: Alexander Pivovarov
Priority: Minor


The following links are broken
link: 
http://ci.apache.org/projects/flink/flink-docs-master/apis/batch/index.html
correct link: 
https://ci.apache.org/projects/flink/flink-docs-master/dev/batch/index.html

link: 
http://ci.apache.org/projects/flink/flink-docs-master/apis/batch/libs/table.html
correct link: 
https://ci.apache.org/projects/flink/flink-docs-master/dev/table_api.html


The following links show "Page 'X' Has Moved to" for 1-2 sec  and then redirect 
to correct page
link: 
http://ci.apache.org/projects/flink/flink-docs-master/apis/streaming/index.html
redirect-to: 
https://ci.apache.org/projects/flink/flink-docs-master/dev/datastream_api.html

link: 
http://ci.apache.org/projects/flink/flink-docs-master/apis/programming_guide.html
redirect-to: 
https://ci.apache.org/projects/flink/flink-docs-master/dev/batch/index.html




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