Skip to content
This repository was archived by the owner on Jan 3, 2023. It is now read-only.

Commit 65d67ac

Browse files
authored
Refine the description in smart-default.xml (#2074)
1 parent 852b45a commit 65d67ac

1 file changed

Lines changed: 11 additions & 10 deletions

File tree

conf/smart-default.xml

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -27,35 +27,36 @@
2727
<name>smart.dfs.enabled</name>
2828
<value>true</value>
2929
<description>
30-
For SSM, all functions disabled except rpc and RESTApi service if false.
30+
By setting false, all SSM functions except rpc and RESTApi service will be disabled.
3131
</description>
3232
</property>
3333

3434
<property>
3535
<name>smart.ignore.dirs</name>
3636
<value></value>
3737
<description>
38-
SSM will completely ignore files under the given directories.
39-
For more than one directories, they should be separated by ",".
38+
SSM will completely ignore files under the given HDFS directory.
39+
For more than one directory, they should be separated by ",".
4040
</description>
4141
</property>
4242

4343
<property>
4444
<name>smart.cover.dirs</name>
4545
<value></value>
4646
<description>
47-
SSM will only fetch files under the given directories.
48-
For more than one directories, they should be separated by ",".
47+
SSM will only fetch files under the given HDFS directory.
48+
For more than one directory, they should be separated by ",".
49+
By default, all HDFS files are covered.
4950
</description>
5051
</property>
5152

5253
<property>
5354
<name>smart.work.dir</name>
5455
<value>/system/ssm</value>
5556
<description>
56-
This directory is used as a work directory for SSM to store tmp files and data.
57-
The default path is "/system/ssm", and SSM will ignore files under the work directory.
58-
No more than one directory can be set as the work directory.
57+
This HDFS directory is used as a work directory for SSM to store tmp files.
58+
The default path is "/system/ssm", and SSM will ignore HDFS inotify for
59+
files under the work directory. Only one directory can be set for this property.
5960
</description>
6061
</property>
6162

@@ -254,7 +255,7 @@
254255
<value>false</value>
255256
<description>
256257
Skip fetch the entire namespace and only use available iNotify events to update namespace if true.
257-
NOTE: This may leads to some unpredictable consequences and should only be used for testing.
258+
NOTE: This may leads to some unpredictable consequences and should only be used for test.
258259
</description>
259260
</property>
260261

@@ -280,7 +281,7 @@
280281
<name>smart.compression.impl</name>
281282
<value>Zlib</value>
282283
<description>
283-
Default compression codec for SSM compression (Zlib Lz4, Bzip2, snappy).
284+
The default compression codec for SSM compression (Zlib Lz4, Bzip2, snappy).
284285
</description>
285286
</property>
286287
</configuration>

0 commit comments

Comments
 (0)