<?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: Oozie launching &amp;quot;jobs&amp;quot; with ASCII defaultCharSet..not UTF8? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Oozie-launching-quot-jobs-quot-with-ASCII-defaultCharSet-not/m-p/312724#M5204</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am able to replicate this in my cluster.. But I tested in CDH 6.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Shell output:-&lt;/P&gt;&lt;P&gt;[root@host-10-17-102-176 hive]# locale&lt;BR /&gt;LANG=en_US.UTF-8&lt;BR /&gt;LC_CTYPE=UTF-8&lt;BR /&gt;LC_NUMERIC="en_US.UTF-8"&lt;BR /&gt;LC_TIME="en_US.UTF-8"&lt;BR /&gt;LC_COLLATE="en_US.UTF-8"&lt;BR /&gt;LC_MONETARY="en_US.UTF-8"&lt;BR /&gt;LC_MESSAGES="en_US.UTF-8"&lt;BR /&gt;LC_PAPER="en_US.UTF-8"&lt;BR /&gt;LC_NAME="en_US.UTF-8"&lt;BR /&gt;LC_ADDRESS="en_US.UTF-8"&lt;BR /&gt;LC_TELEPHONE="en_US.UTF-8"&lt;/P&gt;&lt;P&gt;LC_MEASUREMENT="en_US.UTF-8"&lt;BR /&gt;LC_IDENTIFICATION="en_US.UTF-8"&lt;BR /&gt;LC_ALL=&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Oozie Launcher, capturing output data:&lt;BR /&gt;=======================&lt;BR /&gt;LANG=&lt;BR /&gt;LC_CTYPE="POSIX"&lt;BR /&gt;LC_NUMERIC="POSIX"&lt;BR /&gt;LC_TIME="POSIX"&lt;BR /&gt;LC_COLLATE="POSIX"&lt;BR /&gt;LC_MONETARY="POSIX"&lt;BR /&gt;LC_MESSAGES="POSIX"&lt;BR /&gt;LC_PAPER="POSIX"&lt;BR /&gt;LC_NAME="POSIX"&lt;BR /&gt;LC_ADDRESS="POSIX"&lt;BR /&gt;LC_TELEPHONE="POSIX"&lt;BR /&gt;LC_MEASUREMENT="POSIX"&lt;BR /&gt;LC_IDENTIFICATION="POSIX"&lt;BR /&gt;LC_ALL=&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To fix this kindly make the below configuration change.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Access the CM and navigate to the Yarn Configuration &amp;gt; Containers Environment Variable (yarn.nodemanager.admin-env) --&amp;gt; And append these properties "LC_ALL=en_US.UTF-8,LANG=en_US.UTF-8" to this config. Restart the affected services to make the changes permanent.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Post this kindly re run the oozie job and check the output. In my cluster it shows like this post making the change.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Oozie Launcher, capturing output data:&lt;BR /&gt;=======================&lt;BR /&gt;LANG=en_US.UTF-8&lt;BR /&gt;LC_CTYPE="en_US.UTF-8"&lt;BR /&gt;LC_NUMERIC="en_US.UTF-8"&lt;BR /&gt;LC_TIME="en_US.UTF-8"&lt;BR /&gt;LC_COLLATE="en_US.UTF-8"&lt;BR /&gt;LC_MONETARY="en_US.UTF-8"&lt;BR /&gt;LC_MESSAGES="en_US.UTF-8"&lt;BR /&gt;LC_PAPER="en_US.UTF-8"&lt;BR /&gt;LC_NAME="en_US.UTF-8"&lt;BR /&gt;LC_ADDRESS="en_US.UTF-8"&lt;BR /&gt;LC_TELEPHONE="en_US.UTF-8"&lt;BR /&gt;LC_MEASUREMENT="en_US.UTF-8"&lt;BR /&gt;LC_IDENTIFICATION="en_US.UTF-8"&lt;BR /&gt;LC_ALL=en_US.UTF-8&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Nitish&lt;/P&gt;</description>
    <pubDate>Wed, 10 Mar 2021 06:47:07 GMT</pubDate>
    <dc:creator>Khanna</dc:creator>
    <dc:date>2021-03-10T06:47:07Z</dc:date>
    <item>
      <title>Oozie launching "jobs" with ASCII defaultCharSet..not UTF8?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Oozie-launching-quot-jobs-quot-with-ASCII-defaultCharSet-not/m-p/25326#M5201</link>
      <description>&lt;PRE&gt;We are running Oozie 4.0.0 (via CDH 5.3.2 with YARN), and we have a weird
