I can enable them by adding to flink-conf.yaml, it will work.

However, I don't want to edit the flink-conf.yaml file, I want to enable
the configurations when submitting a job on cmd line, then it only
works for the job I submitted, I have no idea how to do this?

Thanks,
Lei

On Mon, Apr 8, 2024 at 9:22 AM Marco Villalobos <mvillalo...@kineteque.com>
wrote:

> Hi Lei,
>
> Have you tried enabling these Flink configuration properties?
>
> Configuration
> <https://nightlies.apache.org/flink/flink-docs-release-1.19/docs/deployment/config/#rocksdb-native-metrics>
> nightlies.apache.org
> <https://nightlies.apache.org/flink/flink-docs-release-1.19/docs/deployment/config/#rocksdb-native-metrics>
> [image: favicon.png]
> <https://nightlies.apache.org/flink/flink-docs-release-1.19/docs/deployment/config/#rocksdb-native-metrics>
> <https://nightlies.apache.org/flink/flink-docs-release-1.19/docs/deployment/config/#rocksdb-native-metrics>
>
> Sent from my iPhone
>
> On Apr 7, 2024, at 6:03 PM, Lei Wang <leiwang...@gmail.com> wrote:
>
> 
> I  want to enable it only for specified jobs, how can I specify the
>  configurations on  cmd line when submitting a job?
>
> Thanks,
> Lei
>
> On Sun, Apr 7, 2024 at 4:59 PM Zakelly Lan <zakelly....@gmail.com> wrote:
>
>> Hi Lei,
>>
>> You can enable it by some configurations listed in:
>> https://nightlies.apache.org/flink/flink-docs-release-1.14/docs/deployment/config/#rocksdb-native-metrics
>>  (RocksDB Native Metrics)
>>
>>
>> Best,
>> Zakelly
>>
>> On Sun, Apr 7, 2024 at 4:59 PM Zakelly Lan <zakelly....@gmail.com> wrote:
>>
>>> Hi Lei,
>>>
>>> You can enable it by some configurations listed in:
>>> https://nightlies.apache.org/flink/flink-docs-release-1.14/docs/deployment/config/#rocksdb-native-metrics
>>>  (RocksDB Native Metrics)
>>>
>>>
>>> Best,
>>> Zakelly
>>>
>>> On Sun, Apr 7, 2024 at 4:47 PM Lei Wang <leiwang...@gmail.com> wrote:
>>>
>>>>
>>>> Using big state and want to do some performance tuning, how can i
>>>> enable RocksDB native metrics?
>>>>
>>>> I  am using  Flink 1.14.4
>>>>
>>>> Thanks,
>>>> Lei
>>>>
>>>

Reply via email to