Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Flink1.9 upgrade & alink usage

2025-04-11 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/03 Report--

Because you want to use the ml features of the following flink, you need to upgrade flink to 1. 9.

After modifying the version of the pom file, the code reported almost nothing wrong, and for a moment of joy, only the creation of the batch changed.

BatchTableEnvironment tableEnv = new BatchTableEnvironment (env, TableConfig.DEFAULT ()); change to BatchTableEnvironment tableEnv = BatchTableEnvironment.create (env, TableConfig.getDefault ())

(the code didn't run, and hopefully it will run smoothly.)

Get the source code of alink

Git clone https://github.com/alibaba/Alink.git cd Alink & & mvn-Dmaven.test.skip=true clean package shade:shade

Because alink is not available on the maven server, you need to upload it.

Alink_core-0.1-SNAPSHOT.jar to the company's server, perform mvn deploy upload to the company's server under the root directory of the project.

And then introduce

Com.alibaba.alink alink_core 0.1-SNAPSHOT

Then import ALSExample into ide, and then you can study the first example

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 276

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report