[jira] Subscription: Oozie Patch Available

2019-06-19 Thread jira
Issue Subscription
Filter: Oozie Patch Available (95 issues)

Subscriber: ooziedaily

Key Summary
OOZIE-3516  Misleading warning: java.lang.IllegalArgumentException: Does not 
contain a valid host:port authority: yarnRM
https://issues.apache.org/jira/browse/OOZIE-3516
OOZIE-3513  Migrate from Preconditions.checkNotNull and ParamChecker.notNull
https://issues.apache.org/jira/browse/OOZIE-3513
OOZIE-3506  Flaky test TestOozieRollingPolicy
https://issues.apache.org/jira/browse/OOZIE-3506
OOZIE-3486  duplicate code in ControlNodeHandler
https://issues.apache.org/jira/browse/OOZIE-3486
OOZIE-3482  Fix bug in CoordSubmitXCommand#validateCoordinatorJob
https://issues.apache.org/jira/browse/OOZIE-3482
OOZIE-3480  Add windowactionstatus metrics in DBLiteWorkflowStoreService
https://issues.apache.org/jira/browse/OOZIE-3480
OOZIE-3476  Migrate several classes to JUnit4
https://issues.apache.org/jira/browse/OOZIE-3476
OOZIE-3468  Use modernizer plugin
https://issues.apache.org/jira/browse/OOZIE-3468
OOZIE-3461  CoordMaterializeTriggerService code cleanup
https://issues.apache.org/jira/browse/OOZIE-3461
OOZIE-3449  Make spark-2 as the default profile
https://issues.apache.org/jira/browse/OOZIE-3449
OOZIE-3447  Run test case in local : It shows oozie-hsqldb-orm.xml exception
https://issues.apache.org/jira/browse/OOZIE-3447
OOZIE-3418  Upgrade to Guava 27
https://issues.apache.org/jira/browse/OOZIE-3418
OOZIE-3404  The env variable of SPARK_HOME needs to be set when running pySpark
https://issues.apache.org/jira/browse/OOZIE-3404
OOZIE-3375  Can't use empty  in coordinator
https://issues.apache.org/jira/browse/OOZIE-3375
OOZIE-3367  Using && in EL expressions in oozie bundle.xml files generates 
parse errors
https://issues.apache.org/jira/browse/OOZIE-3367
OOZIE-3366  Update workflow status and subworkflow status on suspend command
https://issues.apache.org/jira/browse/OOZIE-3366
OOZIE-3364  Rerunning Oozie bundle jobs starts the coordinators in 
indeterminate order
https://issues.apache.org/jira/browse/OOZIE-3364
OOZIE-3362  When killed, SSH action should kill the spawned processes on target 
host
https://issues.apache.org/jira/browse/OOZIE-3362
OOZIE-3335  Cleanup parseFilter methods
https://issues.apache.org/jira/browse/OOZIE-3335
OOZIE-3328  Create Hive compatibility action executor to run hive actions using 
beeline
https://issues.apache.org/jira/browse/OOZIE-3328
OOZIE-3320  Oozie ShellAction should support absolute bash file path
https://issues.apache.org/jira/browse/OOZIE-3320
OOZIE-3319  Log SSH action callback error output
https://issues.apache.org/jira/browse/OOZIE-3319
OOZIE-3301  Update NOTICE file
https://issues.apache.org/jira/browse/OOZIE-3301
OOZIE-3274  Remove slf4j
https://issues.apache.org/jira/browse/OOZIE-3274
OOZIE-3266  Coord action rerun support RERUN_SKIP_NODES option
https://issues.apache.org/jira/browse/OOZIE-3266
OOZIE-3265  properties RERUN_FAIL_NODES and RERUN_SKIP_NODES should be able to 
appear together
https://issues.apache.org/jira/browse/OOZIE-3265
OOZIE-3256  refactor OozieCLI class
https://issues.apache.org/jira/browse/OOZIE-3256
OOZIE-3199  Let system property restriction configurable
https://issues.apache.org/jira/browse/OOZIE-3199
OOZIE-3196  Authorization: restrict world readability by user
https://issues.apache.org/jira/browse/OOZIE-3196
OOZIE-3179  Adding a configurable config-default.xml location to a workflow
https://issues.apache.org/jira/browse/OOZIE-3179
OOZIE-3170  Oozie Diagnostic Bundle tool fails with NPE due to missing service 
class
https://issues.apache.org/jira/browse/OOZIE-3170
OOZIE-3137  Add support for log4j2 in HiveMain
https://issues.apache.org/jira/browse/OOZIE-3137
OOZIE-3135  Configure log4j2 in SqoopMain
https://issues.apache.org/jira/browse/OOZIE-3135
OOZIE-3091  Oozie Sqoop Avro Import fails with "java.lang.NoClassDefFoundError: 
org/apache/avro/mapred/AvroWrapper"
https://issues.apache.org/jira/browse/OOZIE-3091
OOZIE-3071  Oozie 4.3 Spark sharelib ueses a different version of commons-lang3 
than Spark 2.2.0
https://issues.apache.org/jira/browse/OOZIE-3071
OOZIE-3063  Sanitizing variables that are part of openjpa.ConnectionProperties
https://issues.apache.org/jira/browse/OOZIE-3063
OOZIE-3062  Set HADOOP_CONF_DIR for spark action
https://issues.apache.org/jira/browse/OOZIE-3062
OOZIE-2952  Fix Findbugs warnings in oozie-sharelib-oozie
https://issues.apache.org/jira/browse/OOZIE-2952
OOZIE-2907  Delete PrepareActionsDriver from oozie-sharelib
https://issues.apache.org/jira/browse/OOZIE-

[jira] [Commented] (OOZIE-3516) Misleading warning: java.lang.IllegalArgumentException: Does not contain a valid host:port authority: yarnRM

2019-06-19 Thread Andras Salamon (JIRA)


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

Andras Salamon commented on OOZIE-3516:
---

