<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: how to run a yarn jar in sandbox. in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/how-to-run-a-yarn-jar-in-sandbox/m-p/221479#M183353</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/98502/aggarwalshivam1107.html" nodeid="98502"&gt;@Shivam Aggarwal&lt;/A&gt;&lt;/P&gt;&lt;P&gt;As you are getting the message like "&lt;STRONG&gt;Not a valid jar&lt;/STRONG&gt;" which mostly indicates a corrupted JAR issue.&lt;/P&gt;&lt;P&gt;The easiest way to verify if the JAR is corrupted or not is to run the following command to see if "jar" command is able to list it's content or not?&lt;/P&gt;&lt;PRE&gt;# $JAVA_HOME/bin/jar  -tvf   /path/to/your_jar.jar&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;If you see the same message while running the above jar command as well then it means your JAR is corrupt and you should get a correct JAR.  &lt;/P&gt;&lt;P&gt;The other option is to compare the "md5sum" of the JAR in working and non working environment (to verify if these jars are bit by bit same or not)?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Example:&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;# md5sum  /path/to/your_jar.jar&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;</description>
    <pubDate>Fri, 19 Oct 2018 12:11:31 GMT</pubDate>
    <dc:creator>jsensharma</dc:creator>
    <dc:date>2018-10-19T12:11:31Z</dc:date>
  </channel>
</rss>

