Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix add jindocache engine for jindodata 5.0 beta release #3346

Merged
merged 11 commits into from
Jul 21, 2023

Conversation

frankleaf
Copy link
Member

Ⅰ. Describe what this PR does

Ⅱ. Does this pull request fix one issue?

fixes #XXXX

Ⅲ. List the added test cases (unit test/integration test) if any, please explain if no tests are needed.

Ⅳ. Describe how to verify it

Ⅴ. Special notes for reviews

.dlv/config.yml Outdated
@@ -0,0 +1,54 @@
# Configuration file for the delve debugger.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remove the file, it's for debugging.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@@ -0,0 +1,4 @@
This directory holds cached build artifacts from the Go build system.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please delete this file.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@@ -0,0 +1,513 @@
/*
Copyright 2022 The Fluid Authors.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The header year should be 2023.

apiVersion: apps/v1
kind: DaemonSet
metadata:
name: {{ template "jindofs.fullname" . }}-fuse
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If the chart name is changed to jindocache, I think the name jindofs should be changed to jindocache.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

chart: {{ template "jindofs.chart" . }}
release: {{ .Release.Name }}
heritage: {{ .Release.Service }}
role: jindofs-fuse
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should the role name be jindocache-fuse?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@cheyang
Copy link
Collaborator

cheyang commented Jul 20, 2023

@frankleaf please fix the unit test first. thanks.

@codecov
Copy link

codecov bot commented Jul 20, 2023

Codecov Report

Merging #3346 (af4b729) into master (e180802) will decrease coverage by 0.92%.
The diff coverage is 55.97%.

❗ Current head af4b729 differs from pull request most recent head 8b2740d. Consider uploading reports for the commit 8b2740d to get more accurate results

@@            Coverage Diff             @@
##           master    #3346      +/-   ##
==========================================
- Coverage   65.43%   64.51%   -0.92%     
==========================================
  Files         402      432      +30     
  Lines       23244    25745    +2501     
==========================================
+ Hits        15209    16609    +1400     
- Misses       6254     7165     +911     
- Partials     1781     1971     +190     
Impacted Files Coverage Δ
pkg/ddc/jindocache/data_migrate.go 0.00% <0.00%> (ø)
pkg/ddc/jindocache/operate.go 0.00% <0.00%> (ø)
pkg/ddc/jindocache/ufs.go 0.00% <0.00%> (ø)
pkg/ddc/jindocache/ufs_internal.go 0.00% <0.00%> (ø)
pkg/ddc/jindocache/transform_hadoop_config.go 13.63% <13.63%> (ø)
pkg/ddc/jindocache/status.go 20.54% <20.54%> (ø)
pkg/ddc/jindocache/master.go 21.73% <21.73%> (ø)
pkg/ddc/jindocache/sync_runtime.go 33.60% <33.60%> (ø)
pkg/ddc/jindocache/shutdown.go 36.60% <36.60%> (ø)
pkg/ddc/jindocache/port_parser.go 45.45% <45.45%> (ø)
... and 20 more

Signed-off-by: frankleaf <[email protected]>
Signed-off-by: frankleaf <[email protected]>
Signed-off-by: frankleaf <[email protected]>
Signed-off-by: frankleaf <[email protected]>
Signed-off-by: frankleaf <[email protected]>
Signed-off-by: frankleaf <[email protected]>
Signed-off-by: frankleaf <[email protected]>
@cheyang
Copy link
Collaborator

cheyang commented Jul 20, 2023

/test fluid-e2e

"efc": efc.Build,
"alluxio": alluxio.Build,
"jindo": jindo.Build,
"jindofsx": jindofsx.Build,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How about puting jindo,jindofsx and jindocache together?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

.gitignore Outdated
@@ -40,3 +40,6 @@ sdk
**/__debug_bin
**/__pycache__

# local related
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it's not neccessay for developers. Please remove it.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

Signed-off-by: frankleaf <[email protected]>
Signed-off-by: frankleaf <[email protected]>
Signed-off-by: frankleaf <[email protected]>
@sonarcloud
Copy link

sonarcloud bot commented Jul 20, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 130 Code Smells

No Coverage information No Coverage information
22.0% 22.0% Duplication

@cheyang
Copy link
Collaborator

cheyang commented Jul 21, 2023

/test fluid-e2e

@cheyang
Copy link
Collaborator

cheyang commented Jul 21, 2023

/retest

@cheyang
Copy link
Collaborator

cheyang commented Jul 21, 2023

/test fluid-e2e

Copy link
Collaborator

@cheyang cheyang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm
/approve

@fluid-e2e-bot
Copy link

fluid-e2e-bot bot commented Jul 21, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: cheyang

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@fluid-e2e-bot fluid-e2e-bot bot merged commit 556a605 into fluid-cloudnative:master Jul 21, 2023
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants