You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "Ostap (JIRA)" <ji...@apache.org> on 2014/05/05 13:58:16 UTC

[jira] [Updated] (OOZIE-1690) TestShellActionExecutor#testEnvVar failed for Windows

     [ https://issues.apache.org/jira/browse/OOZIE-1690?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ostap updated OOZIE-1690:
-------------------------

    Attachment: OOZIE-1690.patch

I attached the final patch version which resolved all fails in this test.

> 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, OOZIE-1690.patch, OOZIE-1690.patch, 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)