<?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>topic Re: SAS Pass through syntax for HADOOP syntax for SAS Buffer errors in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/SAS-Pass-through-syntax-for-HADOOP-syntax-for-SAS-Buffer-errors/m-p/954080#M372676</link>
    <description>This works for me. Giving each statement is the way to go. Thanks a ton yabwon !!!&lt;BR /&gt;&lt;BR /&gt;You Rock. I appreciate it.</description>
    <pubDate>Wed, 18 Dec 2024 19:54:56 GMT</pubDate>
    <dc:creator>buddha_d</dc:creator>
    <dc:date>2024-12-18T19:54:56Z</dc:date>
    <item>
      <title>SAS Pass through syntax for HADOOP syntax for SAS Buffer errors</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Pass-through-syntax-for-HADOOP-syntax-for-SAS-Buffer-errors/m-p/954064#M372665</link>
      <description>&lt;P&gt;I have the following code to fix the Buffer Errors in HADOOP sql:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;set tez.am.resource.memory.mb=12288;&lt;BR /&gt;set hive.tez.container.size=12288;&lt;BR /&gt;set tez.runtime.io.sort.mb=1638;&lt;BR /&gt;set hive.tez.java.opts=-Xmx8192M;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't know how to use it in SAS code in PROC SQL pass through query.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried different options like&amp;nbsp;&lt;BR /&gt;1.&lt;/P&gt;&lt;P&gt;PROC SQL;&lt;/P&gt;&lt;P&gt;connect to hadoop( );&lt;BR /&gt;create table WANT as select * from connection to hadoop&lt;BR /&gt;(&lt;/P&gt;&lt;P&gt;set tez.am.resource.memory.mb=12288;&lt;BR /&gt;set hive.tez.container.size=12288;&lt;BR /&gt;set tez.runtime.io.sort.mb=1638;&lt;BR /&gt;set hive.tez.java.opts=-Xmx8192M;&lt;/P&gt;&lt;P&gt;select *&amp;nbsp;&lt;/P&gt;&lt;P&gt;from datasetname&lt;BR /&gt;);&lt;/P&gt;&lt;P&gt;disconnect from hadoop;&lt;/P&gt;&lt;P&gt;quit;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2.&lt;/P&gt;&lt;P&gt;data _null_ ;&lt;/P&gt;&lt;P&gt;set tez.am.resource.memory.mb=12288;&lt;BR /&gt;set hive.tez.container.size=12288;&lt;BR /&gt;set tez.runtime.io.sort.mb=1638;&lt;BR /&gt;set hive.tez.java.opts=-Xmx8192M;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am getting this error:&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;ERROR: The libraries for both data sets of data set list (.tez-WORK.Xmx8192M) must be the same.&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;ERROR 211-185: Invalid data set name.&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;ERROR 22-322: Syntax error, expecting one of the following: a name, a quoted string, (, -, :, ;, CUROBS, END, INDSNAME, KEY, &lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;KEYRESET, KEYS, NOBS, OPEN, POINT, _DATA_, _LAST_, _NULL_.&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;ERROR 76-322: Syntax error, statement will be ignored.&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;ERROR 200-322: The symbol is not recognized and will be ignored.&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance!!!&lt;/P&gt;</description>
      <pubDate>Wed, 18 Dec 2024 18:17:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Pass-through-syntax-for-HADOOP-syntax-for-SAS-Buffer-errors/m-p/954064#M372665</guid>
      <dc:creator>buddha_d</dc:creator>
      <dc:date>2024-12-18T18:17:31Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Pass through syntax for HADOOP syntax for SAS Buffer errors</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Pass-through-syntax-for-HADOOP-syntax-for-SAS-Buffer-errors/m-p/954072#M372670</link>
      <description>&lt;P&gt;Did you tried execute?&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;PROC SQL;

connect to hadoop( );

execute
(
set tez.am.resource.memory.mb=12288;
set hive.tez.container.size=12288;
set tez.runtime.io.sort.mb=1638;
set hive.tez.java.opts=-Xmx8192M;
) by hadoop;

/* create table query goes here */

disconnect from hadoop;

quit; &lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Doc:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/sqlproc/n0tpd3yaqvep53n1g8wahav3hgco.htm" target="_blank"&gt;https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/sqlproc/n0tpd3yaqvep53n1g8wahav3hgco.htm&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Dec 2024 19:00:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Pass-through-syntax-for-HADOOP-syntax-for-SAS-Buffer-errors/m-p/954072#M372670</guid>
      <dc:creator>yabwon</dc:creator>
      <dc:date>2024-12-18T19:00:11Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Pass through syntax for HADOOP syntax for SAS Buffer errors</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Pass-through-syntax-for-HADOOP-syntax-for-SAS-Buffer-errors/m-p/954078#M372674</link>
      <description>&lt;P&gt;yabwon,&lt;BR /&gt;&lt;BR /&gt;It didn't work as you suggested. I am getting the following error when I try your code:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;ERROR: Prepare error: [Cloudera][HiveJDBCDriver](500051) ERROR processing query/statement. Error Code: 1, SQL state: Error while &lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;compiling statement: FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.tez.TezTask, Query: select&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Dec 2024 19:20:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Pass-through-syntax-for-HADOOP-syntax-for-SAS-Buffer-errors/m-p/954078#M372674</guid>
      <dc:creator>buddha_d</dc:creator>
      <dc:date>2024-12-18T19:20:11Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Pass through syntax for HADOOP syntax for SAS Buffer errors</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Pass-through-syntax-for-HADOOP-syntax-for-SAS-Buffer-errors/m-p/954079#M372675</link>
      <description>&lt;P&gt;1) Show us more of your log&lt;/P&gt;
&lt;P&gt;2) Try execute each set in separate statement, and without the semicolon inside, like:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;execute
(
set tez.am.resource.memory.mb=12288
) by hadoop;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Bart&lt;/P&gt;</description>
      <pubDate>Wed, 18 Dec 2024 19:38:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Pass-through-syntax-for-HADOOP-syntax-for-SAS-Buffer-errors/m-p/954079#M372675</guid>
      <dc:creator>yabwon</dc:creator>
      <dc:date>2024-12-18T19:38:14Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Pass through syntax for HADOOP syntax for SAS Buffer errors</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Pass-through-syntax-for-HADOOP-syntax-for-SAS-Buffer-errors/m-p/954080#M372676</link>
      <description>This works for me. Giving each statement is the way to go. Thanks a ton yabwon !!!&lt;BR /&gt;&lt;BR /&gt;You Rock. I appreciate it.</description>
      <pubDate>Wed, 18 Dec 2024 19:54:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Pass-through-syntax-for-HADOOP-syntax-for-SAS-Buffer-errors/m-p/954080#M372676</guid>
      <dc:creator>buddha_d</dc:creator>
      <dc:date>2024-12-18T19:54:56Z</dc:date>
    </item>
  </channel>
</rss>

