<?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 find conf  ${hiveconf:} value or conf file for hive tables? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-to-find-conf-hiveconf-value-or-conf-file-for-hive-tables/m-p/202977#M65878</link>
    <description>&lt;P&gt;hi &lt;A rel="user" href="https://community.cloudera.com/users/10953/grao9704.html" nodeid="10953"&gt;@rama&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Typically, the variable would be defined somewhere earlier in the script that contains the query, or in the CLI,  with a SET statement.  Something like: SET TB_MASTER=table_name;&lt;/P&gt;&lt;P&gt;If you don't see where it was defined, then you would most likely be guessing from the total databases and tables within your system.  If the system is very small, that might be feasible.  You can use the "show databases" command to list the databases.  If you see one that makes sense, you can issue a "use &amp;lt;database_name&amp;gt;" command and then issue a "show tables" to view the list of table names that exist within that Hive database.&lt;/P&gt;&lt;P&gt;Here are some links on Hive variables and how they work.&lt;/P&gt;&lt;P&gt;&lt;A href="https://cwiki.apache.org/confluence/display/Hive/LanguageManual+VariableSubstitution#LanguageManualVariableSubstitution-UsingVariables" target="_blank"&gt;https://cwiki.apache.org/confluence/display/Hive/LanguageManual+VariableSubstitution#LanguageManualVariableSubstitution-UsingVariables&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hortonworks.com/articles/60309/working-with-variables-in-hive-hive-shell-and-beel.html" target="_blank"&gt;https://community.hortonworks.com/articles/60309/working-with-variables-in-hive-hive-shell-and-beel.html&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 01 Aug 2017 22:38:48 GMT</pubDate>
    <dc:creator>ssahi</dc:creator>
    <dc:date>2017-08-01T22:38:48Z</dc:date>
    <item>
      <title>how to find conf  ${hiveconf:} value or conf file for hive tables?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-to-find-conf-hiveconf-value-or-conf-file-for-hive-tables/m-p/202976#M65877</link>
      <description>&lt;P&gt;Hi team i have hql query for data insertion INSERT OVERWRITE TABLE ${hiveconf:TB_MASTER} .&lt;/P&gt;&lt;P&gt;i am aware hiveconf:TB_MASTER is variable but  i am not aware  where i can get variable value for TB_MASTER, can you help me to possibilities to find value?&lt;/P&gt;</description>
      <pubDate>Tue, 01 Aug 2017 20:53:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-to-find-conf-hiveconf-value-or-conf-file-for-hive-tables/m-p/202976#M65877</guid>
      <dc:creator>g_rao9704</dc:creator>
      <dc:date>2017-08-01T20:53:07Z</dc:date>
    </item>
    <item>
      <title>Re: how to find conf  ${hiveconf:} value or conf file for hive tables?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-to-find-conf-hiveconf-value-or-conf-file-for-hive-tables/m-p/202977#M65878</link>
      <description>&lt;P&gt;hi &lt;A rel="user" href="https://community.cloudera.com/users/10953/grao9704.html" nodeid="10953"&gt;@rama&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Typically, the variable would be defined somewhere earlier in the script that contains the query, or in the CLI,  with a SET statement.  Something like: SET TB_MASTER=table_name;&lt;/P&gt;&lt;P&gt;If you don't see where it was defined, then you would most likely be guessing from the total databases and tables within your system.  If the system is very small, that might be feasible.  You can use the "show databases" command to list the databases.  If you see one that makes sense, you can issue a "use &amp;lt;database_name&amp;gt;" command and then issue a "show tables" to view the list of table names that exist within that Hive database.&lt;/P&gt;&lt;P&gt;Here are some links on Hive variables and how they work.&lt;/P&gt;&lt;P&gt;&lt;A href="https://cwiki.apache.org/confluence/display/Hive/LanguageManual+VariableSubstitution#LanguageManualVariableSubstitution-UsingVariables" target="_blank"&gt;https://cwiki.apache.org/confluence/display/Hive/LanguageManual+VariableSubstitution#LanguageManualVariableSubstitution-UsingVariables&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hortonworks.com/articles/60309/working-with-variables-in-hive-hive-shell-and-beel.html" target="_blank"&gt;https://community.hortonworks.com/articles/60309/working-with-variables-in-hive-hive-shell-and-beel.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Aug 2017 22:38:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-to-find-conf-hiveconf-value-or-conf-file-for-hive-tables/m-p/202977#M65878</guid>
      <dc:creator>ssahi</dc:creator>
      <dc:date>2017-08-01T22:38:48Z</dc:date>
    </item>
  </channel>
</rss>

