def run_jar(jar_name, more_args=None, properties=None, hadoop_conf_dir=None,<EOL>keep_streams=True):
if hu.is_readable(jar_name):<EOL><INDENT>args = [jar_name]<EOL>if more_args is not None:<EOL><INDENT>args.extend(more_args)<EOL><DEDENT>return run_cmd(<EOL>"<STR_LIT>", args, properties, hadoop_conf_dir=hadoop_conf_dir,<EOL>keep_streams=keep_streams<EOL>)<EOL><DEDENT>else:<EOL><INDENT>raise ValueError("<STR_LIT>" % jar_name)<EOL><DEDENT>
Run a jar on Hadoop (``hadoop jar`` command).

All arguments are passed to :func:`run_cmd` (``args = [jar_name] +
more_args``) .