Giter Club home page Giter Club logo

flowerfine / scaleph Goto Github PK

View Code? Open in Web Editor NEW
360.0 11.0 101.0 21.18 MB

Open data platform based on Kubernetes. Scaleph supports SeaTunnel、Flink and Doris backended by SeaTunnel on Flink engine、Flink Kubernetes Operator and Doris operator.

Home Page: https://flowerfine.github.io/scaleph-repress-site/

License: Apache License 2.0

Dockerfile 0.22% Java 54.80% JavaScript 0.10% TypeScript 44.09% Smarty 0.04% Shell 0.13% Less 0.62%
data-platform dataops dag seatunnel flink flink-sql flink-sql-gateway flink-kubernetes flink-kubernetes-operator doris

scaleph's People

Contributors

bailongsen1027 avatar dreamcreative avatar gleiyu avatar hx23840 avatar kalencaya avatar liubodong avatar lizu18xz avatar tony-zang avatar zhdech avatar zhou1519 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

scaleph's Issues

[Bug][scaleph-engine-seatunnel] java.lang.UnsupportedOperationException: null

Arrays.asList return type is a ArrayList which is an inner class in Arrays and is not java.util.ArrayList . this will cause exception when add element into list .

see https://wenku.baidu.com/view/e44fda2ea5c30c22590102020740be1e650eccd3.html

[Feature][scaleph-ui-react] refactor ui pages using react

Already searched before asking?

  • I had searched in the feature and found no similar feature requirement.

Usage Scenario

refactor ui pages using react

Description

common

studio

data Integration

ops center

  • realtime task
  • batch task

user center

system managerment

  • user managerment
  • #179
  • sys dict managerment
  • #181

Are you willing to submit a PR?

  • Yes, I am willing to submit a PR!

Code of Conduct

[Bug] [scaleph-ui] jdbc source and sink datasource select form

Already searched before asking?

  • I had searched in the issues and found no similar issues.

Scaleph Version or Branch

dev

What happened

when new datasource added, jdbc source and jdbc sink select form can't find added datasource automatically

Error Exception

No response

Screenshots

image

Are you willing to submit PR?

  • Yes, I am willing to submit a PR!

Code of Conduct

[Feature][scaleph-engine-seatunnel] integrate more seatunnel connector

Already searched before asking?

  • I had searched in the feature and found no similar feature requirement.

Usage Scenario

integrate more seatunnel connector and support seatunnel on flink full feature.

Description

Source

  • #143
  • file-json source
  • file-avro source
  • file-parquet source
  • file-text source
  • socket source
  • #210
  • influxdb source
  • kafka source

Sink

  • #144
  • file-json sink
  • file-avro sink
  • file-parquet sink
  • file-text sink
  • #185
  • #136
  • #210
  • #200
  • influxdb sink
  • kafka sink

Are you willing to submit a PR?

  • Yes, I am willing to submit a PR!

Code of Conduct

[Bug] [Module Name] edit dataSource bug

Already searched before asking?

  • I had searched in the issues and found no similar issues.

Scaleph Version or Branch

dev

What happened

Just click OK,No password changed,but meta_datasource table props change
image

image

image

image

Error Exception

No response

Screenshots

No response

Are you willing to submit PR?

  • Yes, I am willing to submit a PR!

Code of Conduct

[Feature][scaleph-dao] replace varchar type code by primary key id

Already searched before asking?

  • I had searched in the feature and found no similar feature requirement.

Usage Scenario

optimize database table schema for better performance

Description

scaleph-core-di module some table add xxx_code column with varchar type and create index on them.

CREATE TABLE `di_project` (
  `id` bigint NOT NULL AUTO_INCREMENT COMMENT '自增主键',
  `project_code` varchar(32) NOT NULL COMMENT '项目编码',
  `project_name` varchar(64) DEFAULT NULL COMMENT '项目名称',
  `remark` varchar(256) DEFAULT NULL COMMENT '备注',
  `creator` varchar(32) DEFAULT NULL COMMENT '创建人',
  `create_time` timestamp NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `editor` varchar(32) DEFAULT NULL COMMENT '修改人',
  `update_time` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '修改时间',
  PRIMARY KEY (`id`),
  UNIQUE KEY `project_code` (`project_code`)
) ENGINE=InnoDB COMMENT='数据集成-项目信息';

As we all know, out of order varchar type index is not friendly for B+ index.

For better performance, we need to replace them by primary key such as id. Introducing snowflake algorithm as our primary key generator is acceptable

Are you willing to submit a PR?

  • Yes, I am willing to submit a PR!

Code of Conduct