thing going on.  When we run workflows, they appear to be changing the
default Character set..and not sure why.  When we run a simple Java App,
with the line below:
System.out.println(Charset.defaultCharset());
&amp;gt;From our test code, we did the simple above command, and we get:
2015-03-05 19:01:05,623 INFO [main] com.test.encoding.Test: US-ASCII
Just running a shell script with "locale" as the only thing also returns
the POSIX:

Oozie Launcher, capturing output data&amp;amp;colon;
  =======================
  LANG=
  LC_CTYPE="POSIX"
  LC_NUMERIC="POSIX"
  LC_TIME="POSIX"
  LC_COLLATE="POSIX"
  LC_MONETARY="POSIX"
  LC_MESSAGES="POSIX"
  LC_PAPER="POSIX"
  LC_NAME="POSIX"
  LC_ADDRESS="POSIX"
  LC_TELEPHONE="POSIX"
  LC_MEASUREMENT="POSIX"
  LC_IDENTIFICATION="POSIX"
  LC_ALL=

even though all when running locale in a bash shell...the nodes have the
UTF-8:

LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=


But...when we look at the various settings on the box (JVM, locale,
etc)...they all point to UTF-8.  In the ooze-env.sh we set:  setting
LC_ALL=en_US.UTF-8  setting LANG=en_US.UTF-8  setting LANGUAGE=en_US.UTF-8
just to make sure things get setup...but no success. Basically, we can't
figure out how to have Oozie do UTF-8, and not ASCII/POSIX.  We are backed
by a MySQL DB, with the default char set to UTF-8 as well.

