chunilal kukreja
08/04/2022, 12:09 PMYui H
08/04/2022, 12:28 PMCaused by: org.apache.flink.runtime.JobException: Cannot instantiate the coordinator for operator Source: …
• Caused by: java.lang.RuntimeException: org.apache.flink.runtime.JobException: Cannot instantiate the coordinator for operator Source: …
• Caused by: java.lang.ClassNotFoundException: com.some.flink.pipeline.events.blah
If so we cannot really rename / move files in Flink applications?Qinghui Xu
08/04/2022, 3:03 PMJeesmon Jacob
08/04/2022, 3:15 PMRM
08/04/2022, 4:16 PMDon Li
08/04/2022, 7:13 PMDataStream<String>
from a FileSource
without using the environment variable to generate the datastream? I have a file path inside of another DataStream<String>
and I want to go through the lines of the file.Ivan M
08/04/2022, 7:25 PMAdrian Chang
08/04/2022, 7:46 PMSELECT
motion.window_start AS window_start,
motion.window_end AS window_end,
motion.serial AS serial,
motion.groupId AS motion_group,
motion.tsMs AS motion_tsMs,
CAST(location.tsMs AS STRING) AS location_tsMs,
location.resourceId AS location_group,
motion.groupId AS resourceId
FROM (
SELECT * FROM TABLE(TUMBLE(TABLE stream_motion, DESCRIPTOR(tsMs), INTERVAL '1' MINUTES))
) motion
LEFT JOIN (
SELECT * FROM TABLE(TUMBLE(TABLE stream_location, DESCRIPTOR(tsMs), INTERVAL '1' MINUTES))
) location
ON motion.groupId = location.resourceId AND motion.window_start = location.window_start AND motion.window_end = location.window_end;
Roman Bohdan
08/04/2022, 7:50 PMspec:
replicas: 2
in the result
journey-jobmanager-t6x2v 3/3 Running 0 63m
journey-taskmanager-6fb96b7bbc-4s8fn 3/3 Running 0 24m
journey-taskmanager-6fb96b7bbc-q26cp 3/3 Running 0 18m
it was deployd successfully, but second taskmanager port didn`t start. It`s frozen and stay with current logs
ger_0 .
2022-08-04 19:30:30,072 INFO org.apache.flink.runtime.taskexecutor.DefaultJobLeaderService [] [flink-akka.actor.default-dispatcher-6] Start job leader service.
2022-08-04 19:30:30,076 INFO org.apache.flink.runtime.filecache.FileCache [] [flink-akka.actor.default-dispatcher-6] User file cache uses directory /tmp/flink-dist-cache-003af8c3-14b3-4df4-974c-5c42e200acbf
2022-08-04 19:30:30,081 INFO org.apache.flink.runtime.taskexecutor.TaskExecutor [] [flink-akka.actor.default-dispatcher-6] Connecting to ResourceManager <akka.tcp://flink@journey-jobmanager:6123/user/rpc/resourcemanager_*(00000000000000000000000000000000)>.
2022-08-04 19:30:30,405 INFO org.apache.flink.runtime.taskexecutor.TaskExecutor [] [flink-akka.actor.default-dispatcher-6] Resolved ResourceManager address, beginning registration
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.jboss.netty.util.internal.ByteBufferUtil (file:/tmp/flink-rpc-akka_33e6c155-85e6-4a50-9ee1-1e530ec97636.jar) to method java.nio.DirectByteBuffer.cleaner()
WARNING: Please consider reporting this to the maintainers of org.jboss.netty.util.internal.ByteBufferUtil
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
2022-08-04 19:30:30,499 INFO org.apache.flink.runtime.taskexecutor.TaskExecutor [] [flink-akka.actor.default-dispatcher-15] Successful registration at resource manager <akka.tcp://flink@journey-jobmanager:6123/user/rpc/resourcemanager_*> under registration id 25c8fc1abec5034cf9e6d9fce90f9b7d.
could you please suggest, what did i forget to check or how can i fix it, please.chunilal kukreja
08/05/2022, 6:21 AMFelix Angell
08/05/2022, 9:35 AMjvm_gateway
- would this cause any problems?Ali Zia
08/05/2022, 2:05 PMAshwini Padhy
08/05/2022, 5:49 PMSergey G
08/05/2022, 8:19 PMGuoqin Zheng
08/05/2022, 9:57 PM$s3_bucket/path/to/my/folder/yyyy/mm/dd
. Now let say I want to process a range of dates’ data, e.g. 2022/08/01 ~ 2022/08/05. Is there an out of box solution to fetch all the data in a singe job, or I need run the job five times with each single date’ data? Thanks!Kyle Ahn
08/06/2022, 9:09 PMCaused by: java.lang.ClassNotFoundException: org.apache.flink.formats.parquet.avro.AvroParquetWriters
In my pom.xml
, I have the following dependency.
<dependency>
<groupId>org.apache.flink</groupId>
<artifactId>flink-parquet</artifactId>
<version>${flink.version}</version>
</dependency>
Has anyone experienced the same issue?Sigh
08/07/2022, 2:07 PMSigh
08/07/2022, 2:07 PMSigh
08/07/2022, 2:07 PMHunter Medney
08/08/2022, 10:43 AMkevin
08/08/2022, 2:13 PMkevin
08/08/2022, 2:28 PMJirawech Siwawut
08/08/2022, 4:39 PMhive_conf_dir
I got following error when i tried to run Hive sink job. Does anyone know how to solve this? Here is error
Caused by: java.lang.RuntimeException: Unable to instantiate org.apache.hadoop.hive.metastore.HiveMetaStoreClient
at org.apache.hadoop.hive.metastore.utils.JavaUtils.newInstance(JavaUtils.java:86)
at org.apache.hadoop.hive.metastore.RetryingMetaStoreClient.<init>(RetryingMetaStoreClient.java:95)
at org.apache.hadoop.hive.metastore.RetryingMetaStoreClient.getProxy(RetryingMetaStoreClient.java:148)
at org.apache.hadoop.hive.metastore.RetryingMetaStoreClient.getProxy(RetryingMetaStoreClient.java:104)
... 29 more
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at org.apache.hadoop.hive.metastore.utils.JavaUtils.newInstance(JavaUtils.java:84)
... 32 more
Caused by: MetaException(message:Could not connect to meta store using any of the URIs provided. Most recent failure: org.apache.thrift.transport.TTransportException: GSS initiate failed
Jeremy Ber
08/08/2022, 6:11 PMAdrian Chang
08/08/2022, 7:05 PMARRAY_AGG
SQL aggregation function implemented in Flink ?Marco Villalobos
08/08/2022, 8:33 PMJody N
08/08/2022, 11:31 PMJeff Levesque
08/09/2022, 2:49 AMtrigger
UDF within the sliding window, such that I can perform operations on the given field:
input_table = table_env.from_path('tumbling_window_table')
sliding_window_table = (
input_table.window(
Slide.over('8.hours')
.every('1.minutes')
.on('window_start')
.alias('eight_hour_window')
)
.group_by('ticker, {}'.format('eight_hour_window'))
.select('''
ticker,
trigger(min_price.collect, max_price.collect) as price,
{0}.start as window_start,
{0}.end as window_end
'''.format(
'eight_hour_window',
'window_start'
))
)
When I run the above, where the UDF trigger
function only returns the same min_price
input value:
return min_price
The entire above select
is ignored (no errors raised, just nothing outputting). However, if I replace the above collect
callback with avg
, or min
, or max
, then the above select
will return results correspondingly. I'm not sure if there is a better aggregation function [1] that I can utilize? For example, let's assume I want to create my own averaging UDF (instead of using the avg
aggregation callback). If I replace collect
with the count
callback, I notice the select
output for the UDF returns incrementing integers every 1.minutes
.
---
[1] https://nightlies.apache.org/flink/flink-docs-master/docs/dev/table/functions/systemfunctions/#aggregate-functionsGyula Fóra
08/09/2022, 4:39 AMflink-main-container exceeded its local ephemeral storage limit "1Gi"
Any idea how to configure the Flink pods to solve it?Mustafa Akur
08/09/2022, 9:45 AM