[Bug] [scaleph-api] job version managerment problem

Already searched before asking?

  • I had searched in the issues and found no similar issues.

Scaleph Version or Branch

1.0

What happened

作业组件编辑时不能触发版本号变化
作业发布后编辑保存,步骤属性信息没有同步存储下来
seatunnel作业的配置信息如果有错误的话,会导致整个jvm进程终止

Error Exception

No response

Screenshots

No response

Are you willing to submit PR?

  • Yes, I am willing to submit a PR!

Code of Conduct

[Bug][doc] good first issue nginx setting error

Already searched before asking?

  • I had searched in the issues and found no similar issues.

Scaleph Version or Branch

dev

What happened

nginx setting config error that cause http response 401 see #147

https://github.com/flowerfine/scaleph/blob/dev/docs/build/build.md

Error Exception

errorCode: "401"
errorMessage: "用户认证不通过!"
showType: 4
success: false

Screenshots

No response

Are you willing to submit PR?

  • Yes, I am willing to submit a PR!

Code of Conduct

[Feature][scaleph-engine-flink] flink multi-version cluster support

Already searched before asking?

  • I had searched in the feature and found no similar feature requirement.

Usage Scenario

Scaleph supports flink 1.13.x, 1.14.x, 1.15.x, ...

Description

Flink api evolves between different version and flinkful keeps up with flink through 1.13.6.xxx version or 1.14.4.xxx version.
Scaleph delegates flink cluster and job operate to flinkful and only supports specific flink version.
We need to add support multiple flink version feature to Scaleph.

Are you willing to submit a PR?

  • Yes, I am willing to submit a PR!

Code of Conduct

[Feature][scaleph-api] split JobController to job CRUD and run, stop, schedule two parts.

Already searched before asking?

  • I had searched in the feature and found no similar feature requirement.

Usage Scenario

Now JobController is heavy and contains much job dag logic, which is not suitable for application three layers architecture.
As an effort for more source code maintainability, try to split JobController to CRUD and operate two parts.

Description

split JobController to CRUD and operate two parts.

Are you willing to submit a PR?

  • Yes, I am willing to submit a PR!

Code of Conduct

[Feature][scale-api] Determine whether the cluster has configured the necessary parameters based on the cluster type and the deployment mode

Already searched before asking?

  • I had searched in the feature and found no similar feature requirement.

Usage Scenario

check the cluster parameters when new or update a cluster

Description

Determine whether the cluster has configured the necessary parameters based on the cluster type and the deployment mode

Are you willing to submit a PR?

  • Yes, I am willing to submit a PR!

Code of Conduct

[Feature][datasource] upgrade scaleph-ui to adapte properties from datasource plugins.

Already searched before asking?

  • I had searched in the feature and found no similar feature requirement.

Usage Scenario

break barrier between frontend and backend datasource property setting.

Description

  1. backend datasource plugin declares its supported properties with detailed description
  2. frontend datasource setting page rendering depends on backend provided property descriptors
  3. backend plugins requiring datasource declare datasource property, when other plugins property can't match datasource plugin property, fallbackProperty will work.

image

image

Are you willing to submit a PR?

  • Yes, I am willing to submit a PR!

Code of Conduct

[Bug]user login failed and receive authenticate failure error message

Already searched before asking?

  • I had searched in the issues and found no similar issues.

Scaleph Version or Branch

master

What happened

image

Error Exception

errorCode: "401"
errorMessage: "用户认证不通过!"
showType: 4
success: false

Screenshots

No response

Are you willing to submit PR?

  • Yes, I am willing to submit a PR!

Code of Conduct

[Bug] [scaleph-engine-flink] unsupport creating session cluster on k3s

Already searched before asking?

  • I had searched in the issues and found no similar issues.

Scaleph Version or Branch

dev

What happened

When bootstraped k3s cluster through k3d and autok3s, scaleph create flink session cluster on k3s failed.
The reason may be k3s kubeconfig certificate encryption algorithm.

Error Exception

No response

Screenshots

No response

Are you willing to submit PR?

  • Yes, I am willing to submit a PR!

Code of Conduct

[Feature][contest]collect participators for flink stream contest

Already searched before asking?

  • I had searched in the feature and found no similar feature requirement.

Usage Scenario

We have evolved scaleph since 2022 year and obtain some achivements. In the last year of 2022, we want to earn more on open data platform based on flink.
We have already found a exciting flink stream contest called Beyond Stream Processing !第四届实时计算 Flink 挑战赛, which is hosted by alicloud & tianchi. Now we are collecting players for participating in it.
Welcome everybody reply this issue and join us.

