Github user HeartSaVioR commented on a diff in the pull request:
https://github.com/apache/storm/pull/2566#discussion_r170357327
--- Diff: storm-client/src/jvm/org/apache/storm/utils/Utils.java ---
@@ -1505,35 +1508,36 @@ public static StormTopology
addVersions(StormTopology topology) {
Map<String, Object> defaultsConf = null;
Map<String, Object> stormConf = null;
for (String part: cp) {
- File f = new File(part);
- if (f.isDirectory()) {
- if (defaultsConf == null) {
- defaultsConf = readConfIgnoreNotFound(yaml, new
File(f, "defaults.yaml"));
- }
-
- if (stormConf == null) {
- stormConf = readConfIgnoreNotFound(yaml, new File(f,
"storm.yaml"));
+ String wildcardSuffix = File.separator + "*";
--- End diff --
According to my understanding of Oracle Java classpath doc, it should only
expand when file name is '*' rather than like 'abc*'. If 'abc*' is given in
file name, it should not expand to abcde.jar or so.
https://docs.oracle.com/javase/8/docs/technotes/tools/unix/classpath.html
---