<?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: Yarn ClassPath Value for Polybase Pushdown in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Yarn-ClassPath-Value-for-Polybase-Pushdown/m-p/130459#M31334</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/393/aervits.html" nodeid="393"&gt;@Artem Ervits&lt;/A&gt;  can you give me a hint as to what is wrong with my classpath?&lt;/P&gt;</description>
    <pubDate>Fri, 10 Jun 2016 09:45:01 GMT</pubDate>
    <dc:creator>Montrial</dc:creator>
    <dc:date>2016-06-10T09:45:01Z</dc:date>
    <item>
      <title>Yarn ClassPath Value for Polybase Pushdown</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Yarn-ClassPath-Value-for-Polybase-Pushdown/m-p/130458#M31333</link>
      <description>&lt;P&gt;I have Polybase setup and configured to work with my HDP Sandbox. I am able to Query my ORC table successfully but when I try to use Pushdown the query fails. I setup the Pushdown by copying the yarn.application.classpath from my yarn-site.xml in the path /etc/hadoop/conf on my HDP Sandbox to the yarn-site.xml file located in the path C:\Program Files\Microsoft SQL Server\MSSQL13.MSSQLSERVER\MSSQL\Binn\Polybase\Hadoop\conf. &lt;/P&gt;&lt;P&gt;&amp;lt;name&amp;gt;yarn.application.classpath&amp;lt;/name&amp;gt;
  &amp;lt;value&amp;gt;$HADOOP_CONF_DIR,/usr/hdp/current/hadoop-client/*,/usr/hdp/current/hadoop-client/lib/*,/usr/hdp/current/hadoop-hdfs-client/*,/usr/hdp/current/hadoop-hdfs-client/lib/*,/usr/hdp/current/hadoop-yarn-client/*,/usr/hdp/current/hadoop-yarn-client/lib/*&amp;lt;/value&amp;gt;
  &amp;lt;/property&amp;gt;&lt;/P&gt;&lt;P&gt;When I review the job log within Ambari I see the below error. Can anyone tell me what I am missing in my classpath?&lt;/P&gt;&lt;PRE&gt;Error: Could not find or load main class org.apache.hadoop.mapreduce.v2.app.MRAppMaster
&lt;/PRE&gt;</description>
      <pubDate>Thu, 09 Jun 2016 21:32:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Yarn-ClassPath-Value-for-Polybase-Pushdown/m-p/130458#M31333</guid>
      <dc:creator>Montrial</dc:creator>
      <dc:date>2016-06-09T21:32:37Z</dc:date>
    </item>
    <item>
      <title>Re: Yarn ClassPath Value for Polybase Pushdown</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Yarn-ClassPath-Value-for-Polybase-Pushdown/m-p/130459#M31334</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/393/aervits.html" nodeid="393"&gt;@Artem Ervits&lt;/A&gt;  can you give me a hint as to what is wrong with my classpath?&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jun 2016 09:45:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Yarn-ClassPath-Value-for-Polybase-Pushdown/m-p/130459#M31334</guid>
      <dc:creator>Montrial</dc:creator>
      <dc:date>2016-06-10T09:45:01Z</dc:date>
    </item>
    <item>
      <title>Re: Yarn ClassPath Value for Polybase Pushdown</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Yarn-ClassPath-Value-for-Polybase-Pushdown/m-p/130460#M31335</link>
      <description>&lt;P&gt;Go to ambari, click on download client configs, place mapred-site, core-site and hdfs-site into the same location as yarn-site.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jun 2016 10:45:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Yarn-ClassPath-Value-for-Polybase-Pushdown/m-p/130460#M31335</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-06-10T10:45:02Z</dc:date>
    </item>
    <item>
      <title>Re: Yarn ClassPath Value for Polybase Pushdown</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Yarn-ClassPath-Value-for-Polybase-Pushdown/m-p/130461#M31336</link>
      <description>&lt;P&gt;Make sure everything is setup properly:&lt;/P&gt;&lt;P&gt;&lt;A href="https://realizeddesign.blogspot.com/2015/09/setting-up-polybase-in-sql-server-2016.html" target="_blank"&gt;https://realizeddesign.blogspot.com/2015/09/setting-up-polybase-in-sql-server-2016.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Also engage Microsoft support if something appears to be SQL Server related.&lt;/P&gt;&lt;P&gt;&lt;A href="https://msdn.microsoft.com/en-us/library/mt163689.aspx" target="_blank"&gt;https://msdn.microsoft.com/en-us/library/mt163689.aspx&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jun 2016 22:37:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Yarn-ClassPath-Value-for-Polybase-Pushdown/m-p/130461#M31336</guid>
      <dc:creator>TimothySpann</dc:creator>
      <dc:date>2016-06-10T22:37:26Z</dc:date>
    </item>
    <item>
      <title>Re: Yarn ClassPath Value for Polybase Pushdown</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Yarn-ClassPath-Value-for-Polybase-Pushdown/m-p/130462#M31337</link>
      <description>&lt;P&gt;I am working on this suggestion.&lt;/P&gt;</description>
      <pubDate>Sat, 11 Jun 2016 00:21:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Yarn-ClassPath-Value-for-Polybase-Pushdown/m-p/130462#M31337</guid>
      <dc:creator>Montrial</dc:creator>
      <dc:date>2016-06-11T00:21:12Z</dc:date>
    </item>
    <item>
      <title>Re: Yarn ClassPath Value for Polybase Pushdown</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Yarn-ClassPath-Value-for-Polybase-Pushdown/m-p/130463#M31338</link>
      <description>&lt;P&gt;Tim - I do not see it as a setup issue because I am making it to the cluster and it is failing as it is trying to run the job on the cluster. Plus, I can run a query from the SQL Server 216 install on my ORC table successfully. The SQL 2016 instructions for setting up the pushdown is only to copy the classpath value so not a lot there as to How-To".&lt;/P&gt;</description>
      <pubDate>Sat, 11 Jun 2016 00:24:45 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Yarn-ClassPath-Value-for-Polybase-Pushdown/m-p/130463#M31338</guid>
      <dc:creator>Montrial</dc:creator>
      <dc:date>2016-06-11T00:24:45Z</dc:date>
    </item>
    <item>
      <title>Re: Yarn ClassPath Value for Polybase Pushdown</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Yarn-ClassPath-Value-for-Polybase-Pushdown/m-p/130464#M31339</link>
      <description>&lt;P&gt;Artem - after adding the files into the config folder in the Polybase Path I got the below error. I checked the mapred-site.xml file and the path it is unable to parse is in the mapreduce.application.framework.path. Should I go though the file and hardcode current in place of where I see ${hdp.version}?&lt;/P&gt;&lt;P&gt;Java exception raised on call to JobSubmitter_SubmitJob: Error [Unable to parse '/hdp/apps/${hdp.version}/mapreduce/mapreduce.tar.gz#mr-framework' as a URI, check the setting for mapreduce.application.framework.path] occurred while accessing external file.'&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;U&gt;&lt;/U&gt;&lt;SUB&gt;&lt;/SUB&gt;&lt;SUP&gt;&lt;/SUP&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 11 Jun 2016 00:45:27 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Yarn-ClassPath-Value-for-Polybase-Pushdown/m-p/130464#M31339</guid>
      <dc:creator>Montrial</dc:creator>
      <dc:date>2016-06-11T00:45:27Z</dc:date>
    </item>
    <item>
      <title>Re: Yarn ClassPath Value for Polybase Pushdown</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Yarn-ClassPath-Value-for-Polybase-Pushdown/m-p/130465#M31340</link>
      <description>&lt;P&gt;Ok - I got past the parse error by substituting the version number and the job was submitted to my sandbox and a different error showed up this time that is below.  &lt;/P&gt;&lt;P&gt;Application application_1465576751567_0001 failed 2 times due to AM Container for appattempt_1465576751567_0001_000002 exited with exitCode: 1
For more detailed output, check application tracking page:http://sandbox.hortonworks.com:8088/cluster/app/application_1465576751567_0001Then, click on links to logs of each attempt.
Diagnostics: Exception from container-launch.
Container id: container_e38_1465576751567_0001_02_000001
Exit code: 1
Exception message: /hadoop/yarn/local/usercache/pdw_user/appcache/application_1465576751567_0001/container_e38_1465576751567_0001_02_000001/launch_container.sh: line 11: %PWD%;$PWD/mr-framework/hadoop/share/hadoop/mapreduce/*:$PWD/mr-framework/hadoop/share/hadoop/mapreduce/lib/*:$PWD/mr-framework/hadoop/share/hadoop/common/*:$PWD/mr-framework/hadoop/share/hadoop/common/lib/*:$PWD/mr-framework/hadoop/share/hadoop/yarn/*:$PWD/mr-framework/hadoop/share/hadoop/yarn/lib/*:$PWD/mr-framework/hadoop/share/hadoop/hdfs/*:$PWD/mr-framework/hadoop/share/hadoop/hdfs/lib/*:$PWD/mr-framework/hadoop/share/hadoop/tools/lib/*:/usr/hdp/${hdp.version}/hadoop/lib/hadoop-lzo-0.6.0.${hdp.version}.jar:/etc/hadoop/conf/secure;job.jar/job.jar;job.jar/classes/;job.jar/lib/*;%PWD%/*: bad substitution&lt;/P&gt;</description>
      <pubDate>Sat, 11 Jun 2016 01:17:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Yarn-ClassPath-Value-for-Polybase-Pushdown/m-p/130465#M31340</guid>
      <dc:creator>Montrial</dc:creator>
      <dc:date>2016-06-11T01:17:51Z</dc:date>
    </item>
    <item>
      <title>Re: Yarn ClassPath Value for Polybase Pushdown</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Yarn-ClassPath-Value-for-Polybase-Pushdown/m-p/130466#M31341</link>
      <description>&lt;P&gt;It still says bad substitution, you check the /var/log/Hadoop, specifically yarn and mapreduce logs&lt;/P&gt;</description>
      <pubDate>Sat, 11 Jun 2016 06:54:14 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Yarn-ClassPath-Value-for-Polybase-Pushdown/m-p/130466#M31341</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-06-11T06:54:14Z</dc:date>
    </item>
    <item>
      <title>Re: Yarn ClassPath Value for Polybase Pushdown</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Yarn-ClassPath-Value-for-Polybase-Pushdown/m-p/130467#M31342</link>
      <description>&lt;P&gt;I got past the substitution error by adding the hdp version value to the map-site.xml file. I am now getting the below error. Any suggestions?&lt;/P&gt;&lt;P&gt;Container exited with a non-zero exit code 1
Failing this attempt. Failing the application.
2016-06-11 03:04:34,485 INFO  rmapp.RMAppImpl (RMAppImpl.java:handle(767)) - application_1465576751567_0007 State change from FINAL_SAVING to FAILED
2016-06-11 03:04:34,485 WARN  resourcemanager.RMAuditLogger (RMAuditLogger.java:logFailure(323)) - USER=pdw_user  OPERATION=Application Finished - Failed  TARGET=RMAppManager  RESULT=FAILURE  DESCRIPTION=App failed with state: FAILED  PERMISSIONS=Application application_1465576751567_0007 failed 2 times due to AM Container for appattempt_1465576751567_0007_000002 exited with  exitCode: 1
For more detailed output, check application tracking page:http://sandbox.hortonworks.com:8088/cluster/app/application_1465576751567_0007Then, click on links to logs of each attempt.
Diagnostics: Exception from container-launch.
Container id: container_e38_1465576751567_0007_02_000001
Exit code: 1
Exception message: /bin/bash: line 0: fg: no job control
Stack trace: ExitCodeException exitCode=1: /bin/bash: line 0: fg: no job control
  at org.apache.hadoop.util.Shell.runCommand(Shell.java:576)
  at org.apache.hadoop.util.Shell.run(Shell.java:487)
  at org.apache.hadoop.util.Shell$ShellCommandExecutor.execute(Shell.java:753)
  at org.apache.hadoop.yarn.server.nodemanager.DefaultContainerExecutor.launchContainer(DefaultContainerExecutor.java:212)
  at org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainerLaunch.call(ContainerLaunch.java:303)
  at org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainerLaunch.call(ContainerLaunch.java:82)
  at java.util.concurrent.FutureTask.run(FutureTask.java:262)
  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
  at java.lang.Thread.run(Thread.java:745)&lt;/P&gt;&lt;DIV&gt;
Container exited with a non-zero exit code 1
Failing this attempt. Failing the application.  APPID=application_1465576751567_0007&lt;/DIV&gt;&lt;P&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;U&gt;&lt;/U&gt;&lt;SUB&gt;&lt;/SUB&gt;&lt;SUP&gt;&lt;/SUP&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 11 Jun 2016 10:26:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Yarn-ClassPath-Value-for-Polybase-Pushdown/m-p/130467#M31342</guid>
      <dc:creator>Montrial</dc:creator>
      <dc:date>2016-06-11T10:26:33Z</dc:date>
    </item>
    <item>
      <title>Re: Yarn ClassPath Value for Polybase Pushdown</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Yarn-ClassPath-Value-for-Polybase-Pushdown/m-p/130468#M31343</link>
      <description>&lt;P&gt;Here is the Property I added.&lt;/P&gt;&lt;P&gt;&amp;lt;property&amp;gt;
  &amp;lt;name&amp;gt;hdp.version&amp;lt;/name&amp;gt;
  &amp;lt;value&amp;gt;2.4.0.0-169&amp;lt;/value&amp;gt;
  &amp;lt;/property&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;U&gt;&lt;/U&gt;&lt;SUB&gt;&lt;/SUB&gt;&lt;SUP&gt;&lt;/SUP&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 11 Jun 2016 10:30:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Yarn-ClassPath-Value-for-Polybase-Pushdown/m-p/130468#M31343</guid>
      <dc:creator>Montrial</dc:creator>
      <dc:date>2016-06-11T10:30:47Z</dc:date>
    </item>
    <item>
      <title>Re: Yarn ClassPath Value for Polybase Pushdown</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Yarn-ClassPath-Value-for-Polybase-Pushdown/m-p/130469#M31344</link>
      <description>&lt;P&gt;Got it!! I added the below property to the mapred-site.xml file and the query ran successfully.&lt;/P&gt;&lt;P&gt;&amp;lt;property&amp;gt;
  &amp;lt;name&amp;gt;mapreduce.app-submission.cross-platform&amp;lt;/name&amp;gt;
  &amp;lt;value&amp;gt;True&amp;lt;/value&amp;gt;
&amp;lt;/property&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;U&gt;&lt;/U&gt;&lt;SUB&gt;&lt;/SUB&gt;&lt;SUP&gt;&lt;/SUP&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 11 Jun 2016 11:19:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Yarn-ClassPath-Value-for-Polybase-Pushdown/m-p/130469#M31344</guid>
      <dc:creator>Montrial</dc:creator>
      <dc:date>2016-06-11T11:19:11Z</dc:date>
    </item>
    <item>
      <title>Re: Yarn ClassPath Value for Polybase Pushdown</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Yarn-ClassPath-Value-for-Polybase-Pushdown/m-p/130470#M31345</link>
      <description>&lt;P&gt;&lt;A href="https://community.hortonworks.com/questions/38806/yarn-classpath-value-for-polybase-pushdown.html#"&gt;@Timothy Spann&lt;/A&gt; I have the exact same issue. I need to modify the hdp.version and also add mapreduce to the yarn classpath. However as they are both in a different services, if I update one and restart the service, it overwrites the previously written one. How can I persist the configurations done on different services?&lt;/P&gt;,&lt;P&gt;I am having this exact issue. If you configure one service, say YARN, you have to restart. This overwrites the configuration changes you have done in mapred-site.xml. Isn't there a way to have all changes to all configs persist? Or is this a bug?&lt;/P&gt;</description>
      <pubDate>Sat, 17 Sep 2016 03:39:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Yarn-ClassPath-Value-for-Polybase-Pushdown/m-p/130470#M31345</guid>
      <dc:creator>emmanuel_awa</dc:creator>
      <dc:date>2016-09-17T03:39:13Z</dc:date>
    </item>
    <item>
      <title>Re: Yarn ClassPath Value for Polybase Pushdown</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Yarn-ClassPath-Value-for-Polybase-Pushdown/m-p/130471#M31346</link>
      <description>&lt;P&gt;I have added mapreduce.app-submission.cross-platform property but got the same error.&lt;/P&gt;&lt;P&gt;SQL Server 2017, HDP 2.2&lt;/P&gt;&lt;P&gt;Does anyone have other ideas?&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jan 2018 10:01:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Yarn-ClassPath-Value-for-Polybase-Pushdown/m-p/130471#M31346</guid>
      <dc:creator>Kovtun1994</dc:creator>
      <dc:date>2018-01-15T10:01:36Z</dc:date>
    </item>
  </channel>
</rss>