Description

collect participators for flink stream contest

Are you willing to submit a PR?

  • Yes, I am willing to submit a PR!

Code of Conduct

[Bug] [scaleph-ui] jdbc sink config incorrect

Already searched before asking?

  • I had searched in the issues and found no similar issues.

Scaleph Version or Branch

dev

What happened

Test task Kafka to JDBC , Incorrect page parameters:

"sink" : [
{
"url" : "jdbc:mysql://localhost:3306/testdata?",
"driver" : "com.mysql.cj.jdbc.Driver",
"username" : "root",
"password" : "123456",
"query" : "insert into test02 (id,name) values(?, ?)",
"batchSize" : "2",
"plugin_name" : "JdbcSink",
"_node_type" : "sink",
"_node_id" : 12,
"source_table_name" : "table_13"
}

In Seatunnel project Parameter is :
public static final String SINK_BATCH_SIZE = "batch_size";

Error Exception

No response

Screenshots

No response

Are you willing to submit PR?

  • Yes, I am willing to submit a PR!

Code of Conduct

[Bug] [scaleph-storage] java.io.FileNotFoundException: HADOOP_HOME and hadoop.home.dir are unset

Already searched before asking?

  • I had searched in the issues and found no similar issues.

Scaleph Version or Branch

dev

What happened

FileNotFoundException throws when startup

Error Exception

java.io.FileNotFoundException: java.io.FileNotFoundException: HADOOP_HOME and hadoop.home.dir are unset. -see https://wiki.apache.org/hadoop/WindowsProblems
	at org.apache.hadoop.util.Shell.fileNotFoundException(Shell.java:549)
	at org.apache.hadoop.util.Shell.getHadoopHomeDir(Shell.java:570)
	at org.apache.hadoop.util.Shell.getQualifiedBin(Shell.java:593)
	at org.apache.hadoop.util.Shell.<clinit>(Shell.java:690)
	at org.apache.hadoop.util.StringUtils.<clinit>(StringUtils.java:78)
	at org.apache.hadoop.conf.Configuration.getStringCollection(Configuration.java:2170)
	at org.apache.hadoop.fs.s3a.S3AUtils.patchSecurityCredentialProviders(S3AUtils.java:1174)
	at org.apache.hadoop.fs.s3a.S3AFileSystem.initialize(S3AFileSystem.java:240)
	at org.apache.flink.fs.s3.common.AbstractS3FileSystemFactory.create(AbstractS3FileSystemFactory.java:123)
	at cn.sliew.scaleph.storage.configuration.FileSystemConfiguration.s3FileSystem(FileSystemConfiguration.java:59)
	at cn.sliew.scaleph.storage.configuration.FileSystemConfiguration$$EnhancerBySpringCGLIB$$61a05adb.CGLIB$s3FileSystem$1(<generated>)
	at cn.sliew.scaleph.storage.configuration.FileSystemConfiguration$$EnhancerBySpringCGLIB$$61a05adb$$FastClassBySpringCGLIB$$99e9f8a8.invoke(<generated>)
	at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:244)

Screenshots

No response

Are you willing to submit PR?

  • Yes, I am willing to submit a PR!

Code of Conduct

[Feature][scaleph-ui] i18n adapte

Already searched before asking?

  • I had searched in the feature and found no similar feature requirement.

Usage Scenario

scaleph-ui i18n

Description

add i18n style and desc to scaleph-ui

Are you willing to submit a PR?

  • Yes, I am willing to submit a PR!

Code of Conduct

[Bug] [scaleph-api] SeatunnelJobServiceImpl#getProjectBasePath function can't work on windows

Already searched before asking?

  • I had searched in the issues and found no similar issues.

Scaleph Version or Branch

dev/master

What happened

SeatunnelJobServiceImpl#getProjectBasePath function can't work on windows

Error Exception

java.lang.UnsupportedOperationException: 'posix:permissions' not supported as initial attribute
	at sun.nio.fs.WindowsSecurityDescriptor.fromAttribute(WindowsSecurityDescriptor.java:358)
	at sun.nio.fs.WindowsFileSystemProvider.createDirectory(WindowsFileSystemProvider.java:492)
	at java.nio.file.Files.createDirectory(Files.java:674)
	at java.nio.file.TempFileHelper.create(TempFileHelper.java:136)
	at java.nio.file.TempFileHelper.createTempDirectory(TempFileHelper.java:173)
	at java.nio.file.Files.createTempDirectory(Files.java:991)
	at cn.sliew.scaleph.engine.seatunnel.service.impl.SeatunnelJobServiceImpl.getProjectBasePath(SeatunnelJobServiceImpl.java:309)
	at cn.sliew.scaleph.engine.seatunnel.service.impl.SeatunnelJobServiceImpl.submit(SeatunnelJobServiceImpl.java:172)
	at cn.sliew.scaleph.engine.seatunnel.service.impl.SeatunnelFlinkJob.executeInternal(SeatunnelFlinkJob.java:43)
	at org.springframework.scheduling.quartz.QuartzJobBean.execute(QuartzJobBean.java:75)
	at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
	at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)

