[
https://issues.apache.org/jira/browse/OOZIE-1690?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ostap updated OOZIE-1690:
-------------------------
Description:
There are two errors here:
1. The output size of shell job for windows
is more that default value.
{quote}
org.apache.oozie.action.hadoop.LauncherException: Output data size [3,946]
exceeds maximum [2,048]
{quote}
2. Oozie reads output from job in Properties file. But when that output
contains \u, Properties#load method throws " Malformed \uxxxx encoding".
because it tries to read unicode combination.
{quote}
C:\Users\jenkins\AppData\Local\Temp\2\1391088998824\MiniMRCluster_1473835877-localDir-nm-0_1\usercache\test\appcache\application_1391088999117_0001\container_1391088999117_0001_01_000002>dir
/s /b
C:\Users\jenkins\AppData\Local\Temp\2\1391088998824\MiniMRCluster_1473835877-localDir-nm-0_1\usercache\test\appcache\application_1391088999117_0001\container_1391088999117_0001_01_000002\.action.xml.crc
...
C:\Users\jenkins\AppData\Local\Temp\2\1391088998824\MiniMRCluster_1473835877-localDir-nm-0_1\usercache\test\appcache\application_1391088999117_0001\container_1391088999117_0001_01_000002\tmp
C:\Users\jenkins\AppData\Local\Temp\2\1391088998824\MiniMRCluster_1473835877-localDir-nm-0_1\usercache\test\appcache\application_1391088999117_0001\container_1391088999117_0001_01_000002>echo
var1=val1
var1=val1
C:\Users\jenkins\AppData\Local\Temp\2\1391088998824\MiniMRCluster_1473835877-localDir-nm-0_1\usercache\test\appcache\application_1391088999117_0001\container_1391088999117_0001_01_000002>echo
var2=a=b;c=d
var2=a=b;c=d
\\
{quote}
was:
There are two errors here:
1. The output size of shell job for windows
is more that default value.
{quote}
org.apache.oozie.action.hadoop.LauncherException: Output data size [3,946]
exceeds maximum [2,048]
{quote}
2. Oozie reads output from job in Properties file. But when that output
contains \u, Properties#load method throws " Malformed \uxxxx encoding".
because it tries to read unicode combination.
{quote}
C:\Users\jenkins\AppData\Local\Temp\2\1391088998824\MiniMRCluster_1473835877-localDir-nm-0_1\usercache\test\appcache\application_1391088999117_0001\container_1391088999117_0001_01_000002>dir
/s /b
C:\Users\jenkins\AppData\Local\Temp\2\1391088998824\MiniMRCluster_1473835877-localDir-nm-0_1\usercache\test\appcache\application_1391088999117_0001\container_1391088999117_0001_01_000002\.action.xml.crc
...
C:\Users\jenkins\AppData\Local\Temp\2\1391088998824\MiniMRCluster_1473835877-localDir-nm-0_1\usercache\test\appcache\application_1391088999117_0001\container_1391088999117_0001_01_000002\tmp
C:\Users\jenkins\AppData\Local\Temp\2\1391088998824\MiniMRCluster_1473835877-localDir-nm-0_1\usercache\test\appcache\application_1391088999117_0001\container_1391088999117_0001_01_000002>echo
var1=val1
var1=val1
C:\Users\jenkins\AppData\Local\Temp\2\1391088998824\MiniMRCluster_1473835877-localDir-nm-0_1\usercache\test\appcache\application_1391088999117_0001\container_1391088999117_0001_01_000002>echo
var2=a=b;c=d
var2=a=b;c=d
\\\\
{quote}
> TestShellActionExecutor#testEnvVar failed for Windows
> -----------------------------------------------------
>
> Key: OOZIE-1690
> URL: https://issues.apache.org/jira/browse/OOZIE-1690
> Project: Oozie
> Issue Type: Bug
> Affects Versions: trunk
> Reporter: Ostap
> Assignee: Ostap
> Fix For: trunk
>
> Attachments: OOZIE-1690.patch
>
>
> There are two errors here:
> 1. The output size of shell job for windows
> is more that default value.
> {quote}
> org.apache.oozie.action.hadoop.LauncherException: Output data size [3,946]
> exceeds maximum [2,048]
> {quote}
> 2. Oozie reads output from job in Properties file. But when that output
> contains \u, Properties#load method throws " Malformed \uxxxx encoding".
> because it tries to read unicode combination.
> {quote}
> C:\Users\jenkins\AppData\Local\Temp\2\1391088998824\MiniMRCluster_1473835877-localDir-nm-0_1\usercache\test\appcache\application_1391088999117_0001\container_1391088999117_0001_01_000002>dir
> /s /b
> C:\Users\jenkins\AppData\Local\Temp\2\1391088998824\MiniMRCluster_1473835877-localDir-nm-0_1\usercache\test\appcache\application_1391088999117_0001\container_1391088999117_0001_01_000002\.action.xml.crc
> ...
> C:\Users\jenkins\AppData\Local\Temp\2\1391088998824\MiniMRCluster_1473835877-localDir-nm-0_1\usercache\test\appcache\application_1391088999117_0001\container_1391088999117_0001_01_000002\tmp
> C:\Users\jenkins\AppData\Local\Temp\2\1391088998824\MiniMRCluster_1473835877-localDir-nm-0_1\usercache\test\appcache\application_1391088999117_0001\container_1391088999117_0001_01_000002>echo
> var1=val1
> var1=val1
> C:\Users\jenkins\AppData\Local\Temp\2\1391088998824\MiniMRCluster_1473835877-localDir-nm-0_1\usercache\test\appcache\application_1391088999117_0001\container_1391088999117_0001_01_000002>echo
> var2=a=b;c=d
> var2=a=b;c=d
> \\
> {quote}
--
This message was sent by Atlassian JIRA
(v6.2#6252)