<?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 Oozie shell action environment and .impalarc in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Oozie-shell-action-environment-and-impalarc/m-p/32928#M8652</link>
    <description>&lt;P&gt;I have an Oozie shell action that calls impala-shell and has been working fine. &amp;nbsp;I wanted to set some defaults in ~/.impalarc which works fine from the shell but doesn't seem to get applied during workflow execution. &amp;nbsp;When I look at the environment variable values in the shell action log it says:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;. . .&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;USER=etl-user:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;. . .&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;HOME=/home/:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;. . .&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;USER looks right but I expect HOME to be either /home/$USER or /home/etl-user.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does this influence where impala-shell looks for .impalarc when running under an Oozie shell action?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was hoping to get this done by distributing my .impalarc to ~etl-user on all of the cluster nodes and not chenge the workflow definition but no joy.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The objective is to change the default --impalad=host:port argument to point at the Impala high availabilty proxy that we have set up.&lt;/P&gt;</description>
    <pubDate>Fri, 16 Sep 2022 09:43:53 GMT</pubDate>
    <dc:creator>nbest</dc:creator>
    <dc:date>2022-09-16T09:43:53Z</dc:date>
    <item>
      <title>Oozie shell action environment and .impalarc</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Oozie-shell-action-environment-and-impalarc/m-p/32928#M8652</link>
      <description>&lt;P&gt;I have an Oozie shell action that calls impala-shell and has been working fine. &amp;nbsp;I wanted to set some defaults in ~/.impalarc which works fine from the shell but doesn't seem to get applied during workflow execution. &amp;nbsp;When I look at the environment variable values in the shell action log it says:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;. . .&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;USER=etl-user:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;. . .&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;HOME=/home/:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;. . .&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;USER looks right but I expect HOME to be either /home/$USER or /home/etl-user.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does this influence where impala-shell looks for .impalarc when running under an Oozie shell action?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was hoping to get this done by distributing my .impalarc to ~etl-user on all of the cluster nodes and not chenge the workflow definition but no joy.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The objective is to change the default --impalad=host:port argument to point at the Impala high availabilty proxy that we have set up.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 09:43:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Oozie-shell-action-environment-and-impalarc/m-p/32928#M8652</guid>
      <dc:creator>nbest</dc:creator>
      <dc:date>2022-09-16T09:43:53Z</dc:date>
    </item>
    <item>
      <title>Re: Oozie shell action environment and .impalarc</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Oozie-shell-action-environment-and-impalarc/m-p/33284#M8653</link>
      <description>&lt;P&gt;Neil, You could scp the .impalarc to the /home directory on all nodemanager nodes and make sure this was readable by all. Thanks, Robert Justice&lt;/P&gt;</description>
      <pubDate>Thu, 22 Oct 2015 19:59:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Oozie-shell-action-environment-and-impalarc/m-p/33284#M8653</guid>
      <dc:creator>Robert Justice</dc:creator>
      <dc:date>2015-10-22T19:59:31Z</dc:date>
    </item>
  </channel>
</rss>