Screenshots

No response

Are you willing to submit PR?

  • Yes, I am willing to submit a PR!

Code of Conduct

[Docs][wiki] more detailed README and wiki docs.

Already searched before asking?

  • I had searched in the feature and found no similar feature requirement.

Usage Scenario

We need more detailed and organized docs about scaleph.

Description

README and wiki introduce scaleph in an unsmooth way, lacks essential and detailed information which deep into scaleph

Are you willing to submit a PR?

  • Yes, I am willing to submit a PR!

Code of Conduct

[Feature] change table to partition table in log module

Already searched before asking?

  • I had searched in the feature and found no similar feature requirement.

Usage Scenario

change table to partition table in log module

Description

change table to partition table in log module

Are you willing to submit a PR?

  • Yes, I am willing to submit a PR!

Code of Conduct

[Feature][scaleph-plugin-framework] upgrade PropertyDescriptor to support property group

Already searched before asking?

  • I had searched in the feature and found no similar feature requirement.

Usage Scenario

scaleph plugin property definition.

Description

Our PropertyDescritpor is inspired by following excellent project:

As the reason of supporting seatunnel consumer.* parameter sytle, scaleph needs to add property group feature to PropertyDescriptor.

Are you willing to submit a PR?

  • Yes, I am willing to submit a PR!

Code of Conduct

[Feature][scaleph-storage] unified storage system based on flink FileSystem

Already searched before asking?

  • I had searched in the feature and found no similar feature requirement.

Usage Scenario

Try to unify storage interface and support local, HDFS, S3, OSS.

Description

Storate interface based on flink FileSystem will replace various StorageService or BlobService, and support local, HDFS, S3, OSS.
In addition to that, unified storage interface will add local cache support for better performance.

Are you willing to submit a PR?

  • Yes, I am willing to submit a PR!

Code of Conduct

[Bug] [docker] upload jar on project resource management

Already searched before asking?

  • I had searched in the issues and found no similar issues.

Scaleph Version or Branch

dev

What happened

The latest docker image encountered failure when upload jar on project resource management.

Error Exception

192.168.192.1 - - [13/Aug/2022:00:29:05 +0000] "POST /api/datadev/resource/upload HTTP/1.1" 504 569 "http://localhost/scaleph/datadev/project" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36"

2022/08/13 00:29:05 [error] 11#11: *1 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 192.168.192.1, server: localhost, request: "POST /api/datadev/resource/upload HTTP/1.1", upstream: "http://192.168.192.7:8080/scaleph/api/datadev/resource/upload", host: "localhost", referrer: "http://localhost/scaleph/datadev/project"

Screenshots

image

Are you willing to submit PR?

  • Yes, I am willing to submit a PR!

Code of Conduct

[Bug] [scaleph-ui] datasources in table input and output plugin need filter

Already searched before asking?

  • I had searched in the issues and found no similar issues.

Scaleph Version or Branch

dev

What happened

datasource like kakfa can chosed in table input and output plugin and sql is not support with kafka .

Error Exception

No response

Screenshots

No response

Are you willing to submit PR?

  • Yes, I am willing to submit a PR!

Code of Conduct

[Bug] [scaleph-storage] scaleph minio fails when hadoop bootstraped on same machine

Already searched before asking?

  • I had searched in the issues and found no similar issues.

Scaleph Version or Branch

dev

What happened

When hadoop bootstraps, scaleph would connect minio failed for network failure, even minio works normally.

Error Exception

No response

Screenshots

No response

Are you willing to submit PR?

  • Yes, I am willing to submit a PR!

Code of Conduct

[Feature][scaleph-engine-flink] flink cluster and job manage

Already searched before asking?

  • I had searched in the feature and found no similar feature requirement.

Usage Scenario

A detailed flink cluster and job manage plan for supporting data-integration and ETL development.

Description

multi flink version support

flink cluster

  • flink cluster status monitor
  • todo

flink job

  • flink job status monitor
  • todo

Are you willing to submit a PR?

  • Yes, I am willing to submit a PR!

Code of Conduct

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.