Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions pkg/ddc/alluxio/utils_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ func TestIsFluidNativeScheme(t *testing.T) {
}
}


func TestAlluxioEngine_getInitUserDir(t *testing.T) {
type fields struct {
runtime *datav1alpha1.AlluxioRuntime
Expand Down Expand Up @@ -105,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
Expand Down
12 changes: 12 additions & 0 deletions samples/hdfs/target/classes/core-site.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>

<configuration>

<property>
<name>fs.alluxio.impl</name>
<value>alluxio.hadoop.FileSystem</value>
<description>The Alluxio FileSystem</description>
</property>

</configuration>
Binary file not shown.
8 changes: 8 additions & 0 deletions samples/hdfs/target/classes/log4j.properties
Original file line number Diff line number Diff line change
@@ -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