[~kmarton] Are you sure that {{LOG.trace(iae);}} works correctly if you only 
specify the exception without an error message? Can you please test it. (Or 
just add please an error message if that's simpler).

> Misleading warning: java.lang.IllegalArgumentException: Does not contain a 
> valid host:port authority: yarnRM
> 
>
> Key: OOZIE-3516
> URL: https://issues.apache.org/jira/browse/OOZIE-3516
> Project: Oozie
>  Issue Type: Bug
>Affects Versions: 5.0.0
>Reporter: Julia Kinga Marton
>Assignee: Julia Kinga Marton
>Priority: Major
> Attachments: OOZIE-3516-001.patch
>
>
> Starting from 5.0.0 there is a misleading warning message in the Oozie logs:
> {code}
> 2019-06-17 05:30:19,335 WARN 
> org.apache.oozie.action.hadoop.HadoopTokenHelper: 
> SERVER[nightly6x-1.vpc.cloudera.com] USER[admin] GROUP[-] TOKEN[] APP[Batch 
> job for PySpark Pi Estimator Job] JOB[001-190617003335655-oozie-oozi-W] 
> ACTION[001-190617003335655-oozie-oozi-W@spark2-3833] An error happened 
> while trying to get server principal. Getting it from service principal 
> anyway.
> java.lang.IllegalArgumentException: Does not contain a valid host:port 
> authority: yarnRM
>   at org.apache.hadoop.net.NetUtils.createSocketAddr(NetUtils.java:213)
>   at org.apache.hadoop.net.NetUtils.createSocketAddr(NetUtils.java:164)
>   at org.apache.hadoop.net.NetUtils.createSocketAddr(NetUtils.java:153)
>   at 
> org.apache.oozie.action.hadoop.HadoopTokenHelper.getServerPrincipal(HadoopTokenHelper.java:73)
>   at 
> org.apache.oozie.action.hadoop.HadoopTokenHelper.getServerPrincipal(HadoopTokenHelper.java:51)
>   at 
> org.apache.oozie.action.hadoop.YarnRMCredentials.updateCredentials(YarnRMCredentials.java:55)
>   at 
> org.apache.oozie.action.hadoop.JavaActionExecutor.setCredentialTokens(JavaActionExecutor.java:1503)
>   at 
> org.apache.oozie.action.hadoop.JavaActionExecutor.submitLauncher(JavaActionExecutor.java:1053)
>   at 
> org.apache.oozie.action.hadoop.JavaActionExecutor.start(JavaActionExecutor.java:1601)
>   at 
> org.apache.oozie.command.wf.ActionStartXCommand.execute(ActionStartXCommand.java:243)
>   at 
> org.apache.oozie.command.wf.ActionStartXCommand.execute(ActionStartXCommand.java:68)
>   at org.apache.oozie.command.XCommand.call(XCommand.java:291)
>   at 
> org.apache.oozie.service.CallableQueueService$CompositeCallable.call(CallableQueueService.java:363)
>   at 
> org.apache.oozie.service.CallableQueueService$CompositeCallable.call(CallableQueueService.java:292)
>   at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>   at 
> org.apache.oozie.service.CallableQueueService$CallableWrapper.run(CallableQueueService.java:210)
>   at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
>   at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
>   at java.lang.Thread.run(Thread.java:748)
> {code}
> This warning is harmless, but it can case misunderstandings.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (OOZIE-3513) Migrate from Preconditions.checkNotNull and ParamChecker.notNull

2019-06-19 Thread Hadoop QA (JIRA)


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

Hadoop QA commented on OOZIE-3513:
--


Testing JIRA OOZIE-3513

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 star imports
.{color:green}+1{color} the patch does not introduce any line longer than 
132
.{color:green}+1{color} the patch adds/modifies 5 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} Javadoc generation succeeded with the patch
.{color:green}+1{color} the patch does not seem to introduce new Javadoc 
warning(s)
{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:red}-1{color} There are [22] new bugs found below threshold in total 
that must be fixed.
.{color:green}+1{color} There are no new bugs found in [sharelib/hive2].
.{color:green}+1{color} There are no new bugs found in [sharelib/spark].
.{color:green}+1{color} There are no new bugs found in [sharelib/oozie].
.{color:green}+1{color} There are no new bugs found in [sharelib/pig].
.{color:green}+1{color} There are no new bugs found in [sharelib/streaming].
.{color:green}+1{color} There are no new bugs found in [sharelib/hive].
.{color:green}+1{color} There are no new bugs found in [sharelib/distcp].
.{color:green}+1{color} There are no new bugs found in [sharelib/hcatalog].
.{color:green}+1{color} There are no new bugs found in [sharelib/sqoop].
.{color:green}+1{color} There are no new bugs found in [sharelib/git].
.{color:green}+1{color} There are no new bugs found in [client].
.{color:green}+1{color} There are no new bugs found in [docs].
.{color:red}-1{color} There are [15] new bugs found below threshold in 
[tools] that must be fixed, listing only the first [5] ones.
.You can find the SpotBugs diff here (look for the red and orange ones): 
tools/findbugs-new.html
.The top [5] most important SpotBugs errors are:
.At OozieDBCLI.java:[line 584]: This use of 
java/sql/Statement.executeUpdate(Ljava/lang/String;)I can be vulnerable to SQL 
injection
.At OozieDBCLI.java:[line 574]: At OozieDBCLI.java:[line 573]
.At OozieDBCLI.java:[line 577]: At OozieDBCLI.java:[line 575]
.At OozieDBCLI.java:[line 579]: At OozieDBCLI.java:[line 578]
.At OozieDBCLI.java:[line 584]: At OozieDBCLI.java:[line 581]
.{color:green}+1{color} There are no new bugs found in 
[fluent-job/fluent-job-api].
.{color:green}+1{color} There are no new bugs found in [server].
.{color:green}+1{color} There are no new bugs found in [webapp].
.{color:green}+1{color} There are no new bugs found in [examples].
.{color:red}-1{color} There are [7] new bugs found below threshold in 
[core] that must be fixed, listing only the first [5] ones.
.You can find the SpotBugs diff here (look for the red and orange ones): 
core/findbugs-new.html
.The top [5] most important SpotBugs errors are:
.At BulkJPAExecutor.java:[line 206]: This use of 
javax/persistence/EntityManager.createQuery(Ljava/lang/String;)Ljavax/persistence/Query;
 can be vulnerable to SQL/JPQL injection
