Skip to content

Commit

Permalink
EXP-466. Minor bugs in express.py's calculation of java options and d…
Browse files Browse the repository at this point in the history
  • Loading branch information
wibiclint committed Jul 23, 2014
1 parent 33d755d commit af22472
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kiji-express-tools/src/main/scripts/express.py
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ def _list_classpath_entries(self):
# TODO: include --libjars

if KIJI_CLASSPATH in self._env:
user_classpath = self._env[KIJI_CLASPATH].split(":")
user_classpath = self._env[KIJI_CLASSPATH].split(":")
yield from user_classpath

yield os.path.join(self.home_dir, "conf")
Expand Down Expand Up @@ -696,7 +696,7 @@ def job(self):
lib_path = self.env.get("JAVA_LIBRARY_PATH", "").split(":")
native_lib_path = self.hadoop_native_libs(self.env)
if len(native_lib_path) > 0:
lib_path.append(native_lib_path)
lib_path.extend(native_lib_path)
lib_path = list(filter(None, map(str.strip, lib_path)))
if len(lib_path) > 0:
java_opts.append("-Djava.library.path=%s" % ":".join(lib_path))
Expand Down

0 comments on commit af22472

Please sign in to comment.