From 56233d3e1fc041b9f8b6568f457e1ae5f6d28757 Mon Sep 17 00:00:00 2001
From: lixuefeng <221220128@smail.nju.edu.cn>
Date: Fri, 16 May 2025 03:14:51 -0700
Subject: [PATCH 1/2] Add Notation to TestAlluxioEngine_getInitUserDir in
pkg\ddc\alluxio\utils_test.go.
Signed-off-by: lixuefeng <221220128@smail.nju.edu.cn>
---
pkg/ddc/alluxio/utils_test.go | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/pkg/ddc/alluxio/utils_test.go b/pkg/ddc/alluxio/utils_test.go
index e701fe94adf..d6e055100d7 100644
--- a/pkg/ddc/alluxio/utils_test.go
+++ b/pkg/ddc/alluxio/utils_test.go
@@ -62,6 +62,13 @@ func TestIsFluidNativeScheme(t *testing.T) {
}
}
+// TestAlluxioEngine_getInitUsersArgs tests the user initialization parameters generation functionality of utils.GetInitUsersArgs
+//
+// Parameters:
+// - t (*testing.T): Testing context object from Go test framework
+//
+// Returns:
+// - No return value, reports test failures through t.Errorf
func TestAlluxioEngine_getInitUserDir(t *testing.T) {
type fields struct {
runtime *datav1alpha1.AlluxioRuntime
From 6fbf4d4816c32a6a6d18e9f2f6ce698abe46a50c Mon Sep 17 00:00:00 2001
From: lixuefeng <221220128@smail.nju.edu.cn>
Date: Wed, 25 Jun 2025 07:10:03 -0700
Subject: [PATCH 2/2] Add comments to TestAlluxioEngine_getInitUsersArgs in
pkg\ddc\alluxio\utils_test.go
Signed-off-by: lixuefeng <221220128@smail.nju.edu.cn>
---
pkg/ddc/alluxio/utils_test.go | 17 ++++++++++-------
samples/hdfs/target/classes/core-site.xml | 12 ++++++++++++
.../classes/io/fluid/demo/HDFSClient.class | Bin 0 -> 4484 bytes
samples/hdfs/target/classes/log4j.properties | 8 ++++++++
4 files changed, 30 insertions(+), 7 deletions(-)
create mode 100644 samples/hdfs/target/classes/core-site.xml
create mode 100644 samples/hdfs/target/classes/io/fluid/demo/HDFSClient.class
create mode 100644 samples/hdfs/target/classes/log4j.properties
diff --git a/pkg/ddc/alluxio/utils_test.go b/pkg/ddc/alluxio/utils_test.go
index d6e055100d7..3a47264079f 100644
--- a/pkg/ddc/alluxio/utils_test.go
+++ b/pkg/ddc/alluxio/utils_test.go
@@ -62,13 +62,7 @@ func TestIsFluidNativeScheme(t *testing.T) {
}
}
-// TestAlluxioEngine_getInitUsersArgs tests the user initialization parameters generation functionality of utils.GetInitUsersArgs
-//
-// Parameters:
-// - t (*testing.T): Testing context object from Go test framework
-//
-// Returns:
-// - No return value, reports test failures through t.Errorf
+
func TestAlluxioEngine_getInitUserDir(t *testing.T) {
type fields struct {
runtime *datav1alpha1.AlluxioRuntime
@@ -112,6 +106,15 @@ func TestAlluxioEngine_getInitUserDir(t *testing.T) {
}
}
+
+// TestAlluxioEngine_getInitUsersArgs tests the user initialization parameters generation functionality of utils.GetInitUsersArgs
+//
+// Parameters:
+// - t (*testing.T): Testing context object from Go test framework
+//
+// Returns:
+// - No return value, reports test failures through t.Errorf
+
func TestAlluxioEngine_getInitUsersArgs(t *testing.T) {
type fields struct {
runtime *datav1alpha1.AlluxioRuntime
diff --git a/samples/hdfs/target/classes/core-site.xml b/samples/hdfs/target/classes/core-site.xml
new file mode 100644
index 00000000000..aaaa2e5358a
--- /dev/null
+++ b/samples/hdfs/target/classes/core-site.xml
@@ -0,0 +1,12 @@
+
+
+
+
+
+
+ fs.alluxio.impl
+ alluxio.hadoop.FileSystem
+ The Alluxio FileSystem
+
+
+
\ No newline at end of file
diff --git a/samples/hdfs/target/classes/io/fluid/demo/HDFSClient.class b/samples/hdfs/target/classes/io/fluid/demo/HDFSClient.class
new file mode 100644
index 0000000000000000000000000000000000000000..5b756a3128e26397e2e62ad62828f1bbc40a22f9
GIT binary patch
literal 4484
zcma)9`Fk5z6+O?EG_o>|8#zuYCuzN;!B%W5P0}n@7UC^-@P_R;I03>$8ru^~8X=9+
zgsm)vvXvdW0EJS(?9c$VV?!ug3k6#K6@H}ON5gqT(>`KOYu!ld@K|g9~ry$7XiCDr)S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pALV-+6uA%@#rf+6gYq$m}Q74!YUNRTr=7FeCD?ayLxiw13y#L3|Bg
zXMB9sxrJ{Fyo48)@Plq|N64#~_#x2k3x~Y&
zT*#+V!U_b|;r!Z00SD38*^W8~&Ice)v+qXc$RaWm*bxy#KM
zex*`@@bDs6(uo1wBwy9kb&5s)8(L{&_Wzc9Uh1o3;rRGjrhQqmuG9*pB$u_Q{vSe$
t#^=H{RC0@(RanIupN$myBai$^eg8#$zpTFhhFAGs{(bci{0pxm^nWW5limOT
literal 0
HcmV?d00001
diff --git a/samples/hdfs/target/classes/log4j.properties b/samples/hdfs/target/classes/log4j.properties
new file mode 100644
index 00000000000..393e0877ec1
--- /dev/null
+++ b/samples/hdfs/target/classes/log4j.properties
@@ -0,0 +1,8 @@
+# Root logger option
+log4j.rootLogger=INFO, stdout
+
+# Direct log messages to stdout
+log4j.appender.stdout=org.apache.log4j.ConsoleAppender
+log4j.appender.stdout.Target=System.out
+log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
+log4j.appender.stdout.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss} %-5p %c{1}:%L - %m%n
\ No newline at end of file