.At BulkJPAExecutor.java:[line 176]: At BulkJPAExecutor.java:[line 175]
.At BulkJPAExecutor.java:[line 205]: At BulkJPAExecutor.java:[line 199]
.This use of 
javax/persistence/EntityManager.createQuery(Ljava/lang/String;)Ljavax/persistence/Query;
 can be vulnerable to SQL/JPQL injection: At BulkJPAExecutor.java:[line 206]
.At BulkJPAExecutor.java:[line 111]: At BulkJPAExecutor.java:[line 127]
{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:green}+1 TESTS{color}
.Tests run: 3167
{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/PreCommit-OOZIE-Build/1153/



> Migrate from Preconditions.checkNotNull and ParamChecker.notNull
> 
>
>

Failed: OOZIE-3513 PreCommit Build #1153

2019-06-19 Thread Apache Jenkins Server
Jira: https://issues.apache.org/jira/browse/OOZIE-3513
Build: https://builds.apache.org/job/PreCommit-OOZIE-Build/1153/

###
## LAST 100 LINES OF THE CONSOLE 
###
[...truncated 2.06 MB...]
[DEBUG] You can find the SpotBugs diff here (look for the red and orange ones): 
core/findbugs-new.html
[ERROR] There are [22] new bugs found below threshold in total that must be 
fixed.
[TRACE] SpotBugs diffs checked and reports created
[TRACE] Summary file size is 4005 bytes
[TRACE] Full summary file size is 9316 bytes
[TRACE] File 
[/home/jenkins/jenkins-slave/workspace/PreCommit-OOZIE-Build/test-patch/tmp/SPOTBUGS_DIFF/diff/findbugs-diff-0.1.0-all.jar]
 removed
[TRACE] File 
[/home/jenkins/jenkins-slave/workspace/PreCommit-OOZIE-Build/test-patch/tmp/SPOTBUGS_DIFF/diff/findbugs-diff-0.1.0-all.jar.md5]
 removed
  Running test-patch task BACKWARDS_COMPATIBILITY
  Running test-patch task TESTS
  Running test-patch task DISTRO


Testing JIRA OOZIE-3513

Cleaning local git workspace



+1 PATCH_APPLIES
+1 CLEAN
+1 RAW_PATCH_ANALYSIS
+1 the patch does not introduce any @author tags
+1 the patch does not introduce any tabs
+1 the patch does not introduce any trailing spaces
+1 the patch does not introduce any star imports
+1 the patch does not introduce any line longer than 132
+1 the patch adds/modifies 5 testcase(s)
+1 RAT
+1 the patch does not seem to introduce new RAT warnings
+1 JAVADOC
+1 Javadoc generation succeeded with the patch
+1 the patch does not seem to introduce new Javadoc warning(s)
+1 COMPILE
+1 HEAD compiles
+1 patch compiles
+1 the patch does not seem to introduce new javac warnings
-1 There are [22] new bugs found below threshold in total that must be fixed.
+1 There are no new bugs found in [sharelib/hive2].
+1 There are no new bugs found in [sharelib/spark].
+1 There are no new bugs found in [sharelib/oozie].
+1 There are no new bugs found in [sharelib/pig].
+1 There are no new bugs found in [sharelib/streaming].
+1 There are no new bugs found in [sharelib/hive].
+1 There are no new bugs found in [sharelib/distcp].
+1 There are no new bugs found in [sharelib/hcatalog].
+1 There are no new bugs found in [sharelib/sqoop].
+1 There are no new bugs found in [sharelib/git].
+1 There are no new bugs found in [client].
+1 There are no new bugs found in [docs].
-1 There are [15] new bugs found below threshold in [tools] that must be 
fixed, listing only the first [5] ones.
You can find the SpotBugs diff here (look for the red and orange ones): 
tools/findbugs-new.html
The top [5] most important SpotBugs errors are:
At OozieDBCLI.java:[line 584]: This use of 
java/sql/Statement.executeUpdate(Ljava/lang/String;)I can be vulnerable to SQL 
injection
At OozieDBCLI.java:[line 574]: At OozieDBCLI.java:[line 573]
At OozieDBCLI.java:[line 577]: At OozieDBCLI.java:[line 575]
At OozieDBCLI.java:[line 579]: At OozieDBCLI.java:[line 578]
At OozieDBCLI.java:[line 584]: At OozieDBCLI.java:[line 581]
+1 There are no new bugs found in [fluent-job/fluent-job-api].
+1 There are no new bugs found in [server].
+1 There are no new bugs found in [webapp].
+1 There are no new bugs found in [examples].
-1 There are [7] new bugs found below threshold in [core] that must be 
fixed, listing only the first [5] ones.
You can find the SpotBugs diff here (look for the red and orange ones): 
core/findbugs-new.html
The top [5] most important SpotBugs errors are:
At BulkJPAExecutor.java:[line 206]: This use of 
javax/persistence/EntityManager.createQuery(Ljava/lang/String;)Ljavax/persistence/Query;
 can be vulnerable to SQL/JPQL injection
At BulkJPAExecutor.java:[line 176]: At BulkJPAExecutor.java:[line 175]
At BulkJPAExecutor.java:[line 205]: At BulkJPAExecutor.java:[line 199]
This use of 
javax/persistence/EntityManager.createQuery(Ljava/lang/String;)Ljavax/persistence/Query;
 can be vulnerable to SQL/JPQL injection: At BulkJPAExecutor.java:[line 206]
At BulkJPAExecutor.java:[line 111]: At BulkJPAExecutor.java:[line 127]
+1 BACKWARDS_COMPATIBILITY
+1 the patch does not change any JPA Entity/Colum/Basic/Lob/Transient 
annotations
+1 the patch does not modify JPA files
+1 TESTS
Tests run: 3167
+1 DISTRO
+1 distro tarball builds with the patch 


-1 Overall result, please check the reported -1(s)


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

 https://builds.apache.org/job/PreCommit-OOZIE-Build/1153/

Adding comment to JIRA
  % Total% Received % Xferd  Average Speed   TimeTime Time  Current
 Dload  Upload   Total   SpentLeft  Speed
  0 00 00 0  0  0 --:--:-- --:--:-- --:--:-- 
0100  467

[jira] [Commented] (OOZIE-3513) Migrate from Preconditions.checkNotNull and ParamChecker.notNull

2019-06-19 Thread Hadoop QA (JIRA)


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

Hadoop QA commented on OOZIE-3513:
--

PreCommit-OOZIE-Build started


> Migrate from Preconditions.checkNotNull and ParamChecker.notNull
> 
>
> Key: OOZIE-3513
> URL: https://issues.apache.org/jira/browse/OOZIE-3513
> Project: Oozie
>  Issue Type: Bug
>Affects Versions: trunk
>Reporter: Andras Salamon
>Assignee: Andras Salamon
>Priority: Major
> Attachments: OOZIE-3513-01.patch, OOZIE-3513-02.patch, 
> OOZIE-3513-03.patch, OOZIE-3513-04.patch
>
>
> We currently use both Guava's {{Preconditions.checkNotNull}} and our own 
> {{ParamChecker.notNull}} to check for null arguments. Instead we should use 
> the standard {{Objects.requireNonNull}}.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (OOZIE-3513) Migrate from Preconditions.checkNotNull and ParamChecker.notNull

2019-06-19 Thread Andras Salamon (JIRA)


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

Andras Salamon updated OOZIE-3513:
--
Attachment: OOZIE-3513-04.patch

> Migrate from Preconditions.checkNotNull and ParamChecker.notNull
> 
>
> Key: OOZIE-3513
> URL: https://issues.apache.org/jira/browse/OOZIE-3513
> Project: Oozie
>  Issue Type: Bug
>Affects Versions: trunk
>Reporter: Andras Salamon
>Assignee: Andras Salamon
>Priority: Major
> Attachments: OOZIE-3513-01.patch, OOZIE-3513-02.patch, 
> OOZIE-3513-03.patch, OOZIE-3513-04.patch
>
>
> We currently use both Guava's {{Preconditions.checkNotNull}} and our own 
> {{ParamChecker.notNull}} to check for null arguments. Instead we should use 
> the standard {{Objects.requireNonNull}}.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (OOZIE-3513) Migrate from Preconditions.checkNotNull and ParamChecker.notNull

2019-06-19 Thread Hadoop QA (JIRA)


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

Hadoop QA commented on OOZIE-3513:
--


Testing JIRA OOZIE-3513

Cleaning local git workspace



{color:red}-1{color} Patch failed to apply to head of branch




> Migrate from Preconditions.checkNotNull and ParamChecker.notNull
> 
>
> Key: OOZIE-3513
> URL: https://issues.apache.org/jira/browse/OOZIE-3513
> Project: Oozie
>  Issue Type: Bug
>Affects Versions: trunk
>Reporter: Andras Salamon
>Assignee: Andras Salamon
>Priority: Major
> Attachments: OOZIE-3513-01.patch, OOZIE-3513-02.patch, 
> OOZIE-3513-03.patch
>
>
> We currently use both Guava's {{Preconditions.checkNotNull}} and our own 
> {{ParamChecker.notNull}} to check for null arguments. Instead we should use 
> the standard {{Objects.requireNonNull}}.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (OOZIE-3516) Misleading warning: java.lang.IllegalArgumentException: Does not contain a valid host:port authority: yarnRM

2019-06-19 Thread Hadoop QA (JIRA)


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

Hadoop QA commented on OOZIE-3516:
--


Testing JIRA OOZIE-3516

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 star imports
.{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} Javadoc generation succeeded with the patch
.{color:green}+1{color} the patch does not seem to introduce new Javadoc 
warning(s)
{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:red}-1{color} There are [7] new bugs found below threshold in total that 
must be fixed.
.{color:green}+1{color} There are no new bugs found in [examples].
.{color:red}-1{color} There are [7] new bugs found below threshold in 
[core] that must be fixed, listing only the first [5] ones.
.You can find the SpotBugs diff here (look for the red and orange ones): 
core/findbugs-new.html
.The top [5] most important SpotBugs errors are:
.At BulkJPAExecutor.java:[line 207]: This use of 
javax/persistence/EntityManager.createQuery(Ljava/lang/String;)Ljavax/persistence/Query;
 can be vulnerable to SQL/JPQL injection
.At BulkJPAExecutor.java:[line 177]: At BulkJPAExecutor.java:[line 176]
.At BulkJPAExecutor.java:[line 206]: At BulkJPAExecutor.java:[line 200]
.This use of 
javax/persistence/EntityManager.createQuery(Ljava/lang/String;)Ljavax/persistence/Query;
 can be vulnerable to SQL/JPQL injection: At BulkJPAExecutor.java:[line 207]
.At BulkJPAExecutor.java:[line 112]: At BulkJPAExecutor.java:[line 128]
.{color:green}+1{color} There are no new bugs found in [sharelib/distcp].
.{color:green}+1{color} There are no new bugs found in [sharelib/hive].
.{color:green}+1{color} There are no new bugs found in [sharelib/pig].
.{color:green}+1{color} There are no new bugs found in [sharelib/spark].
.{color:green}+1{color} There are no new bugs found in [sharelib/hive2].
.{color:green}+1{color} There are no new bugs found in [sharelib/hcatalog].
.{color:green}+1{color} There are no new bugs found in [sharelib/sqoop].
.{color:green}+1{color} There are no new bugs found in [sharelib/oozie].
.{color:green}+1{color} There are no new bugs found in [sharelib/streaming].
.{color:green}+1{color} There are no new bugs found in [sharelib/git].
.{color:green}+1{color} There are no new bugs found in [webapp].
.{color:green}+1{color} There are no new bugs found in [tools].
.{color:green}+1{color} There are no new bugs found in [docs].
.{color:green}+1{color} There are no new bugs found in [server].
.{color:green}+1{color} There are no new bugs found in 
[fluent-job/fluent-job-api].
.{color:green}+1{color} There are no new bugs found in [client].
{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:green}+1 TESTS{color}
.Tests run: 3168
{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/PreCommit-OOZIE-Build/1151/



> Misleading warning: java.lang.IllegalArgumentException: Does not contain a 
> valid host:port authority: yarnRM
> 
>
> Key: OOZIE-3516
> URL: https://issues.apache.org/jira/browse/OOZIE-3516
> Project: Oozie
>  Issue Type: Bug
>Affects Versions: 5.0.0
>Reporter: Julia Kinga Marton
>Assignee: Julia Kinga Marton
>Priority: Major
> Attachments: OOZIE-3516-001.patch
>
>
> Starting from 5.0.0 there is a misleading warning message in the Oozie logs:
> {code}
> 2019-06-17 05:30:19,335 WARN 
> org.apache.oozie.action.hadoop.HadoopTokenHelper: 
> SERVER[nightly6x-1

Failed: OOZIE-3516 PreCommit Build #1151

2019-06-19 Thread Apache Jenkins Server
Jira: https://issues.apache.org/jira/browse/OOZIE-3516
Build: https://builds.apache.org/job/PreCommit-OOZIE-Build/1151/

###
## LAST 100 LINES OF THE CONSOLE 
###
[...truncated 2.04 MB...]
[TRACE] New XMLLib present, calling 'xmllint --xpath' to get bug instance counts
[DEBUG] There are no new bugs found in [docs].
[TRACE] New XMLLib present, calling 'xmllint --xpath' to get bug instance counts
[DEBUG] There are no new bugs found in [server].
[TRACE] New XMLLib present, calling 'xmllint --xpath' to get bug instance counts
[DEBUG] There are no new bugs found in [fluent-job/fluent-job-api].
[TRACE] New XMLLib present, calling 'xmllint --xpath' to get bug instance counts
[DEBUG] There are no new bugs found in [client].
[ERROR] There are [7] new bugs found below threshold in total that must be 
fixed.
[TRACE] SpotBugs diffs checked and reports created
[TRACE] Summary file size is 3382 bytes
[TRACE] Full summary file size is 4275 bytes
[TRACE] File 
[/home/jenkins/jenkins-slave/workspace/PreCommit-OOZIE-Build/test-patch/tmp/SPOTBUGS_DIFF/diff/findbugs-diff-0.1.0-all.jar]
 removed
[TRACE] File 
[/home/jenkins/jenkins-slave/workspace/PreCommit-OOZIE-Build/test-patch/tmp/SPOTBUGS_DIFF/diff/findbugs-diff-0.1.0-all.jar.md5]
 removed
  Running test-patch task BACKWARDS_COMPATIBILITY
  Running test-patch task TESTS
  Running test-patch task DISTRO


Testing JIRA OOZIE-3516

Cleaning local git workspace



+1 PATCH_APPLIES
+1 CLEAN
-1 RAW_PATCH_ANALYSIS
+1 the patch does not introduce any @author tags
+1 the patch does not introduce any tabs
+1 the patch does not introduce any trailing spaces
+1 the patch does not introduce any star imports
+1 the patch does not introduce any line longer than 132
-1 the patch does not add/modify any testcase
+1 RAT
+1 the patch does not seem to introduce new RAT warnings
+1 JAVADOC
+1 Javadoc generation succeeded with the patch
+1 the patch does not seem to introduce new Javadoc warning(s)
+1 COMPILE
+1 HEAD compiles
+1 patch compiles
+1 the patch does not seem to introduce new javac warnings
-1 There are [7] new bugs found below threshold in total that must be fixed.
+1 There are no new bugs found in [examples].
-1 There are [7] new bugs found below threshold in [core] that must be 
fixed, listing only the first [5] ones.
You can find the SpotBugs diff here (look for the red and orange ones): 
core/findbugs-new.html
The top [5] most important SpotBugs errors are:
At BulkJPAExecutor.java:[line 207]: This use of 
javax/persistence/EntityManager.createQuery(Ljava/lang/String;)Ljavax/persistence/Query;
 can be vulnerable to SQL/JPQL injection
At BulkJPAExecutor.java:[line 177]: At BulkJPAExecutor.java:[line 176]
At BulkJPAExecutor.java:[line 206]: At BulkJPAExecutor.java:[line 200]
This use of 
javax/persistence/EntityManager.createQuery(Ljava/lang/String;)Ljavax/persistence/Query;
 can be vulnerable to SQL/JPQL injection: At BulkJPAExecutor.java:[line 207]
At BulkJPAExecutor.java:[line 112]: At BulkJPAExecutor.java:[line 128]
+1 There are no new bugs found in [sharelib/distcp].
+1 There are no new bugs found in [sharelib/hive].
+1 There are no new bugs found in [sharelib/pig].
+1 There are no new bugs found in [sharelib/spark].
+1 There are no new bugs found in [sharelib/hive2].
+1 There are no new bugs found in [sharelib/hcatalog].
+1 There are no new bugs found in [sharelib/sqoop].
+1 There are no new bugs found in [sharelib/oozie].
+1 There are no new bugs found in [sharelib/streaming].
+1 There are no new bugs found in [sharelib/git].
+1 There are no new bugs found in [webapp].
+1 There are no new bugs found in [tools].
+1 There are no new bugs found in [docs].
+1 There are no new bugs found in [server].
+1 There are no new bugs found in [fluent-job/fluent-job-api].
+1 There are no new bugs found in [client].
+1 BACKWARDS_COMPATIBILITY
+1 the patch does not change any JPA Entity/Colum/Basic/Lob/Transient 
annotations
+1 the patch does not modify JPA files
+1 TESTS
Tests run: 3168
+1 DISTRO
+1 distro tarball builds with the patch 


-1 Overall result, please check the reported -1(s)


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

 https://builds.apache.org/job/PreCommit-OOZIE-Build/1151/

Adding comment to JIRA
  % Total% Received % Xferd  Average Speed   TimeTime Time  Current
 Dload  Upload   Total   SpentLeft  Speed
  0 00 00 0  0  0 --:--:-- --:--:-- --:--:-- 0  
0 00 00 0  0  0 --:--:-- --:--:-- --:--:-- 
0{"self":"https://issues.apache.org/jira/rest/api/2/issue/13239966/comment/16867488","id":"16867488","author":{"self

Failed: OOZIE-3513 PreCommit Build #1152

2019-06-19 Thread Apache Jenkins Server
Jira: https://issues.apache.org/jira/browse/OOZIE-3513
Build: https://builds.apache.org/job/PreCommit-OOZIE-Build/1152/

###
## LAST 100 LINES OF THE CONSOLE 
###
[...truncated 872.89 KB...]
error: src/main/java/org/apache/oozie/servlet/JsonRestServlet.java: No such 
file or directory
Checking patch src/main/java/org/apache/oozie/store/WorkflowStore.java...
error: src/main/java/org/apache/oozie/store/WorkflowStore.java: No such file or 
directory
Checking patch src/main/java/org/apache/oozie/util/ConfigUtils.java...
error: src/main/java/org/apache/oozie/util/ConfigUtils.java: No such file or 
directory
Checking patch 
src/main/java/org/apache/oozie/util/FixedJsonInstanceSerializer.java...
error: src/main/java/org/apache/oozie/util/FixedJsonInstanceSerializer.java: No 
such file or directory
Checking patch src/main/java/org/apache/oozie/util/IOUtils.java...
error: src/main/java/org/apache/oozie/util/IOUtils.java: No such file or 
directory
Checking patch src/main/java/org/apache/oozie/util/JobUtils.java...
error: src/main/java/org/apache/oozie/util/JobUtils.java: No such file or 
directory
Checking patch src/main/java/org/apache/oozie/util/ParamChecker.java...
error: src/main/java/org/apache/oozie/util/ParamChecker.java: No such file or 
directory
Checking patch src/main/java/org/apache/oozie/util/ParameterVerifier.java...
error: src/main/java/org/apache/oozie/util/ParameterVerifier.java: No such file 
or directory
Checking patch src/main/java/org/apache/oozie/util/PriorityDelayQueue.java...
error: src/main/java/org/apache/oozie/util/PriorityDelayQueue.java: No such 
file or directory
Checking patch src/main/java/org/apache/oozie/util/PropertiesUtils.java...
error: src/main/java/org/apache/oozie/util/PropertiesUtils.java: No such file 
or directory
Checking patch src/main/java/org/apache/oozie/util/XmlUtils.java...
error: src/main/java/org/apache/oozie/util/XmlUtils.java: No such file or 
directory
Checking patch 
src/main/java/org/apache/oozie/util/db/OperationRetryHandler.java...
error: src/main/java/org/apache/oozie/util/db/OperationRetryHandler.java: No 
such file or directory
Checking patch 
src/main/java/org/apache/oozie/workflow/lite/ActionNodeDef.java...
error: src/main/java/org/apache/oozie/workflow/lite/ActionNodeDef.java: No such 
file or directory
Checking patch 
src/main/java/org/apache/oozie/workflow/lite/DBLiteWorkflowLib.java...
error: src/main/java/org/apache/oozie/workflow/lite/DBLiteWorkflowLib.java: No 
such file or directory
Checking patch 
src/main/java/org/apache/oozie/workflow/lite/DecisionNodeDef.java...
error: src/main/java/org/apache/oozie/workflow/lite/DecisionNodeDef.java: No 
such file or directory
Checking patch 
src/main/java/org/apache/oozie/workflow/lite/LiteWorkflowApp.java...
error: src/main/java/org/apache/oozie/workflow/lite/LiteWorkflowApp.java: No 
such file or directory
Checking patch 
src/main/java/org/apache/oozie/workflow/lite/LiteWorkflowInstance.java...
error: src/main/java/org/apache/oozie/workflow/lite/LiteWorkflowInstance.java: 
No such file or directory
Checking patch 
src/main/java/org/apache/oozie/workflow/lite/LiteWorkflowLib.java...
error: src/main/java/org/apache/oozie/workflow/lite/LiteWorkflowLib.java: No 
such file or directory
Checking patch src/main/java/org/apache/oozie/workflow/lite/NodeDef.java...
error: src/main/java/org/apache/oozie/workflow/lite/NodeDef.java: No such file 
or directory
Checking patch src/test/java/org/apache/oozie/test/XTestCase.java...
error: src/test/java/org/apache/oozie/test/XTestCase.java: No such file or 
directory
Checking patch src/test/java/org/apache/oozie/util/TestParamChecker.java...
error: src/test/java/org/apache/oozie/util/TestParamChecker.java: No such file 
or directory
Checking patch src/test/java/org/apache/oozie/util/TestParameterVerifier.java...
error: src/test/java/org/apache/oozie/util/TestParameterVerifier.java: No such 
file or directory
Checking patch 
src/test/java/org/apache/oozie/util/TestPriorityDelayQueue.java...
error: src/test/java/org/apache/oozie/util/TestPriorityDelayQueue.java: No such 
file or directory
Checking patch 
src/test/java/org/apache/oozie/example/TestLocalOozieExample.java...
error: src/test/java/org/apache/oozie/example/TestLocalOozieExample.java: No 
such file or directory
Checking patch 
fluent-job-api/src/main/java/org/apache/oozie/fluentjob/api/mapping/DecisionConverter.java...
error: 
fluent-job-api/src/main/java/org/apache/oozie/fluentjob/api/mapping/DecisionConverter.java:
 No such file or directory
Checking patch 
fluent-job-api/src/main/java/org/apache/oozie/fluentjob/api/mapping/ExplicitNodeConverter.java...
error: 
fluent-job-api/src/main/java/org/apache/oozie/fluentjob/api/mapping/ExplicitNodeConverter.java:
 No such file or directory
Checking patch 
fluent-job-api/src/main/java/org/apache/oozie/fluentjob/api/mapping/GlobalConverter.java..

[jira] [Commented] (OOZIE-3513) Migrate from Preconditions.checkNotNull and ParamChecker.notNull

2019-06-19 Thread Hadoop QA (JIRA)


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

Hadoop QA commented on OOZIE-3513:
--

PreCommit-OOZIE-Build started


> Migrate from Preconditions.checkNotNull and ParamChecker.notNull
> 
>
> Key: OOZIE-3513
> URL: https://issues.apache.org/jira/browse/OOZIE-3513
> Project: Oozie
>  Issue Type: Bug
>Affects Versions: trunk
>Reporter: Andras Salamon
>Assignee: Andras Salamon
>Priority: Major
> Attachments: OOZIE-3513-01.patch, OOZIE-3513-02.patch, 
> OOZIE-3513-03.patch
>
>
> We currently use both Guava's {{Preconditions.checkNotNull}} and our own 
> {{ParamChecker.notNull}} to check for null arguments. Instead we should use 
> the standard {{Objects.requireNonNull}}.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (OOZIE-3513) Migrate from Preconditions.checkNotNull and ParamChecker.notNull

2019-06-19 Thread Andras Salamon (JIRA)


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

Andras Salamon updated OOZIE-3513:
--
Attachment: OOZIE-3513-03.patch

> Migrate from Preconditions.checkNotNull and ParamChecker.notNull
> 
>
> Key: OOZIE-3513
> URL: https://issues.apache.org/jira/browse/OOZIE-3513
> Project: Oozie
>  Issue Type: Bug
>Affects Versions: trunk
>Reporter: Andras Salamon
>Assignee: Andras Salamon
>Priority: Major
> Attachments: OOZIE-3513-01.patch, OOZIE-3513-02.patch, 
> OOZIE-3513-03.patch
>
>
> We currently use both Guava's {{Preconditions.checkNotNull}} and our own 
> {{ParamChecker.notNull}} to check for null arguments. Instead we should use 
> the standard {{Objects.requireNonNull}}.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (OOZIE-3513) Migrate from Preconditions.checkNotNull and ParamChecker.notNull

2019-06-19 Thread Julia Kinga Marton (JIRA)


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

Julia Kinga Marton commented on OOZIE-3513:
---

[~asalamon74] please check the long lines.

> Migrate from Preconditions.checkNotNull and ParamChecker.notNull
> 
>
> Key: OOZIE-3513
> URL: https://issues.apache.org/jira/browse/OOZIE-3513
> Project: Oozie
>  Issue Type: Bug
>Affects Versions: trunk
>Reporter: Andras Salamon
>Assignee: Andras Salamon
>Priority: Major
> Attachments: OOZIE-3513-01.patch, OOZIE-3513-02.patch
>
>
> We currently use both Guava's {{Preconditions.checkNotNull}} and our own 
> {{ParamChecker.notNull}} to check for null arguments. Instead we should use 
> the standard {{Objects.requireNonNull}}.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (OOZIE-3515) Upgrade sqoop version to 1.4.7

2019-06-19 Thread Julia Kinga Marton (JIRA)


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

Julia Kinga Marton commented on OOZIE-3515:
---

Thank you [~asalamon74] for the contribution! +1, committed to master

> Upgrade sqoop version to 1.4.7
> --
>
> Key: OOZIE-3515
> URL: https://issues.apache.org/jira/browse/OOZIE-3515
> Project: Oozie
>  Issue Type: Bug
>Affects Versions: trunk
>Reporter: Andras Salamon
>Assignee: Andras Salamon
>Priority: Major
> Fix For: 5.2.0
>
> Attachments: OOZIE-3515-01.patch, OOZIE-3515-02.patch
>
>
> Oozie still uses Sqoop 1.4.3 which was released in 2013, it's time to upgrade 
> to the latest sqoop (1.4.7) which was released in 2018.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (OOZIE-3266) Coord action rerun support RERUN_SKIP_NODES option

2019-06-19 Thread Julia Kinga Marton (JIRA)


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

Julia Kinga Marton commented on OOZIE-3266:
---

[~zuston], can you please upload your patch to ReviewBoard?

> Coord action rerun support RERUN_SKIP_NODES option
> --
>
> Key: OOZIE-3266
> URL: https://issues.apache.org/jira/browse/OOZIE-3266
> Project: Oozie
>  Issue Type: New Feature
>Affects Versions: 5.1.0
>Reporter: TIAN XING
>Assignee: Junfan Zhang
>Priority: Major
> Fix For: 5.2.0
>
> Attachments: OOZIE-3266-v1.txt, OOZIE-3266-v2.txt
>
>
> currently, when you re-run a workflow job, you have 3 options
>  # re-run all of its action nodes
>  # re-run failed nodes only
>  # re-run with specified nodes skipped
> if this workflow job is generated by a coord action. you can re-run this 
> coord action with 2 options
>  # re-run all of the workflow action nodes (generate a new workflow job id)
>  # re-run failed workflow action nodes only (workflow job id not changed)
> now we want to add a another option
>  - re-run with specified workflow nodes skipped (workflow job id not changed)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (OOZIE-3517) Invalid reference to xtheme-default.css

2019-06-19 Thread Andras Salamon (JIRA)
Andras Salamon created OOZIE-3517:
-

 Summary: Invalid reference to xtheme-default.css
 Key: OOZIE-3517
 URL: https://issues.apache.org/jira/browse/OOZIE-3517
 Project: Oozie
  Issue Type: Bug
Reporter: Andras Salamon


[index.jsp|https://github.com/apache/oozie/blob/master/webapp/src/main/webapp/index.jsp#L23]
 references the {{xtheme-default.css}} file
{noformat}

{noformat}
This file is not part of the extjs library (ext-2-2.zip) so the browser will 
not be able to load this css. We should remove the reference. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (OOZIE-3516) Misleading warning: java.lang.IllegalArgumentException: Does not contain a valid host:port authority: yarnRM

2019-06-19 Thread Hadoop QA (JIRA)


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

Hadoop QA commented on OOZIE-3516:
--

PreCommit-OOZIE-Build started


> Misleading warning: java.lang.IllegalArgumentException: Does not contain a 
> valid host:port authority: yarnRM
> 
>
> Key: OOZIE-3516
> URL: https://issues.apache.org/jira/browse/OOZIE-3516
> Project: Oozie
>  Issue Type: Bug
>Affects Versions: 5.0.0
>Reporter: Julia Kinga Marton
>Assignee: Julia Kinga Marton
>Priority: Major
> Attachments: OOZIE-3516-001.patch
>
>
> Starting from 5.0.0 there is a misleading warning message in the Oozie logs:
> {code}
> 2019-06-17 05:30:19,335 WARN 
> org.apache.oozie.action.hadoop.HadoopTokenHelper: 
> SERVER[nightly6x-1.vpc.cloudera.com] USER[admin] GROUP[-] TOKEN[] APP[Batch 
> job for PySpark Pi Estimator Job] JOB[001-190617003335655-oozie-oozi-W] 
> ACTION[001-190617003335655-oozie-oozi-W@spark2-3833] An error happened 
> while trying to get server principal. Getting it from service principal 
> anyway.
> java.lang.IllegalArgumentException: Does not contain a valid host:port 
> authority: yarnRM
>   at org.apache.hadoop.net.NetUtils.createSocketAddr(NetUtils.java:213)
>   at org.apache.hadoop.net.NetUtils.createSocketAddr(NetUtils.java:164)
>   at org.apache.hadoop.net.NetUtils.createSocketAddr(NetUtils.java:153)
>   at 
> org.apache.oozie.action.hadoop.HadoopTokenHelper.getServerPrincipal(HadoopTokenHelper.java:73)
>   at 
> org.apache.oozie.action.hadoop.HadoopTokenHelper.getServerPrincipal(HadoopTokenHelper.java:51)
>   at 
> org.apache.oozie.action.hadoop.YarnRMCredentials.updateCredentials(YarnRMCredentials.java:55)
>   at 
> org.apache.oozie.action.hadoop.JavaActionExecutor.setCredentialTokens(JavaActionExecutor.java:1503)
>   at 
> org.apache.oozie.action.hadoop.JavaActionExecutor.submitLauncher(JavaActionExecutor.java:1053)
>   at 
> org.apache.oozie.action.hadoop.JavaActionExecutor.start(JavaActionExecutor.java:1601)
>   at 
> org.apache.oozie.command.wf.ActionStartXCommand.execute(ActionStartXCommand.java:243)
>   at 
> org.apache.oozie.command.wf.ActionStartXCommand.execute(ActionStartXCommand.java:68)
>   at org.apache.oozie.command.XCommand.call(XCommand.java:291)
>   at 
> org.apache.oozie.service.CallableQueueService$CompositeCallable.call(CallableQueueService.java:363)
>   at 
> org.apache.oozie.service.CallableQueueService$CompositeCallable.call(CallableQueueService.java:292)
>   at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>   at 
> org.apache.oozie.service.CallableQueueService$CallableWrapper.run(CallableQueueService.java:210)
>   at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
>   at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
>   at java.lang.Thread.run(Thread.java:748)
> {code}
> This warning is harmless, but it can case misunderstandings.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (OOZIE-3516) Misleading warning: java.lang.IllegalArgumentException: Does not contain a valid host:port authority: yarnRM

2019-06-19 Thread Julia Kinga Marton (JIRA)


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

Julia Kinga Marton updated OOZIE-3516:
--
Attachment: OOZIE-3516-001.patch

> Misleading warning: java.lang.IllegalArgumentException: Does not contain a 
> valid host:port authority: yarnRM
> 
>
> Key: OOZIE-3516
> URL: https://issues.apache.org/jira/browse/OOZIE-3516
> Project: Oozie
>  Issue Type: Bug
>Affects Versions: 5.0.0
>Reporter: Julia Kinga Marton
>Assignee: Julia Kinga Marton
>Priority: Major
> Attachments: OOZIE-3516-001.patch
>
>
> Starting from 5.0.0 there is a misleading warning message in the Oozie logs:
> {code}
> 2019-06-17 05:30:19,335 WARN 
> org.apache.oozie.action.hadoop.HadoopTokenHelper: 
> SERVER[nightly6x-1.vpc.cloudera.com] USER[admin] GROUP[-] TOKEN[] APP[Batch 
> job for PySpark Pi Estimator Job] JOB[001-190617003335655-oozie-oozi-W] 
> ACTION[001-190617003335655-oozie-oozi-W@spark2-3833] An error happened 
> while trying to get server principal. Getting it from service principal 
> anyway.
> java.lang.IllegalArgumentException: Does not contain a valid host:port 
> authority: yarnRM
>   at org.apache.hadoop.net.NetUtils.createSocketAddr(NetUtils.java:213)
>   at org.apache.hadoop.net.NetUtils.createSocketAddr(NetUtils.java:164)
>   at org.apache.hadoop.net.NetUtils.createSocketAddr(NetUtils.java:153)
>   at 
> org.apache.oozie.action.hadoop.HadoopTokenHelper.getServerPrincipal(HadoopTokenHelper.java:73)
>   at 
> org.apache.oozie.action.hadoop.HadoopTokenHelper.getServerPrincipal(HadoopTokenHelper.java:51)
>   at 
> org.apache.oozie.action.hadoop.YarnRMCredentials.updateCredentials(YarnRMCredentials.java:55)
>   at 
> org.apache.oozie.action.hadoop.JavaActionExecutor.setCredentialTokens(JavaActionExecutor.java:1503)
>   at 
> org.apache.oozie.action.hadoop.JavaActionExecutor.submitLauncher(JavaActionExecutor.java:1053)
>   at 
> org.apache.oozie.action.hadoop.JavaActionExecutor.start(JavaActionExecutor.java:1601)
>   at 
> org.apache.oozie.command.wf.ActionStartXCommand.execute(ActionStartXCommand.java:243)
>   at 
> org.apache.oozie.command.wf.ActionStartXCommand.execute(ActionStartXCommand.java:68)
>   at org.apache.oozie.command.XCommand.call(XCommand.java:291)
>   at 
> org.apache.oozie.service.CallableQueueService$CompositeCallable.call(CallableQueueService.java:363)
>   at 
> org.apache.oozie.service.CallableQueueService$CompositeCallable.call(CallableQueueService.java:292)
>   at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>   at 
> org.apache.oozie.service.CallableQueueService$CallableWrapper.run(CallableQueueService.java:210)
>   at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
>   at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
>   at java.lang.Thread.run(Thread.java:748)
> {code}
> This warning is harmless, but it can case misunderstandings.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)