Im trying to write some data to Hadoop by using this code
The state backend is set without time StateBackend sb = new FsStateBackend("hdfs://***:9000/flink/my_city/checkpoints"); BucketingSink<Tuple2<IntWritable, Text>> sink =the result is that all the files are stuck in in.programs status and not closed. is it related to the state backend configuration. thanks, Miki |
I think you can look at this comment, thanks. * <p>Part files can be in one of three states: {@code in-progress}, {@code pending} or {@code finished}. 2018-06-05 17:14 GMT+08:00 miki haiat <[hidden email]>:
|
In reply to this post by miki haiat
Hi Miki,
Have you enabled checkpointing? Kostas
|
I saw the option of enabling checkpoint enabling-and-configuring-checkpointing But on 1.5 it said that the method is deprecated so im a bit confused . /** @deprecated */ On Tue, Jun 5, 2018 at 1:11 PM Kostas Kloudas <[hidden email]> wrote:
|
This particular version of the method
is deprecated, use enableCheckpointing(long
checkpointingInterval) instead.
On 05.06.2018 12:19, miki haiat wrote:
|
OMG i missed it ... Thanks, MIki On Tue, Jun 5, 2018 at 1:30 PM Chesnay Schepler <[hidden email]> wrote:
|
Free forum by Nabble | Edit this page |