Skip to content
Closed
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
2 changes: 1 addition & 1 deletion src/main/python/pre_setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@
os.mkdir(java_dir_full_path)
root_dir = os.path.dirname(os.path.dirname(os.path.dirname(os.getcwd())))
for file in os.listdir(os.path.join(root_dir, 'target')):
if fnmatch.fnmatch(file, 'systemml-*-incubating-SNAPSHOT.jar'):
if fnmatch.fnmatch(file, 'systemml-*-incubating-SNAPSHOT.jar') or fnmatch.fnmatch(file, 'systemml-*-incubating.jar'):
shutil.copyfile(os.path.join(root_dir, 'target', file),
os.path.join(java_dir_full_path, file))
2 changes: 1 addition & 1 deletion src/main/python/systemml/classloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def createJavaObject(sc, obj_type):
jar_file_name = '_ignore.jar'
java_dir = os.path.join(imp.find_module("systemml")[1], "systemml-java")
for file in os.listdir(java_dir):
if fnmatch.fnmatch(file, 'systemml-*-incubating-SNAPSHOT.jar'):
if fnmatch.fnmatch(file, 'systemml-*-incubating-SNAPSHOT.jar') or fnmatch.fnmatch(file, 'systemml-*-incubating.jar'):
jar_file_name = os.path.join(java_dir, file)
err_msg = 'Unable to load SystemML.jar into current pyspark session.'
hint = 'Provide the following argument to pyspark: --driver-class-path '
Expand Down