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

2014-05-12 Thread Robert Kanter (JIRA)

[ 
https://issues.apache.org/jira/browse/OOZIE-1690?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13995869#comment-13995869
 ] 

Robert Kanter commented on OOZIE-1690:
--

+1

Thanks.  Committed to trunk!

> 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, 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 \u 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_02>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_02\.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_02\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_02>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_02>echo
>  var2=a=b;c=d 
> var2=a=b;c=d
> {quote}



--
This message was sent by Atlassian JIRA
(v6.2#6252)


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

2014-05-06 Thread Hadoop QA (JIRA)

[ 
https://issues.apache.org/jira/browse/OOZIE-1690?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13990426#comment-13990426
 ] 

Hadoop QA commented on OOZIE-1690:
--

Testing JIRA OOZIE-1690

Cleaning local git workspace



{color:green}+1 PATCH_APPLIES{color}
{color:green}+1 CLEAN{color}
{color:green}+1 RAW_PATCH_ANALYSIS{color}
.{color:green}+1{color} the patch does not introduce any @author tags
.{color:green}+1{color} the patch does not introduce any tabs
.{color:green}+1{color} the patch does not introduce any trailing spaces
.{color:green}+1{color} the patch does not introduce any line longer than 
132
.{color:green}+1{color} the patch does adds/modifies 1 testcase(s)
{color:green}+1 RAT{color}
.{color:green}+1{color} the patch does not seem to introduce new RAT 
warnings
{color:green}+1 JAVADOC{color}
.{color:green}+1{color} the patch does not seem to introduce new Javadoc 
warnings
{color:green}+1 COMPILE{color}
.{color:green}+1{color} HEAD compiles
.{color:green}+1{color} patch compiles
.{color:green}+1{color} the patch does not seem to introduce new javac 
warnings
{color:green}+1 BACKWARDS_COMPATIBILITY{color}
.{color:green}+1{color} the patch does not change any JPA 
Entity/Colum/Basic/Lob/Transient annotations
.{color:green}+1{color} the patch does not modify JPA files
{color:red}-1 TESTS{color}
.Tests run: 1439
.Tests failed: 3
.Tests errors: 5

.The patch failed the following testcases:

.  
testConcurrencyReachedAndChooseNextEligible(org.apache.oozie.service.TestCallableQueueService)
.  
testBundlePauseExtendMaterializesCoordinator(org.apache.oozie.command.bundle.TestBundleChangeXCommand)
.  
testCoordinatorActionCommandsSubmitAndStart(org.apache.oozie.sla.TestSLAEventGeneration)

{color:green}+1 DISTRO{color}
.{color:green}+1{color} distro tarball builds with the patch 


{color:red}*-1 Overall result, please check the reported -1(s)*{color}


The full output of the test-patch run is available at

.   https://builds.apache.org/job/oozie-trunk-precommit-build/1216/

> 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 \u 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_02>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_02\.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_02\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_02>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_02>echo
>  var2=a=b;c=d 
> var2=a=b;c=d
> {quote}



--
This message was sent by Atlassian JIRA
(v6.2#6252)


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

2014-04-28 Thread Hadoop QA (JIRA)

[ 
https://issues.apache.org/jira/browse/OOZIE-1690?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13983239#comment-13983239
 ] 

Hadoop QA commented on OOZIE-1690:
--

Testing JIRA OOZIE-1690

Cleaning local git workspace



{color:green}+1 PATCH_APPLIES{color}
{color:green}+1 CLEAN{color}
{color:green}+1 RAW_PATCH_ANALYSIS{color}
.{color:green}+1{color} the patch does not introduce any @author tags
.{color:green}+1{color} the patch does not introduce any tabs
.{color:green}+1{color} the patch does not introduce any trailing spaces
.{color:green}+1{color} the patch does not introduce any line longer than 
132
.{color:green}+1{color} the patch does adds/modifies 1 testcase(s)
{color:green}+1 RAT{color}
.{color:green}+1{color} the patch does not seem to introduce new RAT 
warnings
{color:green}+1 JAVADOC{color}
.{color:green}+1{color} the patch does not seem to introduce new Javadoc 
warnings
{color:green}+1 COMPILE{color}
.{color:green}+1{color} HEAD compiles
.{color:green}+1{color} patch compiles
.{color:green}+1{color} the patch does not seem to introduce new javac 
warnings
{color:green}+1 BACKWARDS_COMPATIBILITY{color}
.{color:green}+1{color} the patch does not change any JPA 
Entity/Colum/Basic/Lob/Transient annotations
.{color:green}+1{color} the patch does not modify JPA files
{color:red}-1 TESTS{color}
.Tests run: 1438
.Tests failed: 1
.Tests errors: 2

.The patch failed the following testcases:

.  
testCoordinatorActionCommandsSubmitAndStart(org.apache.oozie.sla.TestSLAEventGeneration)

{color:green}+1 DISTRO{color}
.{color:green}+1{color} distro tarball builds with the patch 


{color:red}*-1 Overall result, please check the reported -1(s)*{color}


The full output of the test-patch run is available at

.   https://builds.apache.org/job/oozie-trunk-precommit-build/1204/

> 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
>
>
> 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 \u 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_02>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_02\.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_02\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_02>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_02>echo
>  var2=a=b;c=d 
> var2=a=b;c=d
> {quote}



--
This message was sent by Atlassian JIRA
(v6.2#6252)


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

2014-04-24 Thread Hadoop QA (JIRA)

[ 
https://issues.apache.org/jira/browse/OOZIE-1690?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13980396#comment-13980396
 ] 

Hadoop QA commented on OOZIE-1690:
--

Testing JIRA OOZIE-1690

Cleaning local git workspace



{color:green}+1 PATCH_APPLIES{color}
{color:green}+1 CLEAN{color}
{color:red}-1 RAW_PATCH_ANALYSIS{color}
.{color:green}+1{color} the patch does not introduce any @author tags
.{color:green}+1{color} the patch does not introduce any tabs
.{color:green}+1{color} the patch does not introduce any trailing spaces
.{color:green}+1{color} the patch does not introduce any line longer than 
132
.{color:red}-1{color} the patch does not add/modify any testcase
{color:green}+1 RAT{color}
.{color:green}+1{color} the patch does not seem to introduce new RAT 
warnings
{color:green}+1 JAVADOC{color}
.{color:green}+1{color} the patch does not seem to introduce new Javadoc 
warnings
{color:green}+1 COMPILE{color}
.{color:green}+1{color} HEAD compiles
.{color:green}+1{color} patch compiles
.{color:green}+1{color} the patch does not seem to introduce new javac 
warnings
{color:green}+1 BACKWARDS_COMPATIBILITY{color}
.{color:green}+1{color} the patch does not change any JPA 
Entity/Colum/Basic/Lob/Transient annotations
.{color:green}+1{color} the patch does not modify JPA files
{color:red}-1 TESTS{color}
.Tests run: 1424
.Tests failed: 1
.Tests errors: 2

.The patch failed the following testcases:

.  
testCoordinatorActionCommandsSubmitAndStart(org.apache.oozie.sla.TestSLAEventGeneration)

{color:green}+1 DISTRO{color}
.{color:green}+1{color} distro tarball builds with the patch 


{color:red}*-1 Overall result, please check the reported -1(s)*{color}


The full output of the test-patch run is available at

.   https://builds.apache.org/job/oozie-trunk-precommit-build/1198/

> 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
>
>
> 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 \u 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_02>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_02\.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_02\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_02>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_02>echo
>  var2=a=b;c=d 
> var2=a=b;c=d
> {quote}



--
This message was sent by Atlassian JIRA
(v6.2#6252)


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

2014-04-24 Thread Ostap (JIRA)

[ 
https://issues.apache.org/jira/browse/OOZIE-1690?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13980163#comment-13980163
 ] 

Ostap commented on OOZIE-1690:
--

I commited the patch with your changes
Thanks for your advice

> 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
>
>
> 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 \u 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_02>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_02\.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_02\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_02>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_02>echo
>  var2=a=b;c=d 
> var2=a=b;c=d
> {quote}



--
This message was sent by Atlassian JIRA
(v6.2#6252)


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

2014-02-11 Thread Ostap (JIRA)

[ 
https://issues.apache.org/jira/browse/OOZIE-1690?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13898241#comment-13898241
 ] 

Ostap commented on OOZIE-1690:
--

Yes, you are right about Services will updated the patch.

The tests results are good with this change in ShellMain.

> 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 \u 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_02>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_02\.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_02\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_02>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_02>echo
>  var2=a=b;c=d 
> var2=a=b;c=d
> {quote}



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


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

2014-02-11 Thread Robert Kanter (JIRA)

[ 
https://issues.apache.org/jira/browse/OOZIE-1690?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13898191#comment-13898191
 ] 

Robert Kanter commented on OOZIE-1690:
--

The Services should already be running when {{testEnvVar}} is running because 
they get started in the {{setUp}} method of the parent class, 
{{ActionExecutorTestCase}}.  Starting the Services again can lead to 
hard-to-track-down flaky test failures.  (On that note, in the future, whenever 
you start Services in a test, you should use a try-finally block to make sure 
the Services are always shutdown).  If you need to increase the max data 
property for the test, you should shut down the Services first.  

In ShellMain, have you tested that this doesn't cause a problem for Linux/Mac?  
If so, we'll need to add a check for the OS.

> 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 \u 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_02>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_02\.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_02\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_02>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_02>echo
>  var2=a=b;c=d 
> var2=a=b;c=d
> {quote}



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


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

2014-02-10 Thread Ostap (JIRA)

[ 
https://issues.apache.org/jira/browse/OOZIE-1690?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13896797#comment-13896797
 ] 

Ostap commented on OOZIE-1690:
--

Test failure is unrelated to this patch.

> 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 \u 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_02>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_02\.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_02\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_02>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_02>echo
>  var2=a=b;c=d 
> var2=a=b;c=d
> {quote}



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


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

2014-02-06 Thread Ostap (JIRA)

[ 
https://issues.apache.org/jira/browse/OOZIE-1690?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13893611#comment-13893611
 ] 

Ostap commented on OOZIE-1690:
--

found this test failure in other tickets, it is flaky one

> 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 \u 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_02>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_02\.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_02\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_02>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_02>echo
>  var2=a=b;c=d 
> var2=a=b;c=d
> {quote}



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


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

2014-02-06 Thread Hadoop QA (JIRA)

[ 
https://issues.apache.org/jira/browse/OOZIE-1690?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13893603#comment-13893603
 ] 

Hadoop QA commented on OOZIE-1690:
--

Testing JIRA OOZIE-1690

Cleaning local git workspace



{color:green}+1 PATCH_APPLIES{color}
{color:green}+1 CLEAN{color}
{color:green}+1 RAW_PATCH_ANALYSIS{color}
.{color:green}+1{color} the patch does not introduce any @author tags
.{color:green}+1{color} the patch does not introduce any tabs
.{color:green}+1{color} the patch does not introduce any trailing spaces
.{color:green}+1{color} the patch does not introduce any line longer than 
132
.{color:green}+1{color} the patch does adds/modifies 1 testcase(s)
{color:green}+1 RAT{color}
.{color:green}+1{color} the patch does not seem to introduce new RAT 
warnings
{color:green}+1 JAVADOC{color}
.{color:green}+1{color} the patch does not seem to introduce new Javadoc 
warnings
{color:green}+1 COMPILE{color}
.{color:green}+1{color} HEAD compiles
.{color:green}+1{color} patch compiles
.{color:green}+1{color} the patch does not seem to introduce new javac 
warnings
{color:green}+1 BACKWARDS_COMPATIBILITY{color}
.{color:green}+1{color} the patch does not change any JPA 
Entity/Colum/Basic/Lob/Transient annotations
.{color:green}+1{color} the patch does not modify JPA files
{color:red}-1 TESTS{color}
.Tests run: 1388
.Tests failed: 1
.Tests errors: 1

.The patch failed the following testcases:

.  
testConcurrencyReachedAndChooseNextEligible(org.apache.oozie.service.TestCallableQueueService)

{color:green}+1 DISTRO{color}
.{color:green}+1{color} distro tarball builds with the patch 


{color:red}*-1 Overall result, please check the reported -1(s)*{color}


The full output of the test-patch run is available at

.   https://builds.apache.org/job/oozie-trunk-precommit-build/1045/

> 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 \u 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_02>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_02\.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_02\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_02>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_02>echo
>  var2=a=b;c=d 
> var2=a=b;c=d
> {quote}



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)