Any thoughts/suggestion, places to read/look?
Thanks in advance!
Cheers,
Aaron&lt;/PRE&gt;</description>
      <pubDate>Fri, 16 Sep 2022 09:23:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Oozie-launching-quot-jobs-quot-with-ASCII-defaultCharSet-not/m-p/25326#M5201</guid>
      <dc:creator>aarong</dc:creator>
      <dc:date>2022-09-16T09:23:26Z</dc:date>
    </item>
    <item>
      <title>Re: Oozie launching "jobs" with ASCII defaultCharSet..not UTF8?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Oozie-launching-quot-jobs-quot-with-ASCII-defaultCharSet-not/m-p/312494#M5202</link>
      <description>&lt;P&gt;have you found a solution to this?&lt;/P&gt;</description>
      <pubDate>Fri, 05 Mar 2021 22:44:30 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Oozie-launching-quot-jobs-quot-with-ASCII-defaultCharSet-not/m-p/312494#M5202</guid>
      <dc:creator>nathann</dc:creator>
      <dc:date>2021-03-05T22:44:30Z</dc:date>
    </item>
    <item>
      <title>Re: Oozie launching "jobs" with ASCII defaultCharSet..not UTF8?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Oozie-launching-quot-jobs-quot-with-ASCII-defaultCharSet-not/m-p/312720#M5203</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What's the CDH version you are using currently on which you are seeing this issue?&lt;/P&gt;&lt;P&gt;Can you share the workflow.xml and the script that you are running?&lt;/P&gt;&lt;P&gt;Also kindly share the oozie launcher logs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Nitish&lt;/P&gt;</description>
      <pubDate>Wed, 10 Mar 2021 06:19:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Oozie-launching-quot-jobs-quot-with-ASCII-defaultCharSet-not/m-p/312720#M5203</guid>
      <dc:creator>Khanna</dc:creator>
      <dc:date>2021-03-10T06:19:48Z</dc:date>
    </item>
    <item>
      <title>Re: Oozie launching "jobs" with ASCII defaultCharSet..not UTF8?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Oozie-launching-quot-jobs-quot-with-ASCII-defaultCharSet-not/m-p/312724#M5204</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am able to replicate this in my cluster.. But I tested in CDH 6.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Shell output:-&lt;/P&gt;&lt;P&gt;[root@host-10-17-102-176 hive]# locale&lt;BR /&gt;LANG=en_US.UTF-8&lt;BR /&gt;LC_CTYPE=UTF-8&lt;BR /&gt;LC_NUMERIC="en_US.UTF-8"&lt;BR /&gt;LC_TIME="en_US.UTF-8"&lt;BR /&gt;LC_COLLATE="en_US.UTF-8"&lt;BR /&gt;LC_MONETARY="en_US.UTF-8"&lt;BR /&gt;LC_MESSAGES="en_US.UTF-8"&lt;BR /&gt;LC_PAPER="en_US.UTF-8"&lt;BR /&gt;LC_NAME="en_US.UTF-8"&lt;BR /&gt;LC_ADDRESS="en_US.UTF-8"&lt;BR /&gt;LC_TELEPHONE="en_US.UTF-8"&lt;/P&gt;&lt;P&gt;LC_MEASUREMENT="en_US.UTF-8"&lt;BR /&gt;LC_IDENTIFICATION="en_US.UTF-8"&lt;BR /&gt;LC_ALL=&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Oozie Launcher, capturing output data:&lt;BR /&gt;=======================&lt;BR /&gt;LANG=&lt;BR /&gt;LC_CTYPE="POSIX"&lt;BR /&gt;LC_NUMERIC="POSIX"&lt;BR /&gt;LC_TIME="POSIX"&lt;BR /&gt;LC_COLLATE="POSIX"&lt;BR /&gt;LC_MONETARY="POSIX"&lt;BR /&gt;LC_MESSAGES="POSIX"&lt;BR /&gt;LC_PAPER="POSIX"&lt;BR /&gt;LC_NAME="POSIX"&lt;BR /&gt;LC_ADDRESS="POSIX"&lt;BR /&gt;LC_TELEPHONE="POSIX"&lt;BR /&gt;LC_MEASUREMENT="POSIX"&lt;BR /&gt;LC_IDENTIFICATION="POSIX"&lt;BR /&gt;LC_ALL=&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To fix this kindly make the below configuration change.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Access the CM and navigate to the Yarn Configuration &amp;gt; Containers Environment Variable (yarn.nodemanager.admin-env) --&amp;gt; And append these properties "LC_ALL=en_US.UTF-8,LANG=en_US.UTF-8" to this config. Restart the affected services to make the changes permanent.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Post this kindly re run the oozie job and check the output. In my cluster it shows like this post making the change.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Oozie Launcher, capturing output data:&lt;BR /&gt;=======================&lt;BR /&gt;LANG=en_US.UTF-8&lt;BR /&gt;LC_CTYPE="en_US.UTF-8"&lt;BR /&gt;LC_NUMERIC="en_US.UTF-8"&lt;BR /&gt;LC_TIME="en_US.UTF-8"&lt;BR /&gt;LC_COLLATE="en_US.UTF-8"&lt;BR /&gt;LC_MONETARY="en_US.UTF-8"&lt;BR /&gt;LC_MESSAGES="en_US.UTF-8"&lt;BR /&gt;LC_PAPER="en_US.UTF-8"&lt;BR /&gt;LC_NAME="en_US.UTF-8"&lt;BR /&gt;LC_ADDRESS="en_US.UTF-8"&lt;BR /&gt;LC_TELEPHONE="en_US.UTF-8"&lt;BR /&gt;LC_MEASUREMENT="en_US.UTF-8"&lt;BR /&gt;LC_IDENTIFICATION="en_US.UTF-8"&lt;BR /&gt;LC_ALL=en_US.UTF-8&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Nitish&lt;/P&gt;</description>
      <pubDate>Wed, 10 Mar 2021 06:47:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Oozie-launching-quot-jobs-quot-with-ASCII-defaultCharSet-not/m-p/312724#M5204</guid>
      <dc:creator>Khanna</dc:creator>
      <dc:date>2021-03-10T06:47:07Z</dc:date>
    </item>
    <item>
      <title>Re: Oozie launching "jobs" with ASCII defaultCharSet..not UTF8?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Oozie-launching-quot-jobs-quot-with-ASCII-defaultCharSet-not/m-p/312812#M5205</link>
      <description>&lt;P&gt;issue resolved with your solution, thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CDH 6.3.3&lt;/P&gt;</description>
      <pubDate>Wed, 10 Mar 2021 22:45:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Oozie-launching-quot-jobs-quot-with-ASCII-defaultCharSet-not/m-p/312812#M5205</guid>
      <dc:creator>nathann</dc:creator>
      <dc:date>2021-03-10T22:45:06Z</dc:date>
    </item>
  </channel>
</rss>

