<?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 job getting suspended in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/oozie-job-getting-suspended/m-p/307341#M223200</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After making changes&amp;nbsp; as&lt;/P&gt;&lt;PRE&gt;ssh-copy-id -i /home/oozie/.ssh/id_rsa.pub cloudera@example.local.com&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;getting permission issue in oozie workflow&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;oozi-W@ssh-34f1] Error starting action [ssh-34f1]. ErrorType [NON_TRANSIENT], ErrorCode [AUTH_FAILED], Message [AUTH_FAILED: Not able to perform operation [ssh -o PasswordAuthentication=no -o KbdInteractiveDevices=no -o StrictHostKeyChecking=no -o ConnectTimeout=20 &lt;A href="mailto:rcmprod@eu2azeeno02.corp.suth.com" target="_blank" rel="noopener"&gt;abc.com&lt;/A&gt;&amp;nbsp; mkdir -p oozie-oozi/0000000-201209133111712-oozie-oozi-W/ssh-34f1--ssh/ ] | ErrorStream: Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password,keyboard-interactive).&lt;/P&gt;</description>
    <pubDate>Thu, 10 Dec 2020 05:19:50 GMT</pubDate>
    <dc:creator>syedshakir</dc:creator>
    <dc:date>2020-12-10T05:19:50Z</dc:date>
    <item>
      <title>oozie job getting suspended</title>
      <link>https://community.cloudera.com/t5/Support-Questions/oozie-job-getting-suspended/m-p/307341#M223200</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After making changes&amp;nbsp; as&lt;/P&gt;&lt;PRE&gt;ssh-copy-id -i /home/oozie/.ssh/id_rsa.pub cloudera@example.local.com&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;getting permission issue in oozie workflow&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;oozi-W@ssh-34f1] Error starting action [ssh-34f1]. ErrorType [NON_TRANSIENT], ErrorCode [AUTH_FAILED], Message [AUTH_FAILED: Not able to perform operation [ssh -o PasswordAuthentication=no -o KbdInteractiveDevices=no -o StrictHostKeyChecking=no -o ConnectTimeout=20 &lt;A href="mailto:rcmprod@eu2azeeno02.corp.suth.com" target="_blank" rel="noopener"&gt;abc.com&lt;/A&gt;&amp;nbsp; mkdir -p oozie-oozi/0000000-201209133111712-oozie-oozi-W/ssh-34f1--ssh/ ] | ErrorStream: Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password,keyboard-interactive).&lt;/P&gt;</description>
      <pubDate>Thu, 10 Dec 2020 05:19:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/oozie-job-getting-suspended/m-p/307341#M223200</guid>
      <dc:creator>syedshakir</dc:creator>
      <dc:date>2020-12-10T05:19:50Z</dc:date>
    </item>
    <item>
      <title>Re: oozie job getting suspended</title>
      <link>https://community.cloudera.com/t5/Support-Questions/oozie-job-getting-suspended/m-p/308482#M223566</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/69915"&gt;@syedshakir&lt;/a&gt;&amp;nbsp;This is most probably ssh is not setup properly. You can try below steps.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="instruction"&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;On the Oozie Server host run the command:&lt;/P&gt;&lt;PRE&gt;ps -ef| grep oozie&lt;/PRE&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Identify the user that runs the Oozie server. For example,&amp;nbsp;the user is &lt;STRONG&gt;&lt;I&gt;oozie&lt;/I&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Modify &lt;SPAN&gt;/etc/passwd&lt;/SPAN&gt; file to edit the user &lt;STRONG&gt;&lt;I&gt;oozie&lt;/I&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;Change:&lt;PRE&gt;oozie:x:485:483:Oozie User:/var/lib/oozie:/bin/false&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;to:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;oozie:x:485:483:Oozie User:/var/lib/oozie:/bin/bash&lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;Note&lt;/STRONG&gt;: This will enable the user &lt;SPAN&gt;oozie&lt;/SPAN&gt; to login.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;In the&amp;nbsp;command prompt switch user as &lt;SPAN&gt;oozie&lt;/SPAN&gt;&lt;I&gt;&lt;STRONG&gt;:&lt;/STRONG&gt;&lt;/I&gt;&lt;/P&gt;&lt;PRE&gt;su - oozie&lt;/PRE&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Verify that the user is switched by executing the command:&lt;/P&gt;&lt;PRE&gt;id&lt;/PRE&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Execute&amp;nbsp;&lt;SPAN&gt;ssh-keygen:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;​&lt;STRONG&gt;Note&lt;/STRONG&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;Do not&amp;nbsp;give any password. This&amp;nbsp;generates Public and Private Key for passwordless authentication and saves it in the Oozie user's home directory.&lt;/P&gt;&lt;PRE&gt;ssh-keygen&lt;/PRE&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;Execute&lt;/SPAN&gt; &lt;SPAN&gt;ssh-copy-id&lt;/SPAN&gt; to copy the public key to user’s home directory in the remote host. This user will be the one that runs &lt;SPAN&gt;ssh&lt;/SPAN&gt; commands in remote host:&lt;/P&gt;&lt;PRE&gt;ssh-copy-id -i /home/oozie/.ssh/id_rsa.pub cloudera@example.local.com&lt;/PRE&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Test&amp;nbsp;by executing&amp;nbsp;&lt;SPAN&gt;ssh&lt;/SPAN&gt; without a password to confirm a&amp;nbsp;successful authentication:&lt;/P&gt;&lt;PRE&gt;ssh cloudera@example.local.com&lt;/PRE&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Run the Oozie workflow and verify success.&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 28 Dec 2020 13:13:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/oozie-job-getting-suspended/m-p/308482#M223566</guid>
      <dc:creator>GangWar</dc:creator>
      <dc:date>2020-12-28T13:13:41Z</dc:date>
    </item>
  </channel>
</rss>

