[jira] [Commented] (FLINK-2055) Implement Streaming HBaseSink

2016-08-07 Thread ASF GitHub Bot (JIRA)

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

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

Github user ramkrish86 commented on a diff in the pull request:

https://github.com/apache/flink/pull/2332#discussion_r73821038
  
--- Diff: 
flink-streaming-connectors/flink-connector-hbase/src/main/java/org/apache/flink/streaming/connectors/hbase/HBaseSink.java
 ---
@@ -0,0 +1,100 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.flink.streaming.connectors.hbase;
+
+import com.google.common.base.Strings;
+import com.google.common.collect.Lists;
+import org.apache.flink.configuration.Configuration;
+import org.apache.flink.streaming.api.functions.sink.RichSinkFunction;
+import org.apache.flink.util.Preconditions;
+import org.apache.hadoop.hbase.HBaseConfiguration;
+import org.apache.hadoop.hbase.client.Durability;
+import org.apache.hadoop.hbase.client.Increment;
+import org.apache.hadoop.hbase.client.Mutation;
+import org.apache.hadoop.hbase.client.Put;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
+import java.io.IOException;
+import java.util.List;
+
+public class HBaseSink extends RichSinkFunction {
+   private static final long serialVersionUID = 1L;
+
+   private static final Logger LOG = 
LoggerFactory.getLogger(HBaseSink.class);
+
+   private transient HBaseClient client;
+   private String tableName;
+   private HBaseMapper mapper;
+   private boolean writeToWAL = true;
+
+   public HBaseSink(String tableName, HBaseMapper mapper) {
+   Preconditions.checkArgument(!Strings.isNullOrEmpty(tableName), 
"Table name cannot be null or empty");
+   Preconditions.checkArgument(mapper != null, "HBase mapper 
cannot be null");
+   this.tableName = tableName;
+   this.mapper = mapper;
+   }
+
+   public HBaseSink writeToWAL(boolean writeToWAL) {
+   this.writeToWAL = writeToWAL;
+   return this;
+   }
+
+   @Override
+   public void open(Configuration configuration) throws Exception {
+   try {
+   // use config files found in the classpath
+   client = new HBaseClient(HBaseConfiguration.create(), 
tableName);
+   } catch (IOException e) {
+   throw new RuntimeException("HBase sink preparation 
failed.", e);
+   }
+   }
+
+   @Override
+   public void invoke(IN value) throws Exception {
+   byte[] rowKey = mapper.rowKey(value);
+   List mutations = Lists.newArrayList();
+   for (HBaseMapper.HBaseColumn column : mapper.columns(value)) {
+   Mutation mutation;
+   if (column.isStandard()) {
--- End diff --

Better to created Enums for PUT, DELETE, INCREMENT and APPEND and handle 
all of them here? so that Table#batch() will work for all. But Deletes are much 
more complicated because there are ROW deletes, COL deletes , family deletes, 
deletes with specific versions. 


> Implement Streaming HBaseSink
> -
>
> Key: FLINK-2055
> URL: https://issues.apache.org/jira/browse/FLINK-2055
> Project: Flink
>  Issue Type: New Feature
>  Components: Streaming, Streaming Connectors
>Affects Versions: 0.9
>Reporter: Robert Metzger
>Assignee: Hilmi Yildirim
>
> As per : 
> http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/Write-Stream-to-HBase-td1300.html



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


[GitHub] flink pull request #2332: [FLINK-2055] Implement Streaming HBaseSink

2016-08-07 Thread ramkrish86
Github user ramkrish86 commented on a diff in the pull request:

https://github.com/apache/flink/pull/2332#discussion_r73821038
  
--- Diff: 
flink-streaming-connectors/flink-connector-hbase/src/main/java/org/apache/flink/streaming/connectors/hbase/HBaseSink.java
 ---
@@ -0,0 +1,100 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.flink.streaming.connectors.hbase;
+
+import com.google.common.base.Strings;
+import com.google.common.collect.Lists;
+import org.apache.flink.configuration.Configuration;
+import org.apache.flink.streaming.api.functions.sink.RichSinkFunction;
+import org.apache.flink.util.Preconditions;
+import org.apache.hadoop.hbase.HBaseConfiguration;
+import org.apache.hadoop.hbase.client.Durability;
+import org.apache.hadoop.hbase.client.Increment;
+import org.apache.hadoop.hbase.client.Mutation;
+import org.apache.hadoop.hbase.client.Put;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
+import java.io.IOException;
+import java.util.List;
+
+public class HBaseSink extends RichSinkFunction {
+   private static final long serialVersionUID = 1L;
+
+   private static final Logger LOG = 
LoggerFactory.getLogger(HBaseSink.class);
+
+   private transient HBaseClient client;
+   private String tableName;
+   private HBaseMapper mapper;
+   private boolean writeToWAL = true;
+
+   public HBaseSink(String tableName, HBaseMapper mapper) {
+   Preconditions.checkArgument(!Strings.isNullOrEmpty(tableName), 
"Table name cannot be null or empty");
+   Preconditions.checkArgument(mapper != null, "HBase mapper 
cannot be null");
+   this.tableName = tableName;
+   this.mapper = mapper;
+   }
+
+   public HBaseSink writeToWAL(boolean writeToWAL) {
+   this.writeToWAL = writeToWAL;
+   return this;
+   }
+
+   @Override
+   public void open(Configuration configuration) throws Exception {
+   try {
+   // use config files found in the classpath
+   client = new HBaseClient(HBaseConfiguration.create(), 
tableName);
+   } catch (IOException e) {
+   throw new RuntimeException("HBase sink preparation 
failed.", e);
+   }
+   }
+
+   @Override
+   public void invoke(IN value) throws Exception {
+   byte[] rowKey = mapper.rowKey(value);
+   List mutations = Lists.newArrayList();
+   for (HBaseMapper.HBaseColumn column : mapper.columns(value)) {
+   Mutation mutation;
+   if (column.isStandard()) {
--- End diff --

Better to created Enums for PUT, DELETE, INCREMENT and APPEND and handle 
all of them here? so that Table#batch() will work for all. But Deletes are much 
more complicated because there are ROW deletes, COL deletes , family deletes, 
deletes with specific versions. 


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[jira] [Commented] (FLINK-2055) Implement Streaming HBaseSink

2016-08-07 Thread ASF GitHub Bot (JIRA)

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

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

Github user ramkrish86 commented on a diff in the pull request:

https://github.com/apache/flink/pull/2332#discussion_r73820969
  
--- Diff: 
flink-streaming-connectors/flink-connector-hbase/src/main/java/org/apache/flink/streaming/connectors/hbase/HBaseSink.java
 ---
@@ -0,0 +1,100 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.flink.streaming.connectors.hbase;
+
+import com.google.common.base.Strings;
+import com.google.common.collect.Lists;
+import org.apache.flink.configuration.Configuration;
+import org.apache.flink.streaming.api.functions.sink.RichSinkFunction;
+import org.apache.flink.util.Preconditions;
+import org.apache.hadoop.hbase.HBaseConfiguration;
+import org.apache.hadoop.hbase.client.Durability;
+import org.apache.hadoop.hbase.client.Increment;
+import org.apache.hadoop.hbase.client.Mutation;
+import org.apache.hadoop.hbase.client.Put;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
+import java.io.IOException;
+import java.util.List;
+
+public class HBaseSink extends RichSinkFunction {
+   private static final long serialVersionUID = 1L;
+
+   private static final Logger LOG = 
LoggerFactory.getLogger(HBaseSink.class);
+
+   private transient HBaseClient client;
+   private String tableName;
+   private HBaseMapper mapper;
+   private boolean writeToWAL = true;
+
+   public HBaseSink(String tableName, HBaseMapper mapper) {
+   Preconditions.checkArgument(!Strings.isNullOrEmpty(tableName), 
"Table name cannot be null or empty");
+   Preconditions.checkArgument(mapper != null, "HBase mapper 
cannot be null");
+   this.tableName = tableName;
+   this.mapper = mapper;
+   }
+
+   public HBaseSink writeToWAL(boolean writeToWAL) {
+   this.writeToWAL = writeToWAL;
+   return this;
+   }
+
+   @Override
+   public void open(Configuration configuration) throws Exception {
+   try {
+   // use config files found in the classpath
+   client = new HBaseClient(HBaseConfiguration.create(), 
tableName);
+   } catch (IOException e) {
+   throw new RuntimeException("HBase sink preparation 
failed.", e);
+   }
+   }
+
+   @Override
+   public void invoke(IN value) throws Exception {
+   byte[] rowKey = mapper.rowKey(value);
+   List mutations = Lists.newArrayList();
+   for (HBaseMapper.HBaseColumn column : mapper.columns(value)) {
+   Mutation mutation;
+   if (column.isStandard()) {
+   mutation = new Put(rowKey);
+   if (column.getTs() == -1) {
+   ((Put) 
mutation).addColumn(column.getFamily(), column.getQualifier(), 
column.getValue());
--- End diff --

So the -1 is handled here. So ignore that comment for ts set to -1.


> Implement Streaming HBaseSink
> -
>
> Key: FLINK-2055
> URL: https://issues.apache.org/jira/browse/FLINK-2055
> Project: Flink
>  Issue Type: New Feature
>  Components: Streaming, Streaming Connectors
>Affects Versions: 0.9
>Reporter: Robert Metzger
>Assignee: Hilmi Yildirim
>
> As per : 
> http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/Write-Stream-to-HBase-td1300.html



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


[GitHub] flink pull request #2332: [FLINK-2055] Implement Streaming HBaseSink

2016-08-07 Thread ramkrish86
Github user ramkrish86 commented on a diff in the pull request:

https://github.com/apache/flink/pull/2332#discussion_r73820969
  
--- Diff: 
flink-streaming-connectors/flink-connector-hbase/src/main/java/org/apache/flink/streaming/connectors/hbase/HBaseSink.java
 ---
@@ -0,0 +1,100 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.flink.streaming.connectors.hbase;
+
+import com.google.common.base.Strings;
+import com.google.common.collect.Lists;
+import org.apache.flink.configuration.Configuration;
+import org.apache.flink.streaming.api.functions.sink.RichSinkFunction;
+import org.apache.flink.util.Preconditions;
+import org.apache.hadoop.hbase.HBaseConfiguration;
+import org.apache.hadoop.hbase.client.Durability;
+import org.apache.hadoop.hbase.client.Increment;
+import org.apache.hadoop.hbase.client.Mutation;
+import org.apache.hadoop.hbase.client.Put;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
+import java.io.IOException;
+import java.util.List;
+
+public class HBaseSink extends RichSinkFunction {
+   private static final long serialVersionUID = 1L;
+
+   private static final Logger LOG = 
LoggerFactory.getLogger(HBaseSink.class);
+
+   private transient HBaseClient client;
+   private String tableName;
+   private HBaseMapper mapper;
+   private boolean writeToWAL = true;
+
+   public HBaseSink(String tableName, HBaseMapper mapper) {
+   Preconditions.checkArgument(!Strings.isNullOrEmpty(tableName), 
"Table name cannot be null or empty");
+   Preconditions.checkArgument(mapper != null, "HBase mapper 
cannot be null");
+   this.tableName = tableName;
+   this.mapper = mapper;
+   }
+
+   public HBaseSink writeToWAL(boolean writeToWAL) {
+   this.writeToWAL = writeToWAL;
+   return this;
+   }
+
+   @Override
+   public void open(Configuration configuration) throws Exception {
+   try {
+   // use config files found in the classpath
+   client = new HBaseClient(HBaseConfiguration.create(), 
tableName);
+   } catch (IOException e) {
+   throw new RuntimeException("HBase sink preparation 
failed.", e);
+   }
+   }
+
+   @Override
+   public void invoke(IN value) throws Exception {
+   byte[] rowKey = mapper.rowKey(value);
+   List mutations = Lists.newArrayList();
+   for (HBaseMapper.HBaseColumn column : mapper.columns(value)) {
+   Mutation mutation;
+   if (column.isStandard()) {
+   mutation = new Put(rowKey);
+   if (column.getTs() == -1) {
+   ((Put) 
mutation).addColumn(column.getFamily(), column.getQualifier(), 
column.getValue());
--- End diff --

So the -1 is handled here. So ignore that comment for ts set to -1.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] flink issue #2340: [FLINK-3155] Update docker flink container to the latest ...

2016-08-07 Thread iemejia
Github user iemejia commented on the issue:

https://github.com/apache/flink/pull/2340
  
I added two additional changes, an extra security fix (default user is not 
root now) and I changed the path to the more appropriate /opt.
Now this should be ready for review/merge.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[jira] [Commented] (FLINK-3155) Update Flink docker version to latest stable Flink version

2016-08-07 Thread ASF GitHub Bot (JIRA)

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

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

Github user iemejia commented on the issue:

https://github.com/apache/flink/pull/2340
  
I added two additional changes, an extra security fix (default user is not 
root now) and I changed the path to the more appropriate /opt.
Now this should be ready for review/merge.


> Update Flink docker version to latest stable Flink version
> --
>
> Key: FLINK-3155
> URL: https://issues.apache.org/jira/browse/FLINK-3155
> Project: Flink
>  Issue Type: Task
>  Components: flink-contrib
>Affects Versions: 1.0.0, 1.1.0
>Reporter: Maximilian Michels
>Priority: Minor
> Fix For: 1.0.0
>
>
> It would be nice to always set the Docker Flink binary URL to point to the 
> latest Flink version. Until then, this JIRA keeps track of the updates for 
> releases.



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


[jira] [Commented] (FLINK-4322) Unify CheckpointCoordinator and SavepointCoordinator

2016-08-07 Thread Ufuk Celebi (JIRA)

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

Ufuk Celebi commented on FLINK-4322:


+1 I had similar thoughts about this

> Unify CheckpointCoordinator and SavepointCoordinator
> 
>
> Key: FLINK-4322
> URL: https://issues.apache.org/jira/browse/FLINK-4322
> Project: Flink
>  Issue Type: Improvement
>  Components: State Backends, Checkpointing
>Affects Versions: 1.1.0
>Reporter: Stephan Ewen
> Fix For: 1.2.0
>
>
> The Checkpoint coordinator should have the functionality of both handling 
> checkpoints and savepoints.
> The difference between checkpoints and savepoints is minimal:
>   - savepoints always write the root metadata of the checkpoint
>   - savepoints are always full (never incremental)
> The commonalities are large
>   - jobs should be able to resume from checkpoint or savepoints
>   - jobs should fall back to the latest checkpoint or savepoint
> This subsumes issue https://issues.apache.org/jira/browse/FLINK-3397



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


[jira] [Closed] (FLINK-4327) Error in link to downlad version for hadoop 2.7 and scala 2.11

2016-08-07 Thread Ufuk Celebi (JIRA)

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

Ufuk Celebi closed FLINK-4327.
--
Resolution: Fixed

Fixed in f1df969

> Error in link to downlad version for hadoop 2.7 and scala 2.11
> --
>
> Key: FLINK-4327
> URL: https://issues.apache.org/jira/browse/FLINK-4327
> Project: Flink
>  Issue Type: Bug
>  Components: Project Website
>Affects Versions: 1.1.0
>Reporter: Ismaël Mejía
>
> In the download page https://flink.apache.org/downloads.html
> The link to download the release for hadoop 2.7.0 and scala 2.11 goes into 
> the previous version (1.0.3) URL.



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


[jira] [Commented] (FLINK-4327) Error in link to downlad version for hadoop 2.7 and scala 2.11

2016-08-07 Thread Ahmad Ragab (JIRA)

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

Ahmad Ragab commented on FLINK-4327:


Pull Request to fix:

https://github.com/apache/flink-web/pull/28

> Error in link to downlad version for hadoop 2.7 and scala 2.11
> --
>
> Key: FLINK-4327
> URL: https://issues.apache.org/jira/browse/FLINK-4327
> Project: Flink
>  Issue Type: Bug
>  Components: Project Website
>Affects Versions: 1.1.0
>Reporter: Ismaël Mejía
>
> In the download page https://flink.apache.org/downloads.html
> The link to download the release for hadoop 2.7.0 and scala 2.11 goes into 
> the previous version (1.0.3) URL.



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


[jira] [Created] (FLINK-4327) Error in link to downlad version for hadoop 2.7 and scala 2.11

2016-08-07 Thread JIRA
Ismaël Mejía created FLINK-4327:
---

 Summary: Error in link to downlad version for hadoop 2.7 and scala 
2.11
 Key: FLINK-4327
 URL: https://issues.apache.org/jira/browse/FLINK-4327
 Project: Flink
  Issue Type: Bug
  Components: Project Website
Affects Versions: 1.1.0
Reporter: Ismaël Mejía


In the download page https://flink.apache.org/downloads.html
The link to download the release for hadoop 2.7.0 and scala 2.11 goes into the 
previous version (1.0.3) URL.



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


[jira] [Updated] (FLINK-3155) Update Flink docker version to latest stable Flink version

2016-08-07 Thread JIRA

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

Ismaël Mejía updated FLINK-3155:

Priority: Minor  (was: Major)

> Update Flink docker version to latest stable Flink version
> --
>
> Key: FLINK-3155
> URL: https://issues.apache.org/jira/browse/FLINK-3155
> Project: Flink
>  Issue Type: Task
>  Components: flink-contrib
>Affects Versions: 1.0.0, 1.1.0
>Reporter: Maximilian Michels
>Priority: Minor
> Fix For: 1.0.0
>
>
> It would be nice to always set the Docker Flink binary URL to point to the 
> latest Flink version. Until then, this JIRA keeps track of the updates for 
> releases.



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


[jira] [Updated] (FLINK-3155) Update Flink docker version to latest stable Flink version

2016-08-07 Thread JIRA

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

Ismaël Mejía updated FLINK-3155:

Fix Version/s: 1.2.0

> Update Flink docker version to latest stable Flink version
> --
>
> Key: FLINK-3155
> URL: https://issues.apache.org/jira/browse/FLINK-3155
> Project: Flink
>  Issue Type: Task
>  Components: flink-contrib
>Affects Versions: 1.0.0, 1.1.0
>Reporter: Maximilian Michels
> Fix For: 1.0.0
>
>
> It would be nice to always set the Docker Flink binary URL to point to the 
> latest Flink version. Until then, this JIRA keeps track of the updates for 
> releases.



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


[jira] [Updated] (FLINK-3155) Update Flink docker version to latest stable Flink version

2016-08-07 Thread JIRA

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

Ismaël Mejía updated FLINK-3155:

Fix Version/s: (was: 1.2.0)

> Update Flink docker version to latest stable Flink version
> --
>
> Key: FLINK-3155
> URL: https://issues.apache.org/jira/browse/FLINK-3155
> Project: Flink
>  Issue Type: Task
>  Components: flink-contrib
>Affects Versions: 1.0.0, 1.1.0
>Reporter: Maximilian Michels
> Fix For: 1.0.0
>
>
> It would be nice to always set the Docker Flink binary URL to point to the 
> latest Flink version. Until then, this JIRA keeps track of the updates for 
> releases.



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


[jira] [Updated] (FLINK-3155) Update Flink docker version to latest stable Flink version

2016-08-07 Thread JIRA

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

Ismaël Mejía updated FLINK-3155:

Affects Version/s: 1.1.0

> Update Flink docker version to latest stable Flink version
> --
>
> Key: FLINK-3155
> URL: https://issues.apache.org/jira/browse/FLINK-3155
> Project: Flink
>  Issue Type: Task
>  Components: flink-contrib
>Affects Versions: 1.0.0, 1.1.0
>Reporter: Maximilian Michels
> Fix For: 1.0.0
>
>
> It would be nice to always set the Docker Flink binary URL to point to the 
> latest Flink version. Until then, this JIRA keeps track of the updates for 
> releases.



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


[jira] [Commented] (FLINK-3155) Update Flink docker version to latest stable Flink version

2016-08-07 Thread ASF GitHub Bot (JIRA)

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

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

Github user iemejia commented on the issue:

https://github.com/apache/flink/pull/2340
  
(notice than when I said need to improve I refer at the missing automation 
to change the default release version on the Dockerfile).


> Update Flink docker version to latest stable Flink version
> --
>
> Key: FLINK-3155
> URL: https://issues.apache.org/jira/browse/FLINK-3155
> Project: Flink
>  Issue Type: Task
>  Components: flink-contrib
>Affects Versions: 1.0.0
>Reporter: Maximilian Michels
> Fix For: 1.0.0
>
>
> It would be nice to always set the Docker Flink binary URL to point to the 
> latest Flink version. Until then, this JIRA keeps track of the updates for 
> releases.



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


[GitHub] flink issue #2340: [FLINK-3155] Update docker flink container to the latest ...

2016-08-07 Thread iemejia
Github user iemejia commented on the issue:

https://github.com/apache/flink/pull/2340
  
(notice than when I said need to improve I refer at the missing automation 
to change the default release version on the Dockerfile).


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[jira] [Commented] (FLINK-3155) Update Flink docker version to latest stable Flink version

2016-08-07 Thread ASF GitHub Bot (JIRA)

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

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

Github user iemejia commented on the issue:

https://github.com/apache/flink/pull/2340
  
I referred to the older FLINK issue since this is something we need to 
still improve. I can try to fix it in a subsequent PR, do you have any hints of 
how can we achieve this ?

R: @aljoscha or @mxm 



> Update Flink docker version to latest stable Flink version
> --
>
> Key: FLINK-3155
> URL: https://issues.apache.org/jira/browse/FLINK-3155
> Project: Flink
>  Issue Type: Task
>  Components: flink-contrib
>Affects Versions: 1.0.0
>Reporter: Maximilian Michels
> Fix For: 1.0.0
>
>
> It would be nice to always set the Docker Flink binary URL to point to the 
> latest Flink version. Until then, this JIRA keeps track of the updates for 
> releases.



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


[GitHub] flink issue #2340: [FLINK-3155] Update docker flink container to the latest ...

2016-08-07 Thread iemejia
Github user iemejia commented on the issue:

https://github.com/apache/flink/pull/2340
  
I referred to the older FLINK issue since this is something we need to 
still improve. I can try to fix it in a subsequent PR, do you have any hints of 
how can we achieve this ?

R: @aljoscha or @mxm 



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[jira] [Commented] (FLINK-3155) Update Flink docker version to latest stable Flink version

2016-08-07 Thread ASF GitHub Bot (JIRA)

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

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

GitHub user iemejia opened a pull request:

https://github.com/apache/flink/pull/2340

[FLINK-3155] Update docker flink container to the latest release

Thanks for contributing to Apache Flink. Before you open your pull request, 
please take the following check list into consideration.
If your changes take all of the items into account, feel free to open your 
pull request. For more information and/or questions please refer to the [How To 
Contribute guide](http://flink.apache.org/how-to-contribute.html).
In addition to going through the list, please provide a meaningful 
description of your changes.

- [x] General
  - The pull request references the related JIRA issue ("[FLINK-XXX] Jira 
title text")
  - The pull request addresses only one issue
  - Each commit in the PR has a meaningful commit message (including the 
JIRA id)

- [ ] Documentation
  - Documentation has been added for new functionality
  - Old documentation affected by the pull request has been updated
  - JavaDoc for public methods has been added

- [ ] Tests & Build
  - Functionality added by the pull request is covered by tests
  - `mvn clean verify` has been executed successfully locally or a Travis 
build has passed



You can merge this pull request into a Git repository by running:

$ git pull https://github.com/iemejia/flink new

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/flink/pull/2340.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #2340


commit 299a7536db6cb51dd9920989caaaf527a4cb4feb
Author: Ismaël Mejía 
Date:   2016-08-07T10:57:48Z

[FLINK-3155] Update docker flink container to the latest release
I also simplified some stuff from the basic script




> Update Flink docker version to latest stable Flink version
> --
>
> Key: FLINK-3155
> URL: https://issues.apache.org/jira/browse/FLINK-3155
> Project: Flink
>  Issue Type: Task
>  Components: flink-contrib
>Affects Versions: 1.0.0
>Reporter: Maximilian Michels
> Fix For: 1.0.0
>
>
> It would be nice to always set the Docker Flink binary URL to point to the 
> latest Flink version. Until then, this JIRA keeps track of the updates for 
> releases.



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


[GitHub] flink pull request #2340: [FLINK-3155] Update docker flink container to the ...

2016-08-07 Thread iemejia
GitHub user iemejia opened a pull request:

https://github.com/apache/flink/pull/2340

[FLINK-3155] Update docker flink container to the latest release

Thanks for contributing to Apache Flink. Before you open your pull request, 
please take the following check list into consideration.
If your changes take all of the items into account, feel free to open your 
pull request. For more information and/or questions please refer to the [How To 
Contribute guide](http://flink.apache.org/how-to-contribute.html).
In addition to going through the list, please provide a meaningful 
description of your changes.

- [x] General
  - The pull request references the related JIRA issue ("[FLINK-XXX] Jira 
title text")
  - The pull request addresses only one issue
  - Each commit in the PR has a meaningful commit message (including the 
JIRA id)

- [ ] Documentation
  - Documentation has been added for new functionality
  - Old documentation affected by the pull request has been updated
  - JavaDoc for public methods has been added

- [ ] Tests & Build
  - Functionality added by the pull request is covered by tests
  - `mvn clean verify` has been executed successfully locally or a Travis 
build has passed



You can merge this pull request into a Git repository by running:

$ git pull https://github.com/iemejia/flink new

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/flink/pull/2340.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #2340


commit 299a7536db6cb51dd9920989caaaf527a4cb4feb
Author: Ismaël Mejía 
Date:   2016-08-07T10:57:48Z

[FLINK-3155] Update docker flink container to the latest release
I also simplified some stuff from the basic script




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[jira] [Commented] (FLINK-3026) Publish the flink docker container to the docker registry

2016-08-07 Thread JIRA

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

Ismaël Mejía commented on FLINK-3026:
-

I assign myself this issue following the previous discussion with [~aljoscha].

> Publish the flink docker container to the docker registry
> -
>
> Key: FLINK-3026
> URL: https://issues.apache.org/jira/browse/FLINK-3026
> Project: Flink
>  Issue Type: Task
>Reporter: Omer Katz
>Assignee: Ismaël Mejía
>  Labels: Deployment, Docker
>
> There's a dockerfile that can be used to build a docker container already in 
> the repository. It'd be awesome to just be able to pull it instead of 
> building it ourselves.
> The dockerfile can be found at 
> https://github.com/apache/flink/tree/master/flink-contrib/docker-flink
> It also doesn't point to the latest version of Flink which I fixed in 
> https://github.com/apache/flink/pull/1366



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


[jira] [Assigned] (FLINK-3026) Publish the flink docker container to the docker registry

2016-08-07 Thread JIRA

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

Ismaël Mejía reassigned FLINK-3026:
---

Assignee: Ismaël Mejía

> Publish the flink docker container to the docker registry
> -
>
> Key: FLINK-3026
> URL: https://issues.apache.org/jira/browse/FLINK-3026
> Project: Flink
>  Issue Type: Task
>Reporter: Omer Katz
>Assignee: Ismaël Mejía
>  Labels: Deployment, Docker
>
> There's a dockerfile that can be used to build a docker container already in 
> the repository. It'd be awesome to just be able to pull it instead of 
> building it ourselves.
> The dockerfile can be found at 
> https://github.com/apache/flink/tree/master/flink-contrib/docker-flink
> It also doesn't point to the latest version of Flink which I fixed in 
> https://github.com/apache/flink/pull/1366



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