[jira] [Updated] (OOZIE-2768) Oozie workflow goes into suspended state with JA009: Output directory already exists

2017-01-20 Thread Abhishek Bafna (JIRA)

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

Abhishek Bafna updated OOZIE-2768:
--
Assignee: (was: Abhishek Bafna)

> Oozie workflow goes into suspended state with  JA009: Output directory 
> already exists
> -
>
> Key: OOZIE-2768
> URL: https://issues.apache.org/jira/browse/OOZIE-2768
> Project: Oozie
>  Issue Type: Bug
>Affects Versions: 4.2.0
>Reporter: sandeep samudrala
>
> At times oozie workflow action fails with following error.
>  JA009: Output directory 
> /user/test/oozie-oozi/0397117-160802162641301-oozie-oozi-W/action--java/output
>  already exists



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


Re: Review Request 51459: Add an admin command to run the PurgeXCommand

2017-01-20 Thread Abhishek Bafna

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/51459/
---

(Updated Jan. 21, 2017, 7:05 a.m.)


Review request for oozie.


Bugs: OOZIE-2041
https://issues.apache.org/jira/browse/OOZIE-2041


Repository: oozie-git


Description
---

By default {{PurgeService}} executes every hour to clean up old oozie 
workflows, coordinators and bundles from Oozie DB. With the new {{oozie admin 
-purge wf=1\;coord=2\;bundle=3\;limit=100\;oldCoordAction=true/false>}} 
command, users (admin users) can execute {{PurgeService}} on demand.

# Allow users to specify older than values for (workflow, coordinator and 
bundle) in {{days}}, limit and turn {{on/off}} for old coordinator actions. At 
least one parameter needs to be specified.
# If user does not specify one of parameter than {{PurgeService}} will use the 
default value of it from {{oozie-default.xml}} or {{oozie-site.xml}}.
# The execution of the Purge Command will require a lock for execution, so at 
the same time two {{PurgeXCommand}} will not execute. In the case, when lock is 
not acquired, it will queue the command.
# Currently purge command is implemented as blocking command. Users will need 
to wait until command execution completes.
# In the HA mode, purge command can be executed only on the leader Oozie server.
# purge command can be enabled/disabled using 
{{oozie.service.PurgeService.enable.command.line}} property. By default it is 
enabled.


Diffs (updated)
-

  client/src/main/java/org/apache/oozie/cli/OozieCLI.java e67fae9 
  client/src/main/java/org/apache/oozie/client/OozieClient.java 12c80cb 
  client/src/main/java/org/apache/oozie/client/rest/JsonTags.java 397e9ed 
  client/src/main/java/org/apache/oozie/client/rest/RestConstants.java 4129364 
  core/src/main/java/org/apache/oozie/command/PurgeXCommand.java ab06fdf 
  core/src/main/java/org/apache/oozie/service/PurgeService.java 6e4a8e8 
  core/src/main/java/org/apache/oozie/servlet/BaseAdminServlet.java 64d3f1f 
  core/src/main/java/org/apache/oozie/servlet/V0AdminServlet.java fd573d5 
  core/src/main/java/org/apache/oozie/servlet/V1AdminServlet.java 965a19a 
  core/src/main/resources/oozie-default.xml 943f9bc 
  core/src/test/java/org/apache/oozie/client/TestOozieCLI.java ce95ff3 
  core/src/test/java/org/apache/oozie/servlet/TestAdminServlet.java ffa3dc1 
  core/src/test/java/org/apache/oozie/servlet/TestV1AdminServlet.java 35568e1 
  docs/src/site/twiki/DG_CommandLineTool.twiki 35eee40 
  docs/src/site/twiki/WebServicesAPI.twiki b76e934 

Diff: https://reviews.apache.org/r/51459/diff/


Testing
---


Thanks,

Abhishek Bafna



[jira] [Updated] (OOZIE-2041) Add an admin command to run the PurgeXCommand

2017-01-20 Thread Abhishek Bafna (JIRA)

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

Abhishek Bafna updated OOZIE-2041:
--
Attachment: OOZIE-2041-07.patch

Thanks [~asasvari] for the feedback.

bq. Typo in the documentation: "bundle records (bundle=6) older than 7 days."
I am not able to catch the typo in here. Can you please help by pointing out.

bq. In {{OozieClient}}, you could add some parameter validation like this 
The validation is added into the {{BaseAdminServlet}} so that it can work 
informally with CLI and REST. I think it will be redundant to add in the 
{{OozieClient}}. Do let me know your thoughts.

You mentioned about, playing around with CLI, If there is anything do post it 
here. Thanks.

> Add an admin command to run the PurgeXCommand
> -
>
> Key: OOZIE-2041
> URL: https://issues.apache.org/jira/browse/OOZIE-2041
> Project: Oozie
>  Issue Type: New Feature
>  Components: core
>Affects Versions: trunk
>Reporter: Robert Kanter
>Assignee: Abhishek Bafna
> Fix For: 5.0.0
>
> Attachments: OOZIE-2041-00.patch, OOZIE-2041-01.patch, 
> OOZIE-2041-02.patch, OOZIE-2041-03.patch, OOZIE-2041-04.patch, 
> OOZIE-2041-05.patch, OOZIE-2041-06.patch, OOZIE-2041-07.patch
>
>
> Some users may find it useful to be able to run the PurgeXCommand on-demand.  
> We can add a new admin command to run this.  e.g.
> {noformat}
> oozie admin -purge
> {noformat}
> With no args, it can use the "older than" values from oozie-site, but we 
> could have it take some arguments to override those for the command.
> Another thing to worry about is making sure that we don't run this if either 
> it's already running (i.e. the user sent it twice) or if the scheduled 
> PurgeService is already running it.  On top of that, we may need extra 
> consideration for HA setups where we currently only run it on the leader.  
> We should probably also have a to not schedule the PurgeService in ooize-site 
> for users who only want to run it manually.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] Subscription: Oozie Patch Available

2017-01-20 Thread jira
Issue Subscription
Filter: Oozie Patch Available (89 issues)

Subscriber: ooziedaily

Key Summary
OOZIE-2776  Log message is repeated twice for hive actions
https://issues.apache.org/jira/browse/OOZIE-2776
OOZIE-2771  Allow retrieving keystore and truststore passwords from Hadoop 
Credential Provider
https://issues.apache.org/jira/browse/OOZIE-2771
OOZIE-2769  Extend FS action to allow setrep on a file
https://issues.apache.org/jira/browse/OOZIE-2769
OOZIE-2766  Coordinator rerun should start actions in action id order
https://issues.apache.org/jira/browse/OOZIE-2766
OOZIE-2753  Update Docs for Jetty Tomcat changes
https://issues.apache.org/jira/browse/OOZIE-2753
OOZIE-2751  LocalOozieClient is missing methods from OozieClient
https://issues.apache.org/jira/browse/OOZIE-2751
OOZIE-2750  Spelling errors in the log messages and exception messages
https://issues.apache.org/jira/browse/OOZIE-2750
OOZIE-2746  Several tests failure in TestV2ValidateServlet.java
https://issues.apache.org/jira/browse/OOZIE-2746
OOZIE-2739  Remove property expansion pattern from ShellMain's log4j properties 
content
https://issues.apache.org/jira/browse/OOZIE-2739
OOZIE-2736  Reduce the number of threads during test execution
https://issues.apache.org/jira/browse/OOZIE-2736
OOZIE-2733  change org.apache.hadoop.fs.permission.AccessControlException to 
org.apache.hadoop.security.AccessControlException
https://issues.apache.org/jira/browse/OOZIE-2733
OOZIE-2726  Flaky test due to daylight saving changes
https://issues.apache.org/jira/browse/OOZIE-2726
OOZIE-2713  Provide an option to log out contents of the localized jar files
https://issues.apache.org/jira/browse/OOZIE-2713
OOZIE-2701  Oozie to support Multiple HCatalog URIs
https://issues.apache.org/jira/browse/OOZIE-2701
OOZIE-2694  Add logging for FsActionExecutor 
https://issues.apache.org/jira/browse/OOZIE-2694
OOZIE-2693  SimpleHCatDependencyCache.removeMissingDependency can throw NPE
https://issues.apache.org/jira/browse/OOZIE-2693
OOZIE-2692  Oozie job submit doesn't report error message to user if there is 
any issue with job conf
https://issues.apache.org/jira/browse/OOZIE-2692
OOZIE-2691  Show workflow action retry information in UI
https://issues.apache.org/jira/browse/OOZIE-2691
OOZIE-2684  Bad database schema error for WF_ACTIONS table
https://issues.apache.org/jira/browse/OOZIE-2684
OOZIE-2681  fix javadoc to compile on JDK8 again
https://issues.apache.org/jira/browse/OOZIE-2681
OOZIE-2670  Upgrade Hbase to 1.2
https://issues.apache.org/jira/browse/OOZIE-2670
OOZIE-2668  Status update and recovery problems when coord action and its 
children not in sync
https://issues.apache.org/jira/browse/OOZIE-2668
OOZIE-2662  DB migration fails if DB is too big
https://issues.apache.org/jira/browse/OOZIE-2662
OOZIE-2652  Skip trash while deleting hive table partition
https://issues.apache.org/jira/browse/OOZIE-2652
OOZIE-2650  Retry coord start on database exceptions
https://issues.apache.org/jira/browse/OOZIE-2650
OOZIE-2644  Skip queuing Notification Commands when there's nothing to notify
https://issues.apache.org/jira/browse/OOZIE-2644
OOZIE-2641  rerunning an oozie coordinator job stucks on waiting
https://issues.apache.org/jira/browse/OOZIE-2641
OOZIE-2630  Oozie Coordinator EL Functions to get first day of the week/month
https://issues.apache.org/jira/browse/OOZIE-2630
OOZIE-2629  Get OozieShareLibCLI to perform a final rename to destPath when 
creating a Sharelib
https://issues.apache.org/jira/browse/OOZIE-2629
OOZIE-2619  Make  Hive action defaults to match hive defaults when running from 
command line
https://issues.apache.org/jira/browse/OOZIE-2619
OOZIE-2618  Include hive-common in hive-beeline as compile component for 
hive-server2 (hive2 action)
https://issues.apache.org/jira/browse/OOZIE-2618
OOZIE-2608  Comma in oozie.service.JPAService.jdbc.password value results in 
authentication error
https://issues.apache.org/jira/browse/OOZIE-2608
OOZIE-2585  Disable or remove test case 
TestPartitionDependencyManagerEhcache.testMemoryUsageAndSpeedOverflowToDisk and 
testMemoryUsageAndSpeed
https://issues.apache.org/jira/browse/OOZIE-2585
OOZIE-2573  dataset url  which contains spaces can not be handled rightly
https://issues.apache.org/jira/browse/OOZIE-2573
OOZIE-2568  SSH  action pretends to retry automaticly when it failed
https://issues.apache.org/jira/browse/OOZIE-2568
OOZIE-2564  Create new log4j config for unit tests so that logged messages 
contain threads
https://issues.apache.org/jira/browse/OOZIE-2564
OOZIE-2540  Create a PySpark 

[jira] Subscription: Oozie Patch Available

2017-01-20 Thread jira
Issue Subscription
Filter: Oozie Patch Available (86 issues)

Subscriber: ooziedaily

Key Summary
OOZIE-2619  Make  Hive action defaults to match hive defaults when running from 
command line
https://issues-test.apache.org/jira/browse/OOZIE-2619
OOZIE-2618  Include hive-common in hive-beeline as compile component for 
hive-server2 (hive2 action)
https://issues-test.apache.org/jira/browse/OOZIE-2618
OOZIE-2617  Read properties files in action configurations
https://issues-test.apache.org/jira/browse/OOZIE-2617
OOZIE-2616  Add Tez profile for Hive and Pig sharelibs
https://issues-test.apache.org/jira/browse/OOZIE-2616
OOZIE-2606  Set spark.yarn.jars to fix Spark 2.0 with Oozie
https://issues-test.apache.org/jira/browse/OOZIE-2606
OOZIE-2589  CompletedActionXCommand priority param is of no effect
https://issues-test.apache.org/jira/browse/OOZIE-2589
OOZIE-2588  Support getting credentials for same cluster hcat when credentials 
config is empty
https://issues-test.apache.org/jira/browse/OOZIE-2588
OOZIE-2585  Disable or remove test case 
TestPartitionDependencyManagerEhcache.testMemoryUsageAndSpeedOverflowToDisk and 
testMemoryUsageAndSpeed
https://issues-test.apache.org/jira/browse/OOZIE-2585
OOZIE-2584  Eliminate Thread.sleep() calls in TestMemoryLocks
https://issues-test.apache.org/jira/browse/OOZIE-2584
OOZIE-2583  oozie throws EL Exception when reference variable name containing 
dot
https://issues-test.apache.org/jira/browse/OOZIE-2583
OOZIE-2582  Populating external child Ids for action failures
https://issues-test.apache.org/jira/browse/OOZIE-2582
OOZIE-2573  dataset url  which contains spaces can not be handled rightly
https://issues-test.apache.org/jira/browse/OOZIE-2573
OOZIE-2572  SLA DURATION miss not shown when job is running for longer than 
expected time
https://issues-test.apache.org/jira/browse/OOZIE-2572
OOZIE-2571  Add scala.binary.version Maven property so that Scala 2.11 can be 
used
https://issues-test.apache.org/jira/browse/OOZIE-2571
OOZIE-2569  Adding yarn-site, core-site, hdfs-site and mapred-site into spark 
launcher 
https://issues-test.apache.org/jira/browse/OOZIE-2569
OOZIE-2568  SSH  action pretends to retry automaticly when it failed
https://issues-test.apache.org/jira/browse/OOZIE-2568
OOZIE-2564  Create new log4j config for unit tests so that logged messages 
contain threads
https://issues-test.apache.org/jira/browse/OOZIE-2564
OOZIE-2552  Update ActiveMQ version for security and other fixes
https://issues-test.apache.org/jira/browse/OOZIE-2552
OOZIE-2538  Update HttpClient versions to close security vulnerabilities
https://issues-test.apache.org/jira/browse/OOZIE-2538
OOZIE-2534  Versioned action libs (similar to how SharedLibs works)
https://issues-test.apache.org/jira/browse/OOZIE-2534
OOZIE-2530  Remove jline from parent and sharelib pig pom
https://issues-test.apache.org/jira/browse/OOZIE-2530
OOZIE-2528  Print out environment variables in LauncherMapper
https://issues-test.apache.org/jira/browse/OOZIE-2528
OOZIE-2521  Filter options are case sensitive for jobtye=bundle
https://issues-test.apache.org/jira/browse/OOZIE-2521
OOZIE-2518  Oozie is creating many files and directories in /tmp per day
https://issues-test.apache.org/jira/browse/OOZIE-2518
OOZIE-2517  Add support for startCreatedTime and endCreatedTime filters for 
coord and bundles
https://issues-test.apache.org/jira/browse/OOZIE-2517
OOZIE-2513  log.scan.duration should not be used for error and audit logs
https://issues-test.apache.org/jira/browse/OOZIE-2513
OOZIE-2512  ShareLibservice returns incorrect path for jar
https://issues-test.apache.org/jira/browse/OOZIE-2512
OOZIE-2508  Documentation change for Coord action rerun [OOZIE-1735]
https://issues-test.apache.org/jira/browse/OOZIE-2508
OOZIE-2501  ZK reentrant lock doesn't work for few cases
https://issues-test.apache.org/jira/browse/OOZIE-2501
OOZIE-2500  -DtestJarSimple option mentioned in minioozie doc does not work
https://issues-test.apache.org/jira/browse/OOZIE-2500
OOZIE-2499  map-reduce launcher does not need distributed files, archives 
except  jar of input/outputformat class
https://issues-test.apache.org/jira/browse/OOZIE-2499
OOZIE-2498  Oozie CallerId configuration for downstream components 
https://issues-test.apache.org/jira/browse/OOZIE-2498
OOZIE-2495  change action status from  ErrorType.NON_TRANSIENT to TRANSIENT 
when SSH action occurs AUTH_FAILED occasionally
https://issues-test.apache.org/jira/browse/OOZIE-2495
OOZIE-2491  oozie acl cannot specify group,it does`t work
https://issues-test.apache.org/jira/browse/OOZIE-2491

[jira] [Commented] (OOZIE-2691) Show workflow action retry information in UI

2017-01-20 Thread Hadoop QA (JIRA)

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

Hadoop QA commented on OOZIE-2691:
--

Testing JIRA OOZIE-2691

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:red}-1{color} the patch contains 2 line(s) longer than 132 
characters
.{color:green}+1{color} the patch does 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} 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:red}-1{color} There are [1] new bugs found below threshold in total that 
must be fixed.
.{color:green}+1{color} There are no new bugs found in [server].
.{color:red}-1{color} There are [1] new bugs found below threshold in 
[client] that must be fixed.
.You can find the FindBugs diff here (look for the red and orange ones): 
client/findbugs-new.html
.The most important FindBugs errors are:
.At OozieClient.java:[line 1040]: Found reliance on default encoding in 
org.apache.oozie.client.OozieClient$WorkflowActionRetriesInfo.call(HttpURLConnection):
 new java.io.InputStreamReader(InputStream)
.{color:orange}0{color} There are [2] new bugs found in [core] that would 
be nice to have fixed.
.You can find the FindBugs diff here: core/findbugs-new.html
.{color:green}+1{color} There are no new bugs found in [docs].
.{color:green}+1{color} There are no new bugs found in 
[hadooplibs/hadoop-utils-2].
.{color:green}+1{color} There are no new bugs found in [tools].
.{color:green}+1{color} There are no new bugs found in [examples].
.{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/sqoop].
.{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/oozie].
.{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/hive].
.{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/pig].
.{color:green}+1{color} There are no new bugs found in [sharelib/spark].
{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: 1840
.Tests failed: 17
.Tests errors: 0

.The patch failed the following testcases:

.  testWfActionRetries(org.apache.oozie.client.TestOozieCLI)
.  testSubmit(org.apache.oozie.TestDagEngine)
.  
testActionCheckerService(org.apache.oozie.service.TestActionCheckerService)
.  
testActionCheckerServiceDelay(org.apache.oozie.service.TestActionCheckerService)
.  
testWorkflowActionRecoveryService(org.apache.oozie.service.TestRecoveryService)
.  testPurgeServiceForWorkflow(org.apache.oozie.service.TestPurgeService)
.  testStartNonTransient(org.apache.oozie.command.wf.TestActionErrors)
.  testEndNonTransient(org.apache.oozie.command.wf.TestActionErrors)
.  
testEndNonTransientWithCoordActionUpdate(org.apache.oozie.command.wf.TestActionErrors)
.  testEndTransient(org.apache.oozie.command.wf.TestActionErrors)
.  testEndError(org.apache.oozie.command.wf.TestActionErrors)
.  testEndErrorWithUserRetry(org.apache.oozie.command.wf.TestActionErrors)
.  testExecutionDataNotSet(org.apache.oozie.command.wf.TestActionErrors)
.  testEndDataNotSet(org.apache.oozie.command.wf.TestActionErrors)
.  testKillNodeErrorMessage(org.apache.oozie.command.wf.TestActionErrors)
.  
testKillNodeErrorMessageError(org.apache.oozie.command.wf.TestActionErrors)
.  
testKillNodeErrorMessageError2(org.apache.oozie.command.wf.TestActionErrors)

.Tests failing with errors:
.  

{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

.   

Build failed in Jenkins: oozie-trunk-precommit-build #3561

2017-01-20 Thread Apache Jenkins Server
See 

--
[...truncated 14805 lines...]
[WARNING] Entry: 
oozie-4.4.0-SNAPSHOT/embedded-oozie-server/webapp/docs/core/apidocs/src-html/org/apache/oozie/jms/JMSSLAEventListener.html
 longer than 100 characters.
[WARNING] Entry: 
oozie-4.4.0-SNAPSHOT/embedded-oozie-server/webapp/docs/core/apidocs/src-html/org/apache/oozie/dependency/URIHandlerException.html
 longer than 100 characters.
[WARNING] Entry: 
oozie-4.4.0-SNAPSHOT/embedded-oozie-server/webapp/docs/core/apidocs/src-html/org/apache/oozie/dependency/URIHandler.html
 longer than 100 characters.
[WARNING] Entry: 
oozie-4.4.0-SNAPSHOT/embedded-oozie-server/webapp/docs/core/apidocs/src-html/org/apache/oozie/dependency/DependencyChecker.html
 longer than 100 characters.
[WARNING] Entry: 
oozie-4.4.0-SNAPSHOT/embedded-oozie-server/webapp/docs/core/apidocs/src-html/org/apache/oozie/dependency/hcat/WaitingActions.html
 longer than 100 characters.
[WARNING] Entry: 
oozie-4.4.0-SNAPSHOT/embedded-oozie-server/webapp/docs/core/apidocs/src-html/org/apache/oozie/dependency/hcat/SimpleHCatDependencyCache.html
 longer than 100 characters.
[WARNING] Entry: 
oozie-4.4.0-SNAPSHOT/embedded-oozie-server/webapp/docs/core/apidocs/src-html/org/apache/oozie/dependency/hcat/EhcacheHCatDependencyCache.html
 longer than 100 characters.
[WARNING] Entry: 
oozie-4.4.0-SNAPSHOT/embedded-oozie-server/webapp/docs/core/apidocs/src-html/org/apache/oozie/dependency/hcat/HCatDependencyCache.html
 longer than 100 characters.
[WARNING] Entry: 
oozie-4.4.0-SNAPSHOT/embedded-oozie-server/webapp/docs/core/apidocs/src-html/org/apache/oozie/dependency/hcat/HCatMessageHandler.html
 longer than 100 characters.
[WARNING] Entry: 
oozie-4.4.0-SNAPSHOT/embedded-oozie-server/webapp/docs/core/apidocs/src-html/org/apache/oozie/dependency/hcat/WaitingAction.html
 longer than 100 characters.
[WARNING] Entry: 
oozie-4.4.0-SNAPSHOT/embedded-oozie-server/webapp/docs/core/apidocs/src-html/org/apache/oozie/dependency/ActionDependency.html
 longer than 100 characters.
[WARNING] Entry: 
oozie-4.4.0-SNAPSHOT/embedded-oozie-server/webapp/docs/core/apidocs/src-html/org/apache/oozie/dependency/FSURIHandler.html
 longer than 100 characters.
[WARNING] Entry: 
oozie-4.4.0-SNAPSHOT/embedded-oozie-server/webapp/docs/core/apidocs/src-html/org/apache/oozie/dependency/URIHandler.Context.html
 longer than 100 characters.
[WARNING] Entry: 
oozie-4.4.0-SNAPSHOT/embedded-oozie-server/webapp/docs/core/apidocs/src-html/org/apache/oozie/dependency/HCatURIHandler.html
 longer than 100 characters.
[WARNING] Entry: 
oozie-4.4.0-SNAPSHOT/embedded-oozie-server/webapp/docs/core/apidocs/src-html/org/apache/oozie/dependency/URIHandler.DependencyType.html
 longer than 100 characters.
[WARNING] Entry: 
oozie-4.4.0-SNAPSHOT/embedded-oozie-server/webapp/docs/core/apidocs/src-html/org/apache/oozie/DagEngine.html
 longer than 100 characters.
[WARNING] Entry: 
oozie-4.4.0-SNAPSHOT/embedded-oozie-server/webapp/docs/core/apidocs/src-html/org/apache/oozie/WorkflowActionBean.html
 longer than 100 characters.
[WARNING] Entry: 
oozie-4.4.0-SNAPSHOT/embedded-oozie-server/webapp/docs/core/apidocs/src-html/org/apache/oozie/XException.html
 longer than 100 characters.
[WARNING] Entry: 
oozie-4.4.0-SNAPSHOT/embedded-oozie-server/webapp/docs/core/apidocs/src-html/org/apache/oozie/BaseEngine.html
 longer than 100 characters.
[WARNING] Entry: 
oozie-4.4.0-SNAPSHOT/embedded-oozie-server/webapp/docs/core/apidocs/src-html/org/apache/oozie/WorkflowJobBean.html
 longer than 100 characters.
[WARNING] Entry: 
oozie-4.4.0-SNAPSHOT/embedded-oozie-server/webapp/console/sla/js/table/jquery-ui-timepicker-addon.js
 longer than 100 characters.
[WARNING] Entry: 
oozie-4.4.0-SNAPSHOT/embedded-oozie-server/webapp/console/sla/js/table/jquery-ui-1.10.3.custom.min.js
 longer than 100 characters.
[WARNING] Entry: 
oozie-4.4.0-SNAPSHOT/embedded-oozie-server/webapp/console/sla/css/images/ui-bg_glass_100_f6f6f6_1x400.png
 longer than 100 characters.
[WARNING] Entry: 
oozie-4.4.0-SNAPSHOT/embedded-oozie-server/webapp/console/sla/css/images/ui-bg_flat_100_DEECFD_40x100.png
 longer than 100 characters.
[WARNING] Entry: 
oozie-4.4.0-SNAPSHOT/embedded-oozie-server/webapp/console/sla/css/images/ui-icons_22_256x240.png
 longer than 100 characters.
[WARNING] Entry: 
oozie-4.4.0-SNAPSHOT/embedded-oozie-server/webapp/console/sla/css/images/ui-bg_glass_65_ff_1x400.png
 longer than 100 characters.
[WARNING] Entry: 
oozie-4.4.0-SNAPSHOT/embedded-oozie-server/webapp/console/sla/css/images/ui-bg_highlight-soft_100_ee_1x100.png
 longer than 100 characters.
[INFO] 
[INFO] 
[INFO] Building Apache Oozie ZooKeeper Security Tests 4.4.0-SNAPSHOT
[INFO] 
[INFO] 
[INFO] --- 

[jira] [Updated] (OOZIE-2691) Show workflow action retry information in UI

2017-01-20 Thread Purshotam Shah (JIRA)

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

Purshotam Shah updated OOZIE-2691:
--
Attachment: OOZIE-2691-V6.patch

> Show workflow action retry information in UI
> 
>
> Key: OOZIE-2691
> URL: https://issues.apache.org/jira/browse/OOZIE-2691
> Project: Oozie
>  Issue Type: New Feature
>Reporter: Purshotam Shah
>Assignee: Purshotam Shah
> Attachments: Action Retries - webservice.png, OOZIE-2691-V1.patch, 
> OOZIE-2691-V2.patch, OOZIE-2691-V3.patch, OOZIE-2691-V5.patch, 
> OOZIE-2691-V6.patch, screenshot.png, UI.png
>
>
> CLI
> {code}
> $ oozie job -info 000-161212175234862-oozie-puru-W@:start: -oozie 
> http://localhost:11000/oozie -retries
> ID : 000-161212175234862-oozie-puru-W@:start:
> No Retries
> ---
> $ oozie job -info 000-161212175234862-oozie-puru-W@pig-node -oozie 
> http://localhost:11000/oozie -retries
> ID : 000-161212175234862-oozie-puru-W@pig-node
> ---
> Retry  : 1
> Start Time : Tue, 13 Dec 2016 01:54:13 GMT
> End Time   : Tue, 13 Dec 2016 01:54:20 GMT
> Console URL: 
> http://localhost:50030/jobdetails.jsp?jobid=job_201612051339_2648
> ---
> Retry  : 2
> Start Time : Tue, 13 Dec 2016 01:55:20 GMT
> End Time   : Tue, 13 Dec 2016 01:55:24 GMT
> Console URL: 
> http://localhost:50030/jobdetails.jsp?jobid=job_201612051339_2649
> ---
> Retry  : 3
> Start Time : Tue, 13 Dec 2016 01:56:24 GMT
> End Time   : Tue, 13 Dec 2016 01:56:27 GMT
> Console URL: 
> http://localhost:50030/jobdetails.jsp?jobid=job_201612051339_2650
> ---
> $ 
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (OOZIE-2691) Show workflow action retry information in UI

2017-01-20 Thread Purshotam Shah (JIRA)

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

Purshotam Shah updated OOZIE-2691:
--
Attachment: (was: OOZIE-2691-V6.patch)

> Show workflow action retry information in UI
> 
>
> Key: OOZIE-2691
> URL: https://issues.apache.org/jira/browse/OOZIE-2691
> Project: Oozie
>  Issue Type: New Feature
>Reporter: Purshotam Shah
>Assignee: Purshotam Shah
> Attachments: Action Retries - webservice.png, OOZIE-2691-V1.patch, 
> OOZIE-2691-V2.patch, OOZIE-2691-V3.patch, OOZIE-2691-V5.patch, 
> screenshot.png, UI.png
>
>
> CLI
> {code}
> $ oozie job -info 000-161212175234862-oozie-puru-W@:start: -oozie 
> http://localhost:11000/oozie -retries
> ID : 000-161212175234862-oozie-puru-W@:start:
> No Retries
> ---
> $ oozie job -info 000-161212175234862-oozie-puru-W@pig-node -oozie 
> http://localhost:11000/oozie -retries
> ID : 000-161212175234862-oozie-puru-W@pig-node
> ---
> Retry  : 1
> Start Time : Tue, 13 Dec 2016 01:54:13 GMT
> End Time   : Tue, 13 Dec 2016 01:54:20 GMT
> Console URL: 
> http://localhost:50030/jobdetails.jsp?jobid=job_201612051339_2648
> ---
> Retry  : 2
> Start Time : Tue, 13 Dec 2016 01:55:20 GMT
> End Time   : Tue, 13 Dec 2016 01:55:24 GMT
> Console URL: 
> http://localhost:50030/jobdetails.jsp?jobid=job_201612051339_2649
> ---
> Retry  : 3
> Start Time : Tue, 13 Dec 2016 01:56:24 GMT
> End Time   : Tue, 13 Dec 2016 01:56:27 GMT
> Console URL: 
> http://localhost:50030/jobdetails.jsp?jobid=job_201612051339_2650
> ---
> $ 
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (OOZIE-2771) Allow retrieving keystore and truststore passwords from Hadoop Credential Provider

2017-01-20 Thread Hadoop QA (JIRA)

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

Hadoop QA commented on OOZIE-2771:
--

Testing JIRA OOZIE-2771

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{color} There are no new bugs found in total.
.{color:green}+1{color} There are no new bugs found in [core].
.{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: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/hive2].
.{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/hcatalog].
.{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/distcp].
.{color:green}+1{color} There are no new bugs found in [examples].
.{color:green}+1{color} There are no new bugs found in 
[hadooplibs/hadoop-utils-2].
.{color:green}+1{color} There are no new bugs found in [tools].
.{color:green}+1{color} There are no new bugs found in [server].
{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: 1838
.Tests failed: 2
.Tests errors: 5

.The patch failed the following testcases:

.  
testMemoryUsageAndSpeed(org.apache.oozie.service.TestPartitionDependencyManagerEhcache)
.  
testMemoryUsageAndSpeed(org.apache.oozie.service.TestPartitionDependencyManagerService)

.Tests failing with errors:
.  testSqoopEval(org.apache.oozie.action.hadoop.TestSqoopActionExecutor)
.  testSqoopAction(org.apache.oozie.action.hadoop.TestSqoopActionExecutor)
.  
testSqoopActionFreeFormQuery(org.apache.oozie.action.hadoop.TestSqoopActionExecutor)
.  testPyspark(org.apache.oozie.action.hadoop.TestPyspark)
.  testSparkAction(org.apache.oozie.action.hadoop.TestSparkActionExecutor)

{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/3558/

> Allow retrieving keystore and truststore passwords from Hadoop Credential 
> Provider
> --
>
> Key: OOZIE-2771
> URL: https://issues.apache.org/jira/browse/OOZIE-2771
> Project: Oozie
>  Issue Type: Improvement
>Reporter: Attila Sasvari
>Assignee: Attila Sasvari
> Attachments: OOZIE-2771-01.patch
>
>
> Right now passwords for keystore and truststore 
> ({{oozie.https.keystore.pass}}, {{oozie.https.truststore.pass}}) are stored 
> in {{oozie-site.xml}} as cleartext.
> However, Oozie could take advantage of the Hadoop Credential Provider for 
> storing and retrieving that passwords similarly how the JDBC password 
> ({{oozie.service.JPAService.jdbc.password}}) is handled today (see 
> https://issues.apache.org/jira/browse/OOZIE-2272).
> This way keystore and truststore passwords could be masked in oozie-site.
> Note: {{ConfigurationService.getPassword}} is worth to look at.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


Build failed in Jenkins: oozie-trunk-precommit-build #3558

2017-01-20 Thread Apache Jenkins Server
See 

--
[...truncated 14664 lines...]
[WARNING] Entry: 
oozie-4.4.0-SNAPSHOT/embedded-oozie-server/webapp/docs/client/apidocs/src-html/org/apache/oozie/client/event/message/EventMessage.html
 longer than 100 characters.
[WARNING] Entry: 
oozie-4.4.0-SNAPSHOT/embedded-oozie-server/webapp/docs/client/apidocs/src-html/org/apache/oozie/client/event/message/JobMessage.html
 longer than 100 characters.
[WARNING] Entry: 
oozie-4.4.0-SNAPSHOT/embedded-oozie-server/webapp/docs/client/apidocs/src-html/org/apache/oozie/client/event/message/CoordinatorActionMessage.html
 longer than 100 characters.
[WARNING] Entry: 
oozie-4.4.0-SNAPSHOT/embedded-oozie-server/webapp/docs/client/apidocs/src-html/org/apache/oozie/client/event/message/SLAMessage.html
 longer than 100 characters.
[WARNING] Entry: 
oozie-4.4.0-SNAPSHOT/embedded-oozie-server/webapp/docs/client/apidocs/src-html/org/apache/oozie/client/event/message/WorkflowJobMessage.html
 longer than 100 characters.
[WARNING] Entry: 
oozie-4.4.0-SNAPSHOT/embedded-oozie-server/webapp/docs/client/apidocs/src-html/org/apache/oozie/client/event/SLAEvent.SLAStatus.html
 longer than 100 characters.
[WARNING] Entry: 
oozie-4.4.0-SNAPSHOT/embedded-oozie-server/webapp/docs/client/apidocs/src-html/org/apache/oozie/client/event/SLAEvent.html
 longer than 100 characters.
[WARNING] Entry: 
oozie-4.4.0-SNAPSHOT/embedded-oozie-server/webapp/docs/client/apidocs/src-html/org/apache/oozie/client/event/jms/JMSMessagingUtils.html
 longer than 100 characters.
[WARNING] Entry: 
oozie-4.4.0-SNAPSHOT/embedded-oozie-server/webapp/docs/client/apidocs/src-html/org/apache/oozie/client/event/jms/JMSHeaderConstants.html
 longer than 100 characters.
[WARNING] Entry: 
oozie-4.4.0-SNAPSHOT/embedded-oozie-server/webapp/docs/client/apidocs/src-html/org/apache/oozie/client/event/jms/JSONMessageDeserializer.html
 longer than 100 characters.
[WARNING] Entry: 
oozie-4.4.0-SNAPSHOT/embedded-oozie-server/webapp/docs/client/apidocs/src-html/org/apache/oozie/client/event/jms/MessageDeserializer.html
 longer than 100 characters.
[WARNING] Entry: 
oozie-4.4.0-SNAPSHOT/embedded-oozie-server/webapp/docs/client/apidocs/src-html/org/apache/oozie/client/event/JobEvent.EventStatus.html
 longer than 100 characters.
[WARNING] Entry: 
oozie-4.4.0-SNAPSHOT/embedded-oozie-server/webapp/docs/client/apidocs/src-html/org/apache/oozie/client/event/Event.MessageType.html
 longer than 100 characters.
[WARNING] Entry: 
oozie-4.4.0-SNAPSHOT/embedded-oozie-server/webapp/docs/client/apidocs/src-html/org/apache/oozie/client/event/Event.html
 longer than 100 characters.
[WARNING] Entry: 
oozie-4.4.0-SNAPSHOT/embedded-oozie-server/webapp/docs/client/apidocs/src-html/org/apache/oozie/client/event/JobEvent.html
 longer than 100 characters.
[WARNING] Entry: 
oozie-4.4.0-SNAPSHOT/embedded-oozie-server/webapp/docs/client/apidocs/src-html/org/apache/oozie/client/event/SLAEvent.EventStatus.html
 longer than 100 characters.
[WARNING] Entry: 
oozie-4.4.0-SNAPSHOT/embedded-oozie-server/webapp/docs/client/apidocs/src-html/org/apache/oozie/BuildInfo.html
 longer than 100 characters.
[WARNING] Entry: 
oozie-4.4.0-SNAPSHOT/embedded-oozie-server/webapp/docs/client/apidocs/src-html/org/apache/oozie/cli/OozieCLI.html
 longer than 100 characters.
[WARNING] Entry: 
oozie-4.4.0-SNAPSHOT/embedded-oozie-server/webapp/docs/client/apidocs/src-html/org/apache/oozie/cli/CLIParser.html
 longer than 100 characters.
[WARNING] Entry: 
oozie-4.4.0-SNAPSHOT/embedded-oozie-server/webapp/docs/client/apidocs/src-html/org/apache/oozie/cli/OozieCLIException.html
 longer than 100 characters.
[WARNING] Entry: 
oozie-4.4.0-SNAPSHOT/embedded-oozie-server/webapp/docs/client/apidocs/src-html/org/apache/oozie/cli/CLIParser.Command.html
 longer than 100 characters.
[WARNING] Entry: 
oozie-4.4.0-SNAPSHOT/embedded-oozie-server/webapp/WEB-INF/lib/geronimo-annotation_1.0_spec-1.1.1.jar
 longer than 100 characters.
[WARNING] Entry: 
oozie-4.4.0-SNAPSHOT/embedded-oozie-server/webapp/WEB-INF/lib/oozie-sharelib-sqoop-4.4.0-SNAPSHOT.jar
 longer than 100 characters.
[WARNING] Entry: 
oozie-4.4.0-SNAPSHOT/embedded-oozie-server/webapp/WEB-INF/lib/oozie-sharelib-distcp-4.4.0-SNAPSHOT.jar
 longer than 100 characters.
[WARNING] Entry: 
oozie-4.4.0-SNAPSHOT/embedded-oozie-server/webapp/WEB-INF/lib/oozie-sharelib-streaming-4.4.0-SNAPSHOT.jar
 longer than 100 characters.
[WARNING] Entry: 
oozie-4.4.0-SNAPSHOT/embedded-oozie-server/webapp/WEB-INF/lib/oozie-sharelib-oozie-4.4.0-SNAPSHOT.jar
 longer than 100 characters.
[WARNING] Entry: 
oozie-4.4.0-SNAPSHOT/embedded-oozie-server/webapp/WEB-INF/lib/oozie-sharelib-hive-4.4.0-SNAPSHOT.jar
 longer than 100 characters.
[WARNING] Entry: 
oozie-4.4.0-SNAPSHOT/embedded-oozie-server/webapp/WEB-INF/lib/oozie-hadoop-utils-hadoop-2-4.4.0-SNAPSHOT.jar
 longer than 100 characters.
[WARNING] Entry: 

[jira] [Commented] (OOZIE-2691) Show workflow action retry information in UI

2017-01-20 Thread Hadoop QA (JIRA)

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

Hadoop QA commented on OOZIE-2691:
--

Testing JIRA OOZIE-2691

Cleaning local git workspace



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



> Show workflow action retry information in UI
> 
>
> Key: OOZIE-2691
> URL: https://issues.apache.org/jira/browse/OOZIE-2691
> Project: Oozie
>  Issue Type: New Feature
>Reporter: Purshotam Shah
>Assignee: Purshotam Shah
> Attachments: Action Retries - webservice.png, OOZIE-2691-V1.patch, 
> OOZIE-2691-V2.patch, OOZIE-2691-V3.patch, OOZIE-2691-V5.patch, 
> OOZIE-2691-V6.patch, screenshot.png, UI.png
>
>
> CLI
> {code}
> $ oozie job -info 000-161212175234862-oozie-puru-W@:start: -oozie 
> http://localhost:11000/oozie -retries
> ID : 000-161212175234862-oozie-puru-W@:start:
> No Retries
> ---
> $ oozie job -info 000-161212175234862-oozie-puru-W@pig-node -oozie 
> http://localhost:11000/oozie -retries
> ID : 000-161212175234862-oozie-puru-W@pig-node
> ---
> Retry  : 1
> Start Time : Tue, 13 Dec 2016 01:54:13 GMT
> End Time   : Tue, 13 Dec 2016 01:54:20 GMT
> Console URL: 
> http://localhost:50030/jobdetails.jsp?jobid=job_201612051339_2648
> ---
> Retry  : 2
> Start Time : Tue, 13 Dec 2016 01:55:20 GMT
> End Time   : Tue, 13 Dec 2016 01:55:24 GMT
> Console URL: 
> http://localhost:50030/jobdetails.jsp?jobid=job_201612051339_2649
> ---
> Retry  : 3
> Start Time : Tue, 13 Dec 2016 01:56:24 GMT
> End Time   : Tue, 13 Dec 2016 01:56:27 GMT
> Console URL: 
> http://localhost:50030/jobdetails.jsp?jobid=job_201612051339_2650
> ---
> $ 
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


Build failed in Jenkins: oozie-trunk-precommit-build #3560

2017-01-20 Thread Apache Jenkins Server
See 

--
[...truncated 4530 lines...]
[INFO] 
[INFO] <<< findbugs-maven-plugin:3.0.0:check (findbug) < :findbugs @ 
oozie-server <<<
[INFO] 
[INFO] --- findbugs-maven-plugin:3.0.0:check (findbug) @ oozie-server ---
[INFO] BugInstance size is 0
[INFO] Error size is 0
[INFO] No errors/warnings found
[INFO] 
[INFO] --- xml-maven-plugin:1.0:transform (default) @ oozie-server ---
Warning:  org.apache.xerces.parsers.SAXParser: Feature 
'http://javax.xml.XMLConstants/feature/secure-processing' is not recognized.
Warning:  org.apache.xerces.parsers.SAXParser: Property 
'http://javax.xml.XMLConstants/property/accessExternalDTD' is not recognized.
Warning:  org.apache.xerces.parsers.SAXParser: Property 
'http://www.oracle.com/xml/jaxp/properties/entityExpansionLimit' is not 
recognized.
[INFO] Transforming file: 

[INFO] Transformed 1 file(s).
[INFO] 
[INFO] --- maven-checkstyle-plugin:2.9.1:check (default) @ oozie-server ---
[INFO] Starting audit...
Audit done.

[INFO] 
[INFO] 
[INFO] Building Apache Oozie Distro 4.4.0-SNAPSHOT
[INFO] 
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ oozie-distro ---
[INFO] Deleting 

[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ oozie-distro 
---
[INFO] 
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ 
oozie-distro ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 

[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ oozie-distro 
---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ 
oozie-distro ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 

[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ 
oozie-distro ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-surefire-plugin:2.12.2:test (default-test) @ oozie-distro ---
[INFO] Tests are skipped.
[INFO] 
[INFO] --- maven-jar-plugin:2.3.1:jar (default-jar) @ oozie-distro ---
[INFO] Building jar: 

[INFO] 
[INFO] --- maven-site-plugin:2.0-beta-6:attach-descriptor (attach-descriptor) @ 
oozie-distro ---
[INFO] 
[INFO] >>> findbugs-maven-plugin:3.0.0:check (findbug) > :findbugs @ 
oozie-distro >>>
[INFO] 
[INFO] --- findbugs-maven-plugin:3.0.0:findbugs (findbugs) @ oozie-distro ---
[INFO] 
[INFO] <<< findbugs-maven-plugin:3.0.0:check (findbug) < :findbugs @ 
oozie-distro <<<
[INFO] 
[INFO] --- findbugs-maven-plugin:3.0.0:check (findbug) @ oozie-distro ---
[INFO] 
[INFO] --- xml-maven-plugin:1.0:transform (default) @ oozie-distro ---
[WARNING] The directory 

 which is a base directory of a ValidationSet or TransformationSet, does not 
exist.
[WARNING] No files found for transformation by stylesheet fancy-hist.xsl
[INFO] 
[INFO] --- maven-checkstyle-plugin:2.9.1:check (default) @ oozie-distro ---
[INFO] Starting audit...
Audit done.

[INFO] 
[INFO] 
[INFO] Building Apache Oozie ZooKeeper Security Tests 4.4.0-SNAPSHOT
[INFO] 
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ 
oozie-zookeeper-security-tests ---
[INFO] Deleting 

[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ 
oozie-zookeeper-security-tests ---
[INFO] 
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ 
oozie-zookeeper-security-tests ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 

[INFO] Copying 3 resources
[INFO] 
[INFO] --- 

[jira] [Commented] (OOZIE-2691) Show workflow action retry information in UI

2017-01-20 Thread Hadoop QA (JIRA)

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

Hadoop QA commented on OOZIE-2691:
--

Testing JIRA OOZIE-2691

Cleaning local git workspace



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



> Show workflow action retry information in UI
> 
>
> Key: OOZIE-2691
> URL: https://issues.apache.org/jira/browse/OOZIE-2691
> Project: Oozie
>  Issue Type: New Feature
>Reporter: Purshotam Shah
>Assignee: Purshotam Shah
> Attachments: Action Retries - webservice.png, OOZIE-2691-V1.patch, 
> OOZIE-2691-V2.patch, OOZIE-2691-V3.patch, OOZIE-2691-V5.patch, 
> OOZIE-2691-V6.patch, screenshot.png, UI.png
>
>
> CLI
> {code}
> $ oozie job -info 000-161212175234862-oozie-puru-W@:start: -oozie 
> http://localhost:11000/oozie -retries
> ID : 000-161212175234862-oozie-puru-W@:start:
> No Retries
> ---
> $ oozie job -info 000-161212175234862-oozie-puru-W@pig-node -oozie 
> http://localhost:11000/oozie -retries
> ID : 000-161212175234862-oozie-puru-W@pig-node
> ---
> Retry  : 1
> Start Time : Tue, 13 Dec 2016 01:54:13 GMT
> End Time   : Tue, 13 Dec 2016 01:54:20 GMT
> Console URL: 
> http://localhost:50030/jobdetails.jsp?jobid=job_201612051339_2648
> ---
> Retry  : 2
> Start Time : Tue, 13 Dec 2016 01:55:20 GMT
> End Time   : Tue, 13 Dec 2016 01:55:24 GMT
> Console URL: 
> http://localhost:50030/jobdetails.jsp?jobid=job_201612051339_2649
> ---
> Retry  : 3
> Start Time : Tue, 13 Dec 2016 01:56:24 GMT
> End Time   : Tue, 13 Dec 2016 01:56:27 GMT
> Console URL: 
> http://localhost:50030/jobdetails.jsp?jobid=job_201612051339_2650
> ---
> $ 
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


Build failed in Jenkins: oozie-trunk-precommit-build #3559

2017-01-20 Thread Apache Jenkins Server
See 

--
[...truncated 4523 lines...]
[INFO] 
[INFO] <<< findbugs-maven-plugin:3.0.0:check (findbug) < :findbugs @ 
oozie-server <<<
[INFO] 
[INFO] --- findbugs-maven-plugin:3.0.0:check (findbug) @ oozie-server ---
[INFO] BugInstance size is 0
[INFO] Error size is 0
[INFO] No errors/warnings found
[INFO] 
[INFO] --- xml-maven-plugin:1.0:transform (default) @ oozie-server ---
Warning:  org.apache.xerces.parsers.SAXParser: Feature 
'http://javax.xml.XMLConstants/feature/secure-processing' is not recognized.
Warning:  org.apache.xerces.parsers.SAXParser: Property 
'http://javax.xml.XMLConstants/property/accessExternalDTD' is not recognized.
Warning:  org.apache.xerces.parsers.SAXParser: Property 
'http://www.oracle.com/xml/jaxp/properties/entityExpansionLimit' is not 
recognized.
[INFO] Transforming file: 

[INFO] Transformed 1 file(s).
[INFO] 
[INFO] --- maven-checkstyle-plugin:2.9.1:check (default) @ oozie-server ---
[INFO] Starting audit...
Audit done.

[INFO] 
[INFO] 
[INFO] Building Apache Oozie Distro 4.4.0-SNAPSHOT
[INFO] 
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ oozie-distro ---
[INFO] Deleting 

[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ oozie-distro 
---
[INFO] 
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ 
oozie-distro ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 

[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ oozie-distro 
---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ 
oozie-distro ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 

[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ 
oozie-distro ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-surefire-plugin:2.12.2:test (default-test) @ oozie-distro ---
[INFO] Tests are skipped.
[INFO] 
[INFO] --- maven-jar-plugin:2.3.1:jar (default-jar) @ oozie-distro ---
[INFO] Building jar: 

[INFO] 
[INFO] --- maven-site-plugin:2.0-beta-6:attach-descriptor (attach-descriptor) @ 
oozie-distro ---
[INFO] 
[INFO] >>> findbugs-maven-plugin:3.0.0:check (findbug) > :findbugs @ 
oozie-distro >>>
[INFO] 
[INFO] --- findbugs-maven-plugin:3.0.0:findbugs (findbugs) @ oozie-distro ---
[INFO] 
[INFO] <<< findbugs-maven-plugin:3.0.0:check (findbug) < :findbugs @ 
oozie-distro <<<
[INFO] 
[INFO] --- findbugs-maven-plugin:3.0.0:check (findbug) @ oozie-distro ---
[INFO] 
[INFO] --- xml-maven-plugin:1.0:transform (default) @ oozie-distro ---
[WARNING] The directory 

 which is a base directory of a ValidationSet or TransformationSet, does not 
exist.
[WARNING] No files found for transformation by stylesheet fancy-hist.xsl
[INFO] 
[INFO] --- maven-checkstyle-plugin:2.9.1:check (default) @ oozie-distro ---
[INFO] Starting audit...
Audit done.

[INFO] 
[INFO] 
[INFO] Building Apache Oozie ZooKeeper Security Tests 4.4.0-SNAPSHOT
[INFO] 
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ 
oozie-zookeeper-security-tests ---
[INFO] Deleting 

[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ 
oozie-zookeeper-security-tests ---
[INFO] 
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ 
oozie-zookeeper-security-tests ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 

[INFO] Copying 3 resources
[INFO] 
[INFO] --- 

[jira] [Updated] (OOZIE-2691) Show workflow action retry information in UI

2017-01-20 Thread Purshotam Shah (JIRA)

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

Purshotam Shah updated OOZIE-2691:
--
Attachment: OOZIE-2691-V6.patch

> Show workflow action retry information in UI
> 
>
> Key: OOZIE-2691
> URL: https://issues.apache.org/jira/browse/OOZIE-2691
> Project: Oozie
>  Issue Type: New Feature
>Reporter: Purshotam Shah
>Assignee: Purshotam Shah
> Attachments: Action Retries - webservice.png, OOZIE-2691-V1.patch, 
> OOZIE-2691-V2.patch, OOZIE-2691-V3.patch, OOZIE-2691-V5.patch, 
> OOZIE-2691-V6.patch, screenshot.png, UI.png
>
>
> CLI
> {code}
> $ oozie job -info 000-161212175234862-oozie-puru-W@:start: -oozie 
> http://localhost:11000/oozie -retries
> ID : 000-161212175234862-oozie-puru-W@:start:
> No Retries
> ---
> $ oozie job -info 000-161212175234862-oozie-puru-W@pig-node -oozie 
> http://localhost:11000/oozie -retries
> ID : 000-161212175234862-oozie-puru-W@pig-node
> ---
> Retry  : 1
> Start Time : Tue, 13 Dec 2016 01:54:13 GMT
> End Time   : Tue, 13 Dec 2016 01:54:20 GMT
> Console URL: 
> http://localhost:50030/jobdetails.jsp?jobid=job_201612051339_2648
> ---
> Retry  : 2
> Start Time : Tue, 13 Dec 2016 01:55:20 GMT
> End Time   : Tue, 13 Dec 2016 01:55:24 GMT
> Console URL: 
> http://localhost:50030/jobdetails.jsp?jobid=job_201612051339_2649
> ---
> Retry  : 3
> Start Time : Tue, 13 Dec 2016 01:56:24 GMT
> End Time   : Tue, 13 Dec 2016 01:56:27 GMT
> Console URL: 
> http://localhost:50030/jobdetails.jsp?jobid=job_201612051339_2650
> ---
> $ 
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (OOZIE-2691) Show workflow action retry information in UI

2017-01-20 Thread Rohini Palaniswamy (JIRA)

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

Rohini Palaniswamy updated OOZIE-2691:
--
Summary: Show workflow action retry information in UI  (was: Show workflow 
action retry count to UI)

> Show workflow action retry information in UI
> 
>
> Key: OOZIE-2691
> URL: https://issues.apache.org/jira/browse/OOZIE-2691
> Project: Oozie
>  Issue Type: New Feature
>Reporter: Purshotam Shah
>Assignee: Purshotam Shah
> Attachments: Action Retries - webservice.png, OOZIE-2691-V1.patch, 
> OOZIE-2691-V2.patch, OOZIE-2691-V3.patch, OOZIE-2691-V5.patch, 
> OOZIE-2691-V6.patch, screenshot.png, UI.png
>
>
> CLI
> {code}
> $ oozie job -info 000-161212175234862-oozie-puru-W@:start: -oozie 
> http://localhost:11000/oozie -retries
> ID : 000-161212175234862-oozie-puru-W@:start:
> No Retries
> ---
> $ oozie job -info 000-161212175234862-oozie-puru-W@pig-node -oozie 
> http://localhost:11000/oozie -retries
> ID : 000-161212175234862-oozie-puru-W@pig-node
> ---
> Retry  : 1
> Start Time : Tue, 13 Dec 2016 01:54:13 GMT
> End Time   : Tue, 13 Dec 2016 01:54:20 GMT
> Console URL: 
> http://localhost:50030/jobdetails.jsp?jobid=job_201612051339_2648
> ---
> Retry  : 2
> Start Time : Tue, 13 Dec 2016 01:55:20 GMT
> End Time   : Tue, 13 Dec 2016 01:55:24 GMT
> Console URL: 
> http://localhost:50030/jobdetails.jsp?jobid=job_201612051339_2649
> ---
> Retry  : 3
> Start Time : Tue, 13 Dec 2016 01:56:24 GMT
> End Time   : Tue, 13 Dec 2016 01:56:27 GMT
> Console URL: 
> http://localhost:50030/jobdetails.jsp?jobid=job_201612051339_2650
> ---
> $ 
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (OOZIE-2691) Show workflow action retry count to UI

2017-01-20 Thread Rohini Palaniswamy (JIRA)

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

Rohini Palaniswamy commented on OOZIE-2691:
---

+1 for https://reviews.apache.org/r/54726/diff/4 pending jenkins.  Thanks for 
adding this feature. Would make life lot easier for users when dealing with 
failures and retries.

> Show workflow action retry count to UI
> --
>
> Key: OOZIE-2691
> URL: https://issues.apache.org/jira/browse/OOZIE-2691
> Project: Oozie
>  Issue Type: New Feature
>Reporter: Purshotam Shah
>Assignee: Purshotam Shah
> Attachments: Action Retries - webservice.png, OOZIE-2691-V1.patch, 
> OOZIE-2691-V2.patch, OOZIE-2691-V3.patch, OOZIE-2691-V5.patch, 
> OOZIE-2691-V6.patch, screenshot.png, UI.png
>
>
> CLI
> {code}
> $ oozie job -info 000-161212175234862-oozie-puru-W@:start: -oozie 
> http://localhost:11000/oozie -retries
> ID : 000-161212175234862-oozie-puru-W@:start:
> No Retries
> ---
> $ oozie job -info 000-161212175234862-oozie-puru-W@pig-node -oozie 
> http://localhost:11000/oozie -retries
> ID : 000-161212175234862-oozie-puru-W@pig-node
> ---
> Retry  : 1
> Start Time : Tue, 13 Dec 2016 01:54:13 GMT
> End Time   : Tue, 13 Dec 2016 01:54:20 GMT
> Console URL: 
> http://localhost:50030/jobdetails.jsp?jobid=job_201612051339_2648
> ---
> Retry  : 2
> Start Time : Tue, 13 Dec 2016 01:55:20 GMT
> End Time   : Tue, 13 Dec 2016 01:55:24 GMT
> Console URL: 
> http://localhost:50030/jobdetails.jsp?jobid=job_201612051339_2649
> ---
> Retry  : 3
> Start Time : Tue, 13 Dec 2016 01:56:24 GMT
> End Time   : Tue, 13 Dec 2016 01:56:27 GMT
> Console URL: 
> http://localhost:50030/jobdetails.jsp?jobid=job_201612051339_2650
> ---
> $ 
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


Re: Review Request 54726: OOZIE-2691 Show workflow action retry count to UI

2017-01-20 Thread Rohini Palaniswamy

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/54726/#review162496
---


Ship it!




Ship It!

- Rohini Palaniswamy


On Jan. 20, 2017, 8:44 p.m., Purshotam Shah wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/54726/
> ---
> 
> (Updated Jan. 20, 2017, 8:44 p.m.)
> 
> 
> Review request for oozie.
> 
> 
> Bugs: OOZIE-2691
> https://issues.apache.org/jira/browse/OOZIE-2691
> 
> 
> Repository: oozie-git
> 
> 
> Description
> ---
> 
> Show workflow action retry count to UI
> 
> 
> Diffs
> -
> 
>   client/src/main/java/org/apache/oozie/cli/OozieCLI.java 
> e67fae9e2c7b32c1f209c24b4aba98daba96c06e 
>   client/src/main/java/org/apache/oozie/client/OozieClient.java 
> 12c80cbf422447c8d5c98e6ba95737e127087173 
>   client/src/main/java/org/apache/oozie/client/rest/JsonTags.java 
> 397e9ede8ebf63281c7f56f9cb9ee44c1518a1ed 
>   client/src/main/java/org/apache/oozie/client/rest/RestConstants.java 
> 41293642b06743294e4a640a2c66865b4e64eebd 
>   core/src/main/java/org/apache/oozie/DagEngine.java 
> 7597142551e78e50e727b3076a5ec93a65b04c36 
>   core/src/main/java/org/apache/oozie/command/wf/ActionCheckXCommand.java 
> d0551ff094477d511aa95527adf1071dc2775c6f 
>   core/src/main/java/org/apache/oozie/command/wf/ActionEndXCommand.java 
> 740b8d3f101352e951001af689e541ffbf606b52 
>   core/src/main/java/org/apache/oozie/command/wf/ActionStartXCommand.java 
> edfac48443efcc35c4aa2efbdca142f7d4d051d6 
>   core/src/main/java/org/apache/oozie/command/wf/ActionXCommand.java 
> 836e5d4f3f7d10233a1c1e8a007a44c6f4cfc78e 
>   
> core/src/main/java/org/apache/oozie/command/wf/WorkflowActionRetryInfoXCommand.java
>  e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 
>   core/src/main/java/org/apache/oozie/servlet/BaseJobServlet.java 
> 21105223b1a8a819b4ec091e1a513e5751b51425 
>   core/src/main/java/org/apache/oozie/servlet/V0JobServlet.java 
> 86ff278e6ff3b6ad9f2e7ea1d3e87446e404d122 
>   core/src/main/java/org/apache/oozie/servlet/V1JobServlet.java 
> 60f1029d49f78bff973bd167791cfcdaaa1af60f 
>   core/src/main/java/org/apache/oozie/servlet/V2JobServlet.java 
> 662a7ff26ff802bcdb530af71b52685bad089a6c 
>   core/src/main/java/org/apache/oozie/util/JobUtils.java 
> a7a53b355d194b55959ede20c85d38e02294853d 
>   core/src/test/java/org/apache/oozie/ForTestingActionExecutor.java 
> a70dc0200984798e06101bb0976df94f94a41cbe 
>   core/src/test/java/org/apache/oozie/client/TestOozieCLI.java 
> ce95ff34030c97b56ed9257ebe027833493a9fa1 
>   
> core/src/test/java/org/apache/oozie/command/wf/TestWorkflowActionRetryInfoXCommand.java
>  e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 
>   core/src/test/java/org/apache/oozie/servlet/MockDagEngineService.java 
> 60b7735c5d3fc06c27d4be164c48d90786ae4265 
>   core/src/test/resources/wf-ext-schema.xsd 
> 48aecf570cbd727ee9127aff2d24f02017dfb61d 
>   docs/src/site/twiki/DG_CommandLineTool.twiki 
> 35eee40363ffb8d998df34a693ee318cf70a230f 
>   docs/src/site/twiki/WebServicesAPI.twiki 
> b76e9343087a8c68825d222720543dc6d4d9f27a 
>   webapp/src/main/webapp/oozie-console.js 
> 11c6940bb26c1a8318781ce62926b6e4a185e37c 
> 
> Diff: https://reviews.apache.org/r/54726/diff/
> 
> 
> Testing
> ---
> 
> $ oozie job -info 000-161212175234862-oozie-puru-W@:start: -oozie 
> http://localhost:11000/oozie -retries
> ID : 000-161212175234862-oozie-puru-W@:start:
> No Retries
> 
> $ job -info 000-161212175234862-oozie-puru-W@pig-node -oozie 
> http://localhost:11000/oozie -retries
> ID : 000-161212175234862-oozie-puru-W@pig-node
> 
> Retry  : 1
> Start Time : Tue, 13 Dec 2016 01:54:13 GMT
> End Time   : Tue, 13 Dec 2016 01:54:20 GMT
> Console URL: 
> http://localhost:50030/jobdetails.jsp?jobid=job_201612051339_2648
> 
> Retry  : 2
> Start Time : Tue, 13 Dec 2016 01:55:20 GMT
> End Time   : Tue, 13 Dec 2016 01:55:24 GMT
> Console URL: 
> http://localhost:50030/jobdetails.jsp?jobid=job_201612051339_2649
> 
> Retry  : 3
> Start Time : Tue, 13 Dec 2016 01:56:24 GMT
> End Time   : Tue, 13 Dec 2016 01:56:27 GMT
> Console URL: 
> http://localhost:50030/jobdetails.jsp?jobid=job_201612051339_2650
> 

Re: Review Request 54726: OOZIE-2691 Show workflow action retry count to UI

2017-01-20 Thread Purshotam Shah

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/54726/
---

(Updated Jan. 20, 2017, 8:44 p.m.)


Review request for oozie.


Bugs: OOZIE-2691
https://issues.apache.org/jira/browse/OOZIE-2691


Repository: oozie-git


Description
---

Show workflow action retry count to UI


Diffs (updated)
-

  client/src/main/java/org/apache/oozie/cli/OozieCLI.java 
e67fae9e2c7b32c1f209c24b4aba98daba96c06e 
  client/src/main/java/org/apache/oozie/client/OozieClient.java 
12c80cbf422447c8d5c98e6ba95737e127087173 
  client/src/main/java/org/apache/oozie/client/rest/JsonTags.java 
397e9ede8ebf63281c7f56f9cb9ee44c1518a1ed 
  client/src/main/java/org/apache/oozie/client/rest/RestConstants.java 
41293642b06743294e4a640a2c66865b4e64eebd 
  core/src/main/java/org/apache/oozie/DagEngine.java 
7597142551e78e50e727b3076a5ec93a65b04c36 
  core/src/main/java/org/apache/oozie/command/wf/ActionCheckXCommand.java 
d0551ff094477d511aa95527adf1071dc2775c6f 
  core/src/main/java/org/apache/oozie/command/wf/ActionEndXCommand.java 
740b8d3f101352e951001af689e541ffbf606b52 
  core/src/main/java/org/apache/oozie/command/wf/ActionStartXCommand.java 
edfac48443efcc35c4aa2efbdca142f7d4d051d6 
  core/src/main/java/org/apache/oozie/command/wf/ActionXCommand.java 
836e5d4f3f7d10233a1c1e8a007a44c6f4cfc78e 
  
core/src/main/java/org/apache/oozie/command/wf/WorkflowActionRetryInfoXCommand.java
 e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 
  core/src/main/java/org/apache/oozie/servlet/BaseJobServlet.java 
21105223b1a8a819b4ec091e1a513e5751b51425 
  core/src/main/java/org/apache/oozie/servlet/V0JobServlet.java 
86ff278e6ff3b6ad9f2e7ea1d3e87446e404d122 
  core/src/main/java/org/apache/oozie/servlet/V1JobServlet.java 
60f1029d49f78bff973bd167791cfcdaaa1af60f 
  core/src/main/java/org/apache/oozie/servlet/V2JobServlet.java 
662a7ff26ff802bcdb530af71b52685bad089a6c 
  core/src/main/java/org/apache/oozie/util/JobUtils.java 
a7a53b355d194b55959ede20c85d38e02294853d 
  core/src/test/java/org/apache/oozie/ForTestingActionExecutor.java 
a70dc0200984798e06101bb0976df94f94a41cbe 
  core/src/test/java/org/apache/oozie/client/TestOozieCLI.java 
ce95ff34030c97b56ed9257ebe027833493a9fa1 
  
core/src/test/java/org/apache/oozie/command/wf/TestWorkflowActionRetryInfoXCommand.java
 e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 
  core/src/test/java/org/apache/oozie/servlet/MockDagEngineService.java 
60b7735c5d3fc06c27d4be164c48d90786ae4265 
  core/src/test/resources/wf-ext-schema.xsd 
48aecf570cbd727ee9127aff2d24f02017dfb61d 
  docs/src/site/twiki/DG_CommandLineTool.twiki 
35eee40363ffb8d998df34a693ee318cf70a230f 
  docs/src/site/twiki/WebServicesAPI.twiki 
b76e9343087a8c68825d222720543dc6d4d9f27a 
  webapp/src/main/webapp/oozie-console.js 
11c6940bb26c1a8318781ce62926b6e4a185e37c 

Diff: https://reviews.apache.org/r/54726/diff/


Testing
---

$ oozie job -info 000-161212175234862-oozie-puru-W@:start: -oozie 
http://localhost:11000/oozie -retries
ID : 000-161212175234862-oozie-puru-W@:start:
No Retries

$ job -info 000-161212175234862-oozie-puru-W@pig-node -oozie 
http://localhost:11000/oozie -retries
ID : 000-161212175234862-oozie-puru-W@pig-node

Retry  : 1
Start Time : Tue, 13 Dec 2016 01:54:13 GMT
End Time   : Tue, 13 Dec 2016 01:54:20 GMT
Console URL: 
http://localhost:50030/jobdetails.jsp?jobid=job_201612051339_2648

Retry  : 2
Start Time : Tue, 13 Dec 2016 01:55:20 GMT
End Time   : Tue, 13 Dec 2016 01:55:24 GMT
Console URL: 
http://localhost:50030/jobdetails.jsp?jobid=job_201612051339_2649

Retry  : 3
Start Time : Tue, 13 Dec 2016 01:56:24 GMT
End Time   : Tue, 13 Dec 2016 01:56:27 GMT
Console URL: 
http://localhost:50030/jobdetails.jsp?jobid=job_201612051339_2650

$


Thanks,

Purshotam Shah



Re: Review Request 54726: OOZIE-2691 Show workflow action retry count to UI

2017-01-20 Thread Purshotam Shah


> On Jan. 20, 2017, 8:13 p.m., Purshotam Shah wrote:
> > core/src/main/java/org/apache/oozie/command/wf/ActionXCommand.java, lines 
> > 70-73
> > 
> >
> > My only concern is the number. I don't think putting a number in 
> > between is a good idea. I haven't seen anybody doing that.
> > 
> > Another good option is to use retry.startTime.1
> 
> Rohini Palaniswamy wrote:
> It is fine. Hdfs folks do similar thing with the fs settings. For eg: 
> fs.hdfs.impl, fs.hdfs.impl.disable.cache, fs.s3.impl, 
> fs.s3.impl.disable.cache. The intent of common prefix is for better logical 
> grouping and readability. If you want to get all settings for retry or 
> retry.1 it would be easy to get.

hmmm. In a way retry.startTime.1 doesn't seems that right.
Ok, lets go with retry.1.


- Purshotam


---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/54726/#review162491
---


On Jan. 20, 2017, 6:24 p.m., Purshotam Shah wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/54726/
> ---
> 
> (Updated Jan. 20, 2017, 6:24 p.m.)
> 
> 
> Review request for oozie.
> 
> 
> Bugs: OOZIE-2691
> https://issues.apache.org/jira/browse/OOZIE-2691
> 
> 
> Repository: oozie-git
> 
> 
> Description
> ---
> 
> Show workflow action retry count to UI
> 
> 
> Diffs
> -
> 
>   client/src/main/java/org/apache/oozie/cli/OozieCLI.java 
> e67fae9e2c7b32c1f209c24b4aba98daba96c06e 
>   client/src/main/java/org/apache/oozie/client/OozieClient.java 
> 12c80cbf422447c8d5c98e6ba95737e127087173 
>   client/src/main/java/org/apache/oozie/client/rest/JsonTags.java 
> 397e9ede8ebf63281c7f56f9cb9ee44c1518a1ed 
>   client/src/main/java/org/apache/oozie/client/rest/RestConstants.java 
> 41293642b06743294e4a640a2c66865b4e64eebd 
>   core/src/main/java/org/apache/oozie/DagEngine.java 
> 7597142551e78e50e727b3076a5ec93a65b04c36 
>   core/src/main/java/org/apache/oozie/command/wf/ActionCheckXCommand.java 
> d0551ff094477d511aa95527adf1071dc2775c6f 
>   core/src/main/java/org/apache/oozie/command/wf/ActionEndXCommand.java 
> 740b8d3f101352e951001af689e541ffbf606b52 
>   core/src/main/java/org/apache/oozie/command/wf/ActionStartXCommand.java 
> edfac48443efcc35c4aa2efbdca142f7d4d051d6 
>   core/src/main/java/org/apache/oozie/command/wf/ActionXCommand.java 
> 836e5d4f3f7d10233a1c1e8a007a44c6f4cfc78e 
>   
> core/src/main/java/org/apache/oozie/command/wf/WorkflowActionRetryInfoXCommand.java
>  e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 
>   core/src/main/java/org/apache/oozie/servlet/BaseJobServlet.java 
> 21105223b1a8a819b4ec091e1a513e5751b51425 
>   core/src/main/java/org/apache/oozie/servlet/V0JobServlet.java 
> 86ff278e6ff3b6ad9f2e7ea1d3e87446e404d122 
>   core/src/main/java/org/apache/oozie/servlet/V1JobServlet.java 
> 60f1029d49f78bff973bd167791cfcdaaa1af60f 
>   core/src/main/java/org/apache/oozie/servlet/V2JobServlet.java 
> 662a7ff26ff802bcdb530af71b52685bad089a6c 
>   core/src/main/java/org/apache/oozie/util/JobUtils.java 
> a7a53b355d194b55959ede20c85d38e02294853d 
>   core/src/test/java/org/apache/oozie/ForTestingActionExecutor.java 
> a70dc0200984798e06101bb0976df94f94a41cbe 
>   core/src/test/java/org/apache/oozie/client/TestOozieCLI.java 
> ce95ff34030c97b56ed9257ebe027833493a9fa1 
>   
> core/src/test/java/org/apache/oozie/command/wf/TestWorkflowActionRetryInfoXCommand.java
>  e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 
>   core/src/test/java/org/apache/oozie/servlet/MockDagEngineService.java 
> 60b7735c5d3fc06c27d4be164c48d90786ae4265 
>   core/src/test/resources/wf-ext-schema.xsd 
> 48aecf570cbd727ee9127aff2d24f02017dfb61d 
>   docs/src/site/twiki/DG_CommandLineTool.twiki 
> 35eee40363ffb8d998df34a693ee318cf70a230f 
>   docs/src/site/twiki/WebServicesAPI.twiki 
> b76e9343087a8c68825d222720543dc6d4d9f27a 
>   webapp/src/main/webapp/oozie-console.js 
> 11c6940bb26c1a8318781ce62926b6e4a185e37c 
> 
> Diff: https://reviews.apache.org/r/54726/diff/
> 
> 
> Testing
> ---
> 
> $ oozie job -info 000-161212175234862-oozie-puru-W@:start: -oozie 
> http://localhost:11000/oozie -retries
> ID : 000-161212175234862-oozie-puru-W@:start:
> No Retries
> 
> $ job -info 000-161212175234862-oozie-puru-W@pig-node -oozie 
> http://localhost:11000/oozie -retries
> ID : 000-161212175234862-oozie-puru-W@pig-node
> 
> Retry  : 1
> Start Time : Tue, 13 Dec 2016 01:54:13 GMT
> 

Re: Review Request 54726: OOZIE-2691 Show workflow action retry count to UI

2017-01-20 Thread Rohini Palaniswamy


> On Jan. 20, 2017, 8:13 p.m., Purshotam Shah wrote:
> > core/src/main/java/org/apache/oozie/command/wf/ActionXCommand.java, lines 
> > 70-73
> > 
> >
> > My only concern is the number. I don't think putting a number in 
> > between is a good idea. I haven't seen anybody doing that.
> > 
> > Another good option is to use retry.startTime.1

It is fine. Hdfs folks do similar thing with the fs settings. For eg: 
fs.hdfs.impl, fs.hdfs.impl.disable.cache, fs.s3.impl, fs.s3.impl.disable.cache. 
The intent of common prefix is for better logical grouping and readability. If 
you want to get all settings for retry or retry.1 it would be easy to get.


- Rohini


---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/54726/#review162491
---


On Jan. 20, 2017, 6:24 p.m., Purshotam Shah wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/54726/
> ---
> 
> (Updated Jan. 20, 2017, 6:24 p.m.)
> 
> 
> Review request for oozie.
> 
> 
> Bugs: OOZIE-2691
> https://issues.apache.org/jira/browse/OOZIE-2691
> 
> 
> Repository: oozie-git
> 
> 
> Description
> ---
> 
> Show workflow action retry count to UI
> 
> 
> Diffs
> -
> 
>   client/src/main/java/org/apache/oozie/cli/OozieCLI.java 
> e67fae9e2c7b32c1f209c24b4aba98daba96c06e 
>   client/src/main/java/org/apache/oozie/client/OozieClient.java 
> 12c80cbf422447c8d5c98e6ba95737e127087173 
>   client/src/main/java/org/apache/oozie/client/rest/JsonTags.java 
> 397e9ede8ebf63281c7f56f9cb9ee44c1518a1ed 
>   client/src/main/java/org/apache/oozie/client/rest/RestConstants.java 
> 41293642b06743294e4a640a2c66865b4e64eebd 
>   core/src/main/java/org/apache/oozie/DagEngine.java 
> 7597142551e78e50e727b3076a5ec93a65b04c36 
>   core/src/main/java/org/apache/oozie/command/wf/ActionCheckXCommand.java 
> d0551ff094477d511aa95527adf1071dc2775c6f 
>   core/src/main/java/org/apache/oozie/command/wf/ActionEndXCommand.java 
> 740b8d3f101352e951001af689e541ffbf606b52 
>   core/src/main/java/org/apache/oozie/command/wf/ActionStartXCommand.java 
> edfac48443efcc35c4aa2efbdca142f7d4d051d6 
>   core/src/main/java/org/apache/oozie/command/wf/ActionXCommand.java 
> 836e5d4f3f7d10233a1c1e8a007a44c6f4cfc78e 
>   
> core/src/main/java/org/apache/oozie/command/wf/WorkflowActionRetryInfoXCommand.java
>  e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 
>   core/src/main/java/org/apache/oozie/servlet/BaseJobServlet.java 
> 21105223b1a8a819b4ec091e1a513e5751b51425 
>   core/src/main/java/org/apache/oozie/servlet/V0JobServlet.java 
> 86ff278e6ff3b6ad9f2e7ea1d3e87446e404d122 
>   core/src/main/java/org/apache/oozie/servlet/V1JobServlet.java 
> 60f1029d49f78bff973bd167791cfcdaaa1af60f 
>   core/src/main/java/org/apache/oozie/servlet/V2JobServlet.java 
> 662a7ff26ff802bcdb530af71b52685bad089a6c 
>   core/src/main/java/org/apache/oozie/util/JobUtils.java 
> a7a53b355d194b55959ede20c85d38e02294853d 
>   core/src/test/java/org/apache/oozie/ForTestingActionExecutor.java 
> a70dc0200984798e06101bb0976df94f94a41cbe 
>   core/src/test/java/org/apache/oozie/client/TestOozieCLI.java 
> ce95ff34030c97b56ed9257ebe027833493a9fa1 
>   
> core/src/test/java/org/apache/oozie/command/wf/TestWorkflowActionRetryInfoXCommand.java
>  e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 
>   core/src/test/java/org/apache/oozie/servlet/MockDagEngineService.java 
> 60b7735c5d3fc06c27d4be164c48d90786ae4265 
>   core/src/test/resources/wf-ext-schema.xsd 
> 48aecf570cbd727ee9127aff2d24f02017dfb61d 
>   docs/src/site/twiki/DG_CommandLineTool.twiki 
> 35eee40363ffb8d998df34a693ee318cf70a230f 
>   docs/src/site/twiki/WebServicesAPI.twiki 
> b76e9343087a8c68825d222720543dc6d4d9f27a 
>   webapp/src/main/webapp/oozie-console.js 
> 11c6940bb26c1a8318781ce62926b6e4a185e37c 
> 
> Diff: https://reviews.apache.org/r/54726/diff/
> 
> 
> Testing
> ---
> 
> $ oozie job -info 000-161212175234862-oozie-puru-W@:start: -oozie 
> http://localhost:11000/oozie -retries
> ID : 000-161212175234862-oozie-puru-W@:start:
> No Retries
> 
> $ job -info 000-161212175234862-oozie-puru-W@pig-node -oozie 
> http://localhost:11000/oozie -retries
> ID : 000-161212175234862-oozie-puru-W@pig-node
> 
> Retry  : 1
> Start Time : Tue, 13 Dec 2016 01:54:13 GMT
> End Time   : Tue, 13 Dec 2016 01:54:20 GMT
> Console URL: 
> http://localhost:50030/jobdetails.jsp?jobid=job_201612051339_2648

Re: Review Request 54726: OOZIE-2691 Show workflow action retry count to UI

2017-01-20 Thread Purshotam Shah

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/54726/#review162491
---




core/src/main/java/org/apache/oozie/command/wf/ActionXCommand.java (lines 70 - 
73)


My only concern is the number. I don't think putting a number in between is 
a good idea. I haven't seen anybody doing that.

Another good option is to use retry.startTime.1


- Purshotam Shah


On Jan. 20, 2017, 6:24 p.m., Purshotam Shah wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/54726/
> ---
> 
> (Updated Jan. 20, 2017, 6:24 p.m.)
> 
> 
> Review request for oozie.
> 
> 
> Bugs: OOZIE-2691
> https://issues.apache.org/jira/browse/OOZIE-2691
> 
> 
> Repository: oozie-git
> 
> 
> Description
> ---
> 
> Show workflow action retry count to UI
> 
> 
> Diffs
> -
> 
>   client/src/main/java/org/apache/oozie/cli/OozieCLI.java 
> e67fae9e2c7b32c1f209c24b4aba98daba96c06e 
>   client/src/main/java/org/apache/oozie/client/OozieClient.java 
> 12c80cbf422447c8d5c98e6ba95737e127087173 
>   client/src/main/java/org/apache/oozie/client/rest/JsonTags.java 
> 397e9ede8ebf63281c7f56f9cb9ee44c1518a1ed 
>   client/src/main/java/org/apache/oozie/client/rest/RestConstants.java 
> 41293642b06743294e4a640a2c66865b4e64eebd 
>   core/src/main/java/org/apache/oozie/DagEngine.java 
> 7597142551e78e50e727b3076a5ec93a65b04c36 
>   core/src/main/java/org/apache/oozie/command/wf/ActionCheckXCommand.java 
> d0551ff094477d511aa95527adf1071dc2775c6f 
>   core/src/main/java/org/apache/oozie/command/wf/ActionEndXCommand.java 
> 740b8d3f101352e951001af689e541ffbf606b52 
>   core/src/main/java/org/apache/oozie/command/wf/ActionStartXCommand.java 
> edfac48443efcc35c4aa2efbdca142f7d4d051d6 
>   core/src/main/java/org/apache/oozie/command/wf/ActionXCommand.java 
> 836e5d4f3f7d10233a1c1e8a007a44c6f4cfc78e 
>   
> core/src/main/java/org/apache/oozie/command/wf/WorkflowActionRetryInfoXCommand.java
>  e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 
>   core/src/main/java/org/apache/oozie/servlet/BaseJobServlet.java 
> 21105223b1a8a819b4ec091e1a513e5751b51425 
>   core/src/main/java/org/apache/oozie/servlet/V0JobServlet.java 
> 86ff278e6ff3b6ad9f2e7ea1d3e87446e404d122 
>   core/src/main/java/org/apache/oozie/servlet/V1JobServlet.java 
> 60f1029d49f78bff973bd167791cfcdaaa1af60f 
>   core/src/main/java/org/apache/oozie/servlet/V2JobServlet.java 
> 662a7ff26ff802bcdb530af71b52685bad089a6c 
>   core/src/main/java/org/apache/oozie/util/JobUtils.java 
> a7a53b355d194b55959ede20c85d38e02294853d 
>   core/src/test/java/org/apache/oozie/ForTestingActionExecutor.java 
> a70dc0200984798e06101bb0976df94f94a41cbe 
>   core/src/test/java/org/apache/oozie/client/TestOozieCLI.java 
> ce95ff34030c97b56ed9257ebe027833493a9fa1 
>   
> core/src/test/java/org/apache/oozie/command/wf/TestWorkflowActionRetryInfoXCommand.java
>  e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 
>   core/src/test/java/org/apache/oozie/servlet/MockDagEngineService.java 
> 60b7735c5d3fc06c27d4be164c48d90786ae4265 
>   core/src/test/resources/wf-ext-schema.xsd 
> 48aecf570cbd727ee9127aff2d24f02017dfb61d 
>   docs/src/site/twiki/DG_CommandLineTool.twiki 
> 35eee40363ffb8d998df34a693ee318cf70a230f 
>   docs/src/site/twiki/WebServicesAPI.twiki 
> b76e9343087a8c68825d222720543dc6d4d9f27a 
>   webapp/src/main/webapp/oozie-console.js 
> 11c6940bb26c1a8318781ce62926b6e4a185e37c 
> 
> Diff: https://reviews.apache.org/r/54726/diff/
> 
> 
> Testing
> ---
> 
> $ oozie job -info 000-161212175234862-oozie-puru-W@:start: -oozie 
> http://localhost:11000/oozie -retries
> ID : 000-161212175234862-oozie-puru-W@:start:
> No Retries
> 
> $ job -info 000-161212175234862-oozie-puru-W@pig-node -oozie 
> http://localhost:11000/oozie -retries
> ID : 000-161212175234862-oozie-puru-W@pig-node
> 
> Retry  : 1
> Start Time : Tue, 13 Dec 2016 01:54:13 GMT
> End Time   : Tue, 13 Dec 2016 01:54:20 GMT
> Console URL: 
> http://localhost:50030/jobdetails.jsp?jobid=job_201612051339_2648
> 
> Retry  : 2
> Start Time : Tue, 13 Dec 2016 01:55:20 GMT
> End Time   : Tue, 13 Dec 2016 01:55:24 GMT
> Console URL: 
> http://localhost:50030/jobdetails.jsp?jobid=job_201612051339_2649
> 

Re: Review Request 54726: OOZIE-2691 Show workflow action retry count to UI

2017-01-20 Thread Rohini Palaniswamy


> On Jan. 20, 2017, 6:17 p.m., Purshotam Shah wrote:
> > core/src/main/java/org/apache/oozie/command/wf/ActionXCommand.java, lines 
> > 70-73
> > 
> >
> > This used for storage. Since informations are stored in jobs table, we 
> > need to append constant.
> > 
> > Inside oozie ( code/storage) we always use retry word ( like retry 
> > interval, retry duration, retry count..). So it's more appropriate to use 
> > retry rather than attempt.
> 
> Rohini Palaniswamy wrote:
> retry is fine. But use prefix instead of suffix which is the standard we 
> generally use for naming configuration. i.e retry.1.startTime instead of 
> startTime.retry.1
> 
> Purshotam Shah wrote:
> I thought the best practice is to put version number as suffix. Here 
> retry is a version number. And regarding keyword retry, looking at some of 
> Hadoop configuration, retry/attempt always comes at end 
> (dfs.client.block.write.retries,  dfs.client.cached.conn.retry ).

Those are just setting names and there is no version number in them. The prefix 
in that case is dfs.client which groups all dfs.client settings together. You 
need to have a common prefix. So that if required in future all retry settings 
can be searched with configname.startsWith("retry").  startTime.retry.1 does 
not even read right.


- Rohini


---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/54726/#review162451
---


On Jan. 20, 2017, 6:24 p.m., Purshotam Shah wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/54726/
> ---
> 
> (Updated Jan. 20, 2017, 6:24 p.m.)
> 
> 
> Review request for oozie.
> 
> 
> Bugs: OOZIE-2691
> https://issues.apache.org/jira/browse/OOZIE-2691
> 
> 
> Repository: oozie-git
> 
> 
> Description
> ---
> 
> Show workflow action retry count to UI
> 
> 
> Diffs
> -
> 
>   client/src/main/java/org/apache/oozie/cli/OozieCLI.java 
> e67fae9e2c7b32c1f209c24b4aba98daba96c06e 
>   client/src/main/java/org/apache/oozie/client/OozieClient.java 
> 12c80cbf422447c8d5c98e6ba95737e127087173 
>   client/src/main/java/org/apache/oozie/client/rest/JsonTags.java 
> 397e9ede8ebf63281c7f56f9cb9ee44c1518a1ed 
>   client/src/main/java/org/apache/oozie/client/rest/RestConstants.java 
> 41293642b06743294e4a640a2c66865b4e64eebd 
>   core/src/main/java/org/apache/oozie/DagEngine.java 
> 7597142551e78e50e727b3076a5ec93a65b04c36 
>   core/src/main/java/org/apache/oozie/command/wf/ActionCheckXCommand.java 
> d0551ff094477d511aa95527adf1071dc2775c6f 
>   core/src/main/java/org/apache/oozie/command/wf/ActionEndXCommand.java 
> 740b8d3f101352e951001af689e541ffbf606b52 
>   core/src/main/java/org/apache/oozie/command/wf/ActionStartXCommand.java 
> edfac48443efcc35c4aa2efbdca142f7d4d051d6 
>   core/src/main/java/org/apache/oozie/command/wf/ActionXCommand.java 
> 836e5d4f3f7d10233a1c1e8a007a44c6f4cfc78e 
>   
> core/src/main/java/org/apache/oozie/command/wf/WorkflowActionRetryInfoXCommand.java
>  e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 
>   core/src/main/java/org/apache/oozie/servlet/BaseJobServlet.java 
> 21105223b1a8a819b4ec091e1a513e5751b51425 
>   core/src/main/java/org/apache/oozie/servlet/V0JobServlet.java 
> 86ff278e6ff3b6ad9f2e7ea1d3e87446e404d122 
>   core/src/main/java/org/apache/oozie/servlet/V1JobServlet.java 
> 60f1029d49f78bff973bd167791cfcdaaa1af60f 
>   core/src/main/java/org/apache/oozie/servlet/V2JobServlet.java 
> 662a7ff26ff802bcdb530af71b52685bad089a6c 
>   core/src/main/java/org/apache/oozie/util/JobUtils.java 
> a7a53b355d194b55959ede20c85d38e02294853d 
>   core/src/test/java/org/apache/oozie/ForTestingActionExecutor.java 
> a70dc0200984798e06101bb0976df94f94a41cbe 
>   core/src/test/java/org/apache/oozie/client/TestOozieCLI.java 
> ce95ff34030c97b56ed9257ebe027833493a9fa1 
>   
> core/src/test/java/org/apache/oozie/command/wf/TestWorkflowActionRetryInfoXCommand.java
>  e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 
>   core/src/test/java/org/apache/oozie/servlet/MockDagEngineService.java 
> 60b7735c5d3fc06c27d4be164c48d90786ae4265 
>   core/src/test/resources/wf-ext-schema.xsd 
> 48aecf570cbd727ee9127aff2d24f02017dfb61d 
>   docs/src/site/twiki/DG_CommandLineTool.twiki 
> 35eee40363ffb8d998df34a693ee318cf70a230f 
>   docs/src/site/twiki/WebServicesAPI.twiki 
> b76e9343087a8c68825d222720543dc6d4d9f27a 
>   webapp/src/main/webapp/oozie-console.js 
> 11c6940bb26c1a8318781ce62926b6e4a185e37c 
> 
> Diff: https://reviews.apache.org/r/54726/diff/
> 
> 
> Testing
> ---
> 
> $ oozie job -info 000-161212175234862-oozie-puru-W@:start: -oozie 
> http://localhost:11000/oozie -retries
> ID : 000-161212175234862-oozie-puru-W@:start:
> 

[jira] [Updated] (OOZIE-2771) Allow retrieving keystore and truststore passwords from Hadoop Credential Provider

2017-01-20 Thread Attila Sasvari (JIRA)

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

Attila Sasvari updated OOZIE-2771:
--
Attachment: OOZIE-2771-01.patch

reuploading to trigger jenkins qa

> Allow retrieving keystore and truststore passwords from Hadoop Credential 
> Provider
> --
>
> Key: OOZIE-2771
> URL: https://issues.apache.org/jira/browse/OOZIE-2771
> Project: Oozie
>  Issue Type: Improvement
>Reporter: Attila Sasvari
>Assignee: Attila Sasvari
> Attachments: OOZIE-2771-01.patch
>
>
> Right now passwords for keystore and truststore 
> ({{oozie.https.keystore.pass}}, {{oozie.https.truststore.pass}}) are stored 
> in {{oozie-site.xml}} as cleartext.
> However, Oozie could take advantage of the Hadoop Credential Provider for 
> storing and retrieving that passwords similarly how the JDBC password 
> ({{oozie.service.JPAService.jdbc.password}}) is handled today (see 
> https://issues.apache.org/jira/browse/OOZIE-2272).
> This way keystore and truststore passwords could be masked in oozie-site.
> Note: {{ConfigurationService.getPassword}} is worth to look at.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (OOZIE-2691) Show workflow action retry count to UI

2017-01-20 Thread Purshotam Shah (JIRA)

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

Purshotam Shah updated OOZIE-2691:
--
Attachment: OOZIE-2691-V5.patch

> Show workflow action retry count to UI
> --
>
> Key: OOZIE-2691
> URL: https://issues.apache.org/jira/browse/OOZIE-2691
> Project: Oozie
>  Issue Type: New Feature
>Reporter: Purshotam Shah
>Assignee: Purshotam Shah
> Attachments: Action Retries - webservice.png, OOZIE-2691-V1.patch, 
> OOZIE-2691-V2.patch, OOZIE-2691-V3.patch, OOZIE-2691-V5.patch, 
> screenshot.png, UI.png
>
>
> CLI
> {code}
> $ oozie job -info 000-161212175234862-oozie-puru-W@:start: -oozie 
> http://localhost:11000/oozie -retries
> ID : 000-161212175234862-oozie-puru-W@:start:
> No Retries
> ---
> $ oozie job -info 000-161212175234862-oozie-puru-W@pig-node -oozie 
> http://localhost:11000/oozie -retries
> ID : 000-161212175234862-oozie-puru-W@pig-node
> ---
> Retry  : 1
> Start Time : Tue, 13 Dec 2016 01:54:13 GMT
> End Time   : Tue, 13 Dec 2016 01:54:20 GMT
> Console URL: 
> http://localhost:50030/jobdetails.jsp?jobid=job_201612051339_2648
> ---
> Retry  : 2
> Start Time : Tue, 13 Dec 2016 01:55:20 GMT
> End Time   : Tue, 13 Dec 2016 01:55:24 GMT
> Console URL: 
> http://localhost:50030/jobdetails.jsp?jobid=job_201612051339_2649
> ---
> Retry  : 3
> Start Time : Tue, 13 Dec 2016 01:56:24 GMT
> End Time   : Tue, 13 Dec 2016 01:56:27 GMT
> Console URL: 
> http://localhost:50030/jobdetails.jsp?jobid=job_201612051339_2650
> ---
> $ 
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


Re: Review Request 54726: OOZIE-2691 Show workflow action retry count to UI

2017-01-20 Thread Purshotam Shah


> On Jan. 20, 2017, 6:17 p.m., Purshotam Shah wrote:
> > core/src/main/java/org/apache/oozie/command/wf/ActionXCommand.java, lines 
> > 70-73
> > 
> >
> > This used for storage. Since informations are stored in jobs table, we 
> > need to append constant.
> > 
> > Inside oozie ( code/storage) we always use retry word ( like retry 
> > interval, retry duration, retry count..). So it's more appropriate to use 
> > retry rather than attempt.
> 
> Rohini Palaniswamy wrote:
> retry is fine. But use prefix instead of suffix which is the standard we 
> generally use for naming configuration. i.e retry.1.startTime instead of 
> startTime.retry.1

I thought the best practice is to put version number as suffix. Here retry is a 
version number. And regarding keyword retry, looking at some of Hadoop 
configuration, retry/attempt always comes at end 
(dfs.client.block.write.retries,  dfs.client.cached.conn.retry ).


- Purshotam


---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/54726/#review162451
---


On Jan. 20, 2017, 6:24 p.m., Purshotam Shah wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/54726/
> ---
> 
> (Updated Jan. 20, 2017, 6:24 p.m.)
> 
> 
> Review request for oozie.
> 
> 
> Bugs: OOZIE-2691
> https://issues.apache.org/jira/browse/OOZIE-2691
> 
> 
> Repository: oozie-git
> 
> 
> Description
> ---
> 
> Show workflow action retry count to UI
> 
> 
> Diffs
> -
> 
>   client/src/main/java/org/apache/oozie/cli/OozieCLI.java 
> e67fae9e2c7b32c1f209c24b4aba98daba96c06e 
>   client/src/main/java/org/apache/oozie/client/OozieClient.java 
> 12c80cbf422447c8d5c98e6ba95737e127087173 
>   client/src/main/java/org/apache/oozie/client/rest/JsonTags.java 
> 397e9ede8ebf63281c7f56f9cb9ee44c1518a1ed 
>   client/src/main/java/org/apache/oozie/client/rest/RestConstants.java 
> 41293642b06743294e4a640a2c66865b4e64eebd 
>   core/src/main/java/org/apache/oozie/DagEngine.java 
> 7597142551e78e50e727b3076a5ec93a65b04c36 
>   core/src/main/java/org/apache/oozie/command/wf/ActionCheckXCommand.java 
> d0551ff094477d511aa95527adf1071dc2775c6f 
>   core/src/main/java/org/apache/oozie/command/wf/ActionEndXCommand.java 
> 740b8d3f101352e951001af689e541ffbf606b52 
>   core/src/main/java/org/apache/oozie/command/wf/ActionStartXCommand.java 
> edfac48443efcc35c4aa2efbdca142f7d4d051d6 
>   core/src/main/java/org/apache/oozie/command/wf/ActionXCommand.java 
> 836e5d4f3f7d10233a1c1e8a007a44c6f4cfc78e 
>   
> core/src/main/java/org/apache/oozie/command/wf/WorkflowActionRetryInfoXCommand.java
>  e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 
>   core/src/main/java/org/apache/oozie/servlet/BaseJobServlet.java 
> 21105223b1a8a819b4ec091e1a513e5751b51425 
>   core/src/main/java/org/apache/oozie/servlet/V0JobServlet.java 
> 86ff278e6ff3b6ad9f2e7ea1d3e87446e404d122 
>   core/src/main/java/org/apache/oozie/servlet/V1JobServlet.java 
> 60f1029d49f78bff973bd167791cfcdaaa1af60f 
>   core/src/main/java/org/apache/oozie/servlet/V2JobServlet.java 
> 662a7ff26ff802bcdb530af71b52685bad089a6c 
>   core/src/main/java/org/apache/oozie/util/JobUtils.java 
> a7a53b355d194b55959ede20c85d38e02294853d 
>   core/src/test/java/org/apache/oozie/ForTestingActionExecutor.java 
> a70dc0200984798e06101bb0976df94f94a41cbe 
>   core/src/test/java/org/apache/oozie/client/TestOozieCLI.java 
> ce95ff34030c97b56ed9257ebe027833493a9fa1 
>   
> core/src/test/java/org/apache/oozie/command/wf/TestWorkflowActionRetryInfoXCommand.java
>  e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 
>   core/src/test/java/org/apache/oozie/servlet/MockDagEngineService.java 
> 60b7735c5d3fc06c27d4be164c48d90786ae4265 
>   core/src/test/resources/wf-ext-schema.xsd 
> 48aecf570cbd727ee9127aff2d24f02017dfb61d 
>   docs/src/site/twiki/DG_CommandLineTool.twiki 
> 35eee40363ffb8d998df34a693ee318cf70a230f 
>   docs/src/site/twiki/WebServicesAPI.twiki 
> b76e9343087a8c68825d222720543dc6d4d9f27a 
>   webapp/src/main/webapp/oozie-console.js 
> 11c6940bb26c1a8318781ce62926b6e4a185e37c 
> 
> Diff: https://reviews.apache.org/r/54726/diff/
> 
> 
> Testing
> ---
> 
> $ oozie job -info 000-161212175234862-oozie-puru-W@:start: -oozie 
> http://localhost:11000/oozie -retries
> ID : 000-161212175234862-oozie-puru-W@:start:
> No Retries
> 
> $ job -info 000-161212175234862-oozie-puru-W@pig-node -oozie 
> http://localhost:11000/oozie -retries
> ID : 000-161212175234862-oozie-puru-W@pig-node
> 

Re: Review Request 54726: OOZIE-2691 Show workflow action retry count to UI

2017-01-20 Thread Rohini Palaniswamy


> On Jan. 20, 2017, 6:17 p.m., Purshotam Shah wrote:
> > core/src/main/java/org/apache/oozie/command/wf/ActionXCommand.java, lines 
> > 70-73
> > 
> >
> > This used for storage. Since informations are stored in jobs table, we 
> > need to append constant.
> > 
> > Inside oozie ( code/storage) we always use retry word ( like retry 
> > interval, retry duration, retry count..). So it's more appropriate to use 
> > retry rather than attempt.

retry is fine. But use prefix instead of suffix which is the standard we 
generally use for naming configuration. i.e retry.1.startTime instead of 
startTime.retry.1


- Rohini


---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/54726/#review162451
---


On Jan. 20, 2017, 6:24 p.m., Purshotam Shah wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/54726/
> ---
> 
> (Updated Jan. 20, 2017, 6:24 p.m.)
> 
> 
> Review request for oozie.
> 
> 
> Bugs: OOZIE-2691
> https://issues.apache.org/jira/browse/OOZIE-2691
> 
> 
> Repository: oozie-git
> 
> 
> Description
> ---
> 
> Show workflow action retry count to UI
> 
> 
> Diffs
> -
> 
>   client/src/main/java/org/apache/oozie/cli/OozieCLI.java 
> e67fae9e2c7b32c1f209c24b4aba98daba96c06e 
>   client/src/main/java/org/apache/oozie/client/OozieClient.java 
> 12c80cbf422447c8d5c98e6ba95737e127087173 
>   client/src/main/java/org/apache/oozie/client/rest/JsonTags.java 
> 397e9ede8ebf63281c7f56f9cb9ee44c1518a1ed 
>   client/src/main/java/org/apache/oozie/client/rest/RestConstants.java 
> 41293642b06743294e4a640a2c66865b4e64eebd 
>   core/src/main/java/org/apache/oozie/DagEngine.java 
> 7597142551e78e50e727b3076a5ec93a65b04c36 
>   core/src/main/java/org/apache/oozie/command/wf/ActionCheckXCommand.java 
> d0551ff094477d511aa95527adf1071dc2775c6f 
>   core/src/main/java/org/apache/oozie/command/wf/ActionEndXCommand.java 
> 740b8d3f101352e951001af689e541ffbf606b52 
>   core/src/main/java/org/apache/oozie/command/wf/ActionStartXCommand.java 
> edfac48443efcc35c4aa2efbdca142f7d4d051d6 
>   core/src/main/java/org/apache/oozie/command/wf/ActionXCommand.java 
> 836e5d4f3f7d10233a1c1e8a007a44c6f4cfc78e 
>   
> core/src/main/java/org/apache/oozie/command/wf/WorkflowActionRetryInfoXCommand.java
>  e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 
>   core/src/main/java/org/apache/oozie/servlet/BaseJobServlet.java 
> 21105223b1a8a819b4ec091e1a513e5751b51425 
>   core/src/main/java/org/apache/oozie/servlet/V0JobServlet.java 
> 86ff278e6ff3b6ad9f2e7ea1d3e87446e404d122 
>   core/src/main/java/org/apache/oozie/servlet/V1JobServlet.java 
> 60f1029d49f78bff973bd167791cfcdaaa1af60f 
>   core/src/main/java/org/apache/oozie/servlet/V2JobServlet.java 
> 662a7ff26ff802bcdb530af71b52685bad089a6c 
>   core/src/main/java/org/apache/oozie/util/JobUtils.java 
> a7a53b355d194b55959ede20c85d38e02294853d 
>   core/src/test/java/org/apache/oozie/ForTestingActionExecutor.java 
> a70dc0200984798e06101bb0976df94f94a41cbe 
>   core/src/test/java/org/apache/oozie/client/TestOozieCLI.java 
> ce95ff34030c97b56ed9257ebe027833493a9fa1 
>   
> core/src/test/java/org/apache/oozie/command/wf/TestWorkflowActionRetryInfoXCommand.java
>  e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 
>   core/src/test/java/org/apache/oozie/servlet/MockDagEngineService.java 
> 60b7735c5d3fc06c27d4be164c48d90786ae4265 
>   core/src/test/resources/wf-ext-schema.xsd 
> 48aecf570cbd727ee9127aff2d24f02017dfb61d 
>   docs/src/site/twiki/DG_CommandLineTool.twiki 
> 35eee40363ffb8d998df34a693ee318cf70a230f 
>   docs/src/site/twiki/WebServicesAPI.twiki 
> b76e9343087a8c68825d222720543dc6d4d9f27a 
>   webapp/src/main/webapp/oozie-console.js 
> 11c6940bb26c1a8318781ce62926b6e4a185e37c 
> 
> Diff: https://reviews.apache.org/r/54726/diff/
> 
> 
> Testing
> ---
> 
> $ oozie job -info 000-161212175234862-oozie-puru-W@:start: -oozie 
> http://localhost:11000/oozie -retries
> ID : 000-161212175234862-oozie-puru-W@:start:
> No Retries
> 
> $ job -info 000-161212175234862-oozie-puru-W@pig-node -oozie 
> http://localhost:11000/oozie -retries
> ID : 000-161212175234862-oozie-puru-W@pig-node
> 
> Retry  : 1
> Start Time : Tue, 13 Dec 2016 01:54:13 GMT
> End Time   : Tue, 13 Dec 2016 01:54:20 GMT
> Console URL: 
> http://localhost:50030/jobdetails.jsp?jobid=job_201612051339_2648
> 

Re: Review Request 54726: OOZIE-2691 Show workflow action retry count to UI

2017-01-20 Thread Purshotam Shah

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/54726/
---

(Updated Jan. 20, 2017, 6:24 p.m.)


Review request for oozie.


Bugs: OOZIE-2691
https://issues.apache.org/jira/browse/OOZIE-2691


Repository: oozie-git


Description
---

Show workflow action retry count to UI


Diffs (updated)
-

  client/src/main/java/org/apache/oozie/cli/OozieCLI.java 
e67fae9e2c7b32c1f209c24b4aba98daba96c06e 
  client/src/main/java/org/apache/oozie/client/OozieClient.java 
12c80cbf422447c8d5c98e6ba95737e127087173 
  client/src/main/java/org/apache/oozie/client/rest/JsonTags.java 
397e9ede8ebf63281c7f56f9cb9ee44c1518a1ed 
  client/src/main/java/org/apache/oozie/client/rest/RestConstants.java 
41293642b06743294e4a640a2c66865b4e64eebd 
  core/src/main/java/org/apache/oozie/DagEngine.java 
7597142551e78e50e727b3076a5ec93a65b04c36 
  core/src/main/java/org/apache/oozie/command/wf/ActionCheckXCommand.java 
d0551ff094477d511aa95527adf1071dc2775c6f 
  core/src/main/java/org/apache/oozie/command/wf/ActionEndXCommand.java 
740b8d3f101352e951001af689e541ffbf606b52 
  core/src/main/java/org/apache/oozie/command/wf/ActionStartXCommand.java 
edfac48443efcc35c4aa2efbdca142f7d4d051d6 
  core/src/main/java/org/apache/oozie/command/wf/ActionXCommand.java 
836e5d4f3f7d10233a1c1e8a007a44c6f4cfc78e 
  
core/src/main/java/org/apache/oozie/command/wf/WorkflowActionRetryInfoXCommand.java
 e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 
  core/src/main/java/org/apache/oozie/servlet/BaseJobServlet.java 
21105223b1a8a819b4ec091e1a513e5751b51425 
  core/src/main/java/org/apache/oozie/servlet/V0JobServlet.java 
86ff278e6ff3b6ad9f2e7ea1d3e87446e404d122 
  core/src/main/java/org/apache/oozie/servlet/V1JobServlet.java 
60f1029d49f78bff973bd167791cfcdaaa1af60f 
  core/src/main/java/org/apache/oozie/servlet/V2JobServlet.java 
662a7ff26ff802bcdb530af71b52685bad089a6c 
  core/src/main/java/org/apache/oozie/util/JobUtils.java 
a7a53b355d194b55959ede20c85d38e02294853d 
  core/src/test/java/org/apache/oozie/ForTestingActionExecutor.java 
a70dc0200984798e06101bb0976df94f94a41cbe 
  core/src/test/java/org/apache/oozie/client/TestOozieCLI.java 
ce95ff34030c97b56ed9257ebe027833493a9fa1 
  
core/src/test/java/org/apache/oozie/command/wf/TestWorkflowActionRetryInfoXCommand.java
 e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 
  core/src/test/java/org/apache/oozie/servlet/MockDagEngineService.java 
60b7735c5d3fc06c27d4be164c48d90786ae4265 
  core/src/test/resources/wf-ext-schema.xsd 
48aecf570cbd727ee9127aff2d24f02017dfb61d 
  docs/src/site/twiki/DG_CommandLineTool.twiki 
35eee40363ffb8d998df34a693ee318cf70a230f 
  docs/src/site/twiki/WebServicesAPI.twiki 
b76e9343087a8c68825d222720543dc6d4d9f27a 
  webapp/src/main/webapp/oozie-console.js 
11c6940bb26c1a8318781ce62926b6e4a185e37c 

Diff: https://reviews.apache.org/r/54726/diff/


Testing
---

$ oozie job -info 000-161212175234862-oozie-puru-W@:start: -oozie 
http://localhost:11000/oozie -retries
ID : 000-161212175234862-oozie-puru-W@:start:
No Retries

$ job -info 000-161212175234862-oozie-puru-W@pig-node -oozie 
http://localhost:11000/oozie -retries
ID : 000-161212175234862-oozie-puru-W@pig-node

Retry  : 1
Start Time : Tue, 13 Dec 2016 01:54:13 GMT
End Time   : Tue, 13 Dec 2016 01:54:20 GMT
Console URL: 
http://localhost:50030/jobdetails.jsp?jobid=job_201612051339_2648

Retry  : 2
Start Time : Tue, 13 Dec 2016 01:55:20 GMT
End Time   : Tue, 13 Dec 2016 01:55:24 GMT
Console URL: 
http://localhost:50030/jobdetails.jsp?jobid=job_201612051339_2649

Retry  : 3
Start Time : Tue, 13 Dec 2016 01:56:24 GMT
End Time   : Tue, 13 Dec 2016 01:56:27 GMT
Console URL: 
http://localhost:50030/jobdetails.jsp?jobid=job_201612051339_2650

$


Thanks,

Purshotam Shah



Re: Review Request 54726: OOZIE-2691 Show workflow action retry count to UI

2017-01-20 Thread Purshotam Shah

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/54726/#review162451
---




core/src/main/java/org/apache/oozie/command/wf/ActionXCommand.java (lines 70 - 
73)


This used for storage. Since informations are stored in jobs table, we need 
to append constant.

Inside oozie ( code/storage) we always use retry word ( like retry 
interval, retry duration, retry count..). So it's more appropriate to use retry 
rather than attempt.


- Purshotam Shah


On Jan. 20, 2017, 10:02 a.m., Purshotam Shah wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/54726/
> ---
> 
> (Updated Jan. 20, 2017, 10:02 a.m.)
> 
> 
> Review request for oozie.
> 
> 
> Bugs: OOZIE-2691
> https://issues.apache.org/jira/browse/OOZIE-2691
> 
> 
> Repository: oozie-git
> 
> 
> Description
> ---
> 
> Show workflow action retry count to UI
> 
> 
> Diffs
> -
> 
>   client/src/main/java/org/apache/oozie/cli/OozieCLI.java 
> e67fae9e2c7b32c1f209c24b4aba98daba96c06e 
>   client/src/main/java/org/apache/oozie/client/OozieClient.java 
> 12c80cbf422447c8d5c98e6ba95737e127087173 
>   client/src/main/java/org/apache/oozie/client/rest/JsonTags.java 
> 397e9ede8ebf63281c7f56f9cb9ee44c1518a1ed 
>   client/src/main/java/org/apache/oozie/client/rest/RestConstants.java 
> 41293642b06743294e4a640a2c66865b4e64eebd 
>   core/src/main/java/org/apache/oozie/DagEngine.java 
> 7597142551e78e50e727b3076a5ec93a65b04c36 
>   core/src/main/java/org/apache/oozie/command/wf/ActionCheckXCommand.java 
> d0551ff094477d511aa95527adf1071dc2775c6f 
>   core/src/main/java/org/apache/oozie/command/wf/ActionEndXCommand.java 
> 740b8d3f101352e951001af689e541ffbf606b52 
>   core/src/main/java/org/apache/oozie/command/wf/ActionStartXCommand.java 
> edfac48443efcc35c4aa2efbdca142f7d4d051d6 
>   core/src/main/java/org/apache/oozie/command/wf/ActionXCommand.java 
> 836e5d4f3f7d10233a1c1e8a007a44c6f4cfc78e 
>   
> core/src/main/java/org/apache/oozie/command/wf/WorkflowActionRetryInfoXCommand.java
>  e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 
>   core/src/main/java/org/apache/oozie/servlet/BaseJobServlet.java 
> 21105223b1a8a819b4ec091e1a513e5751b51425 
>   core/src/main/java/org/apache/oozie/servlet/V0JobServlet.java 
> 86ff278e6ff3b6ad9f2e7ea1d3e87446e404d122 
>   core/src/main/java/org/apache/oozie/servlet/V1JobServlet.java 
> 60f1029d49f78bff973bd167791cfcdaaa1af60f 
>   core/src/main/java/org/apache/oozie/servlet/V2JobServlet.java 
> 662a7ff26ff802bcdb530af71b52685bad089a6c 
>   core/src/main/java/org/apache/oozie/util/JobUtils.java 
> a7a53b355d194b55959ede20c85d38e02294853d 
>   core/src/test/java/org/apache/oozie/ForTestingActionExecutor.java 
> a70dc0200984798e06101bb0976df94f94a41cbe 
>   core/src/test/java/org/apache/oozie/client/TestOozieCLI.java 
> ce95ff34030c97b56ed9257ebe027833493a9fa1 
>   
> core/src/test/java/org/apache/oozie/command/wf/TestWorkflowActionRetryInfoXCommand.java
>  e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 
>   core/src/test/java/org/apache/oozie/servlet/MockDagEngineService.java 
> 60b7735c5d3fc06c27d4be164c48d90786ae4265 
>   core/src/test/resources/wf-ext-schema.xsd 
> 48aecf570cbd727ee9127aff2d24f02017dfb61d 
>   docs/src/site/twiki/DG_CommandLineTool.twiki 
> 35eee40363ffb8d998df34a693ee318cf70a230f 
>   docs/src/site/twiki/WebServicesAPI.twiki 
> b76e9343087a8c68825d222720543dc6d4d9f27a 
>   webapp/src/main/webapp/oozie-console.js 
> 11c6940bb26c1a8318781ce62926b6e4a185e37c 
> 
> Diff: https://reviews.apache.org/r/54726/diff/
> 
> 
> Testing
> ---
> 
> $ oozie job -info 000-161212175234862-oozie-puru-W@:start: -oozie 
> http://localhost:11000/oozie -retries
> ID : 000-161212175234862-oozie-puru-W@:start:
> No Retries
> 
> $ job -info 000-161212175234862-oozie-puru-W@pig-node -oozie 
> http://localhost:11000/oozie -retries
> ID : 000-161212175234862-oozie-puru-W@pig-node
> 
> Retry  : 1
> Start Time : Tue, 13 Dec 2016 01:54:13 GMT
> End Time   : Tue, 13 Dec 2016 01:54:20 GMT
> Console URL: 
> http://localhost:50030/jobdetails.jsp?jobid=job_201612051339_2648
> 
> Retry  : 2
> Start Time : Tue, 13 Dec 2016 01:55:20 GMT
> End Time   : Tue, 13 Dec 2016 01:55:24 GMT
> Console URL: 
> 

Re: Review Request 54726: OOZIE-2691 Show workflow action retry count to UI

2017-01-20 Thread Rohini Palaniswamy


> On Jan. 17, 2017, 6:53 p.m., Rohini Palaniswamy wrote:
> > core/src/main/java/org/apache/oozie/command/wf/ActionXCommand.java, lines 
> > 70-73
> > 
> >
> > retry.1.startTime or rather attempt.1.startTime would read 
> > grammatically better than startTime.retry.1 and also will make all the 
> > retry params to have same prefix.  Can actually get rid of the constants 
> > here and just prepend directly to JsonTags.WORKFLOW_ACTION_START_TIME in 
> > JobUtils. Same for other tags.

Reopening the issue. Does not seem to be addressed.


- Rohini


---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/54726/#review161879
---


On Jan. 20, 2017, 10:02 a.m., Purshotam Shah wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/54726/
> ---
> 
> (Updated Jan. 20, 2017, 10:02 a.m.)
> 
> 
> Review request for oozie.
> 
> 
> Bugs: OOZIE-2691
> https://issues.apache.org/jira/browse/OOZIE-2691
> 
> 
> Repository: oozie-git
> 
> 
> Description
> ---
> 
> Show workflow action retry count to UI
> 
> 
> Diffs
> -
> 
>   client/src/main/java/org/apache/oozie/cli/OozieCLI.java 
> e67fae9e2c7b32c1f209c24b4aba98daba96c06e 
>   client/src/main/java/org/apache/oozie/client/OozieClient.java 
> 12c80cbf422447c8d5c98e6ba95737e127087173 
>   client/src/main/java/org/apache/oozie/client/rest/JsonTags.java 
> 397e9ede8ebf63281c7f56f9cb9ee44c1518a1ed 
>   client/src/main/java/org/apache/oozie/client/rest/RestConstants.java 
> 41293642b06743294e4a640a2c66865b4e64eebd 
>   core/src/main/java/org/apache/oozie/DagEngine.java 
> 7597142551e78e50e727b3076a5ec93a65b04c36 
>   core/src/main/java/org/apache/oozie/command/wf/ActionCheckXCommand.java 
> d0551ff094477d511aa95527adf1071dc2775c6f 
>   core/src/main/java/org/apache/oozie/command/wf/ActionEndXCommand.java 
> 740b8d3f101352e951001af689e541ffbf606b52 
>   core/src/main/java/org/apache/oozie/command/wf/ActionStartXCommand.java 
> edfac48443efcc35c4aa2efbdca142f7d4d051d6 
>   core/src/main/java/org/apache/oozie/command/wf/ActionXCommand.java 
> 836e5d4f3f7d10233a1c1e8a007a44c6f4cfc78e 
>   
> core/src/main/java/org/apache/oozie/command/wf/WorkflowActionRetryInfoXCommand.java
>  e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 
>   core/src/main/java/org/apache/oozie/servlet/BaseJobServlet.java 
> 21105223b1a8a819b4ec091e1a513e5751b51425 
>   core/src/main/java/org/apache/oozie/servlet/V0JobServlet.java 
> 86ff278e6ff3b6ad9f2e7ea1d3e87446e404d122 
>   core/src/main/java/org/apache/oozie/servlet/V1JobServlet.java 
> 60f1029d49f78bff973bd167791cfcdaaa1af60f 
>   core/src/main/java/org/apache/oozie/servlet/V2JobServlet.java 
> 662a7ff26ff802bcdb530af71b52685bad089a6c 
>   core/src/main/java/org/apache/oozie/util/JobUtils.java 
> a7a53b355d194b55959ede20c85d38e02294853d 
>   core/src/test/java/org/apache/oozie/ForTestingActionExecutor.java 
> a70dc0200984798e06101bb0976df94f94a41cbe 
>   core/src/test/java/org/apache/oozie/client/TestOozieCLI.java 
> ce95ff34030c97b56ed9257ebe027833493a9fa1 
>   
> core/src/test/java/org/apache/oozie/command/wf/TestWorkflowActionRetryInfoXCommand.java
>  e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 
>   core/src/test/java/org/apache/oozie/servlet/MockDagEngineService.java 
> 60b7735c5d3fc06c27d4be164c48d90786ae4265 
>   core/src/test/resources/wf-ext-schema.xsd 
> 48aecf570cbd727ee9127aff2d24f02017dfb61d 
>   docs/src/site/twiki/DG_CommandLineTool.twiki 
> 35eee40363ffb8d998df34a693ee318cf70a230f 
>   docs/src/site/twiki/WebServicesAPI.twiki 
> b76e9343087a8c68825d222720543dc6d4d9f27a 
>   webapp/src/main/webapp/oozie-console.js 
> 11c6940bb26c1a8318781ce62926b6e4a185e37c 
> 
> Diff: https://reviews.apache.org/r/54726/diff/
> 
> 
> Testing
> ---
> 
> $ oozie job -info 000-161212175234862-oozie-puru-W@:start: -oozie 
> http://localhost:11000/oozie -retries
> ID : 000-161212175234862-oozie-puru-W@:start:
> No Retries
> 
> $ job -info 000-161212175234862-oozie-puru-W@pig-node -oozie 
> http://localhost:11000/oozie -retries
> ID : 000-161212175234862-oozie-puru-W@pig-node
> 
> Retry  : 1
> Start Time : Tue, 13 Dec 2016 01:54:13 GMT
> End Time   : Tue, 13 Dec 2016 01:54:20 GMT
> Console URL: 
> http://localhost:50030/jobdetails.jsp?jobid=job_201612051339_2648
> 

Re: Review Request 54726: OOZIE-2691 Show workflow action retry count to UI

2017-01-20 Thread Rohini Palaniswamy

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/54726/#review162448
---




docs/src/site/twiki/DG_CommandLineTool.twiki 


When retry-max is specified for a action in the workflow definition and 
there is a failure, it will be retried till it succeeds or retry-max attempts 
are exhausted. To get information on all the attempts, =-retries= command can 
be used.


- Rohini Palaniswamy


On Jan. 20, 2017, 10:02 a.m., Purshotam Shah wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/54726/
> ---
> 
> (Updated Jan. 20, 2017, 10:02 a.m.)
> 
> 
> Review request for oozie.
> 
> 
> Bugs: OOZIE-2691
> https://issues.apache.org/jira/browse/OOZIE-2691
> 
> 
> Repository: oozie-git
> 
> 
> Description
> ---
> 
> Show workflow action retry count to UI
> 
> 
> Diffs
> -
> 
>   client/src/main/java/org/apache/oozie/cli/OozieCLI.java 
> e67fae9e2c7b32c1f209c24b4aba98daba96c06e 
>   client/src/main/java/org/apache/oozie/client/OozieClient.java 
> 12c80cbf422447c8d5c98e6ba95737e127087173 
>   client/src/main/java/org/apache/oozie/client/rest/JsonTags.java 
> 397e9ede8ebf63281c7f56f9cb9ee44c1518a1ed 
>   client/src/main/java/org/apache/oozie/client/rest/RestConstants.java 
> 41293642b06743294e4a640a2c66865b4e64eebd 
>   core/src/main/java/org/apache/oozie/DagEngine.java 
> 7597142551e78e50e727b3076a5ec93a65b04c36 
>   core/src/main/java/org/apache/oozie/command/wf/ActionCheckXCommand.java 
> d0551ff094477d511aa95527adf1071dc2775c6f 
>   core/src/main/java/org/apache/oozie/command/wf/ActionEndXCommand.java 
> 740b8d3f101352e951001af689e541ffbf606b52 
>   core/src/main/java/org/apache/oozie/command/wf/ActionStartXCommand.java 
> edfac48443efcc35c4aa2efbdca142f7d4d051d6 
>   core/src/main/java/org/apache/oozie/command/wf/ActionXCommand.java 
> 836e5d4f3f7d10233a1c1e8a007a44c6f4cfc78e 
>   
> core/src/main/java/org/apache/oozie/command/wf/WorkflowActionRetryInfoXCommand.java
>  e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 
>   core/src/main/java/org/apache/oozie/servlet/BaseJobServlet.java 
> 21105223b1a8a819b4ec091e1a513e5751b51425 
>   core/src/main/java/org/apache/oozie/servlet/V0JobServlet.java 
> 86ff278e6ff3b6ad9f2e7ea1d3e87446e404d122 
>   core/src/main/java/org/apache/oozie/servlet/V1JobServlet.java 
> 60f1029d49f78bff973bd167791cfcdaaa1af60f 
>   core/src/main/java/org/apache/oozie/servlet/V2JobServlet.java 
> 662a7ff26ff802bcdb530af71b52685bad089a6c 
>   core/src/main/java/org/apache/oozie/util/JobUtils.java 
> a7a53b355d194b55959ede20c85d38e02294853d 
>   core/src/test/java/org/apache/oozie/ForTestingActionExecutor.java 
> a70dc0200984798e06101bb0976df94f94a41cbe 
>   core/src/test/java/org/apache/oozie/client/TestOozieCLI.java 
> ce95ff34030c97b56ed9257ebe027833493a9fa1 
>   
> core/src/test/java/org/apache/oozie/command/wf/TestWorkflowActionRetryInfoXCommand.java
>  e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 
>   core/src/test/java/org/apache/oozie/servlet/MockDagEngineService.java 
> 60b7735c5d3fc06c27d4be164c48d90786ae4265 
>   core/src/test/resources/wf-ext-schema.xsd 
> 48aecf570cbd727ee9127aff2d24f02017dfb61d 
>   docs/src/site/twiki/DG_CommandLineTool.twiki 
> 35eee40363ffb8d998df34a693ee318cf70a230f 
>   docs/src/site/twiki/WebServicesAPI.twiki 
> b76e9343087a8c68825d222720543dc6d4d9f27a 
>   webapp/src/main/webapp/oozie-console.js 
> 11c6940bb26c1a8318781ce62926b6e4a185e37c 
> 
> Diff: https://reviews.apache.org/r/54726/diff/
> 
> 
> Testing
> ---
> 
> $ oozie job -info 000-161212175234862-oozie-puru-W@:start: -oozie 
> http://localhost:11000/oozie -retries
> ID : 000-161212175234862-oozie-puru-W@:start:
> No Retries
> 
> $ job -info 000-161212175234862-oozie-puru-W@pig-node -oozie 
> http://localhost:11000/oozie -retries
> ID : 000-161212175234862-oozie-puru-W@pig-node
> 
> Retry  : 1
> Start Time : Tue, 13 Dec 2016 01:54:13 GMT
> End Time   : Tue, 13 Dec 2016 01:54:20 GMT
> Console URL: 
> http://localhost:50030/jobdetails.jsp?jobid=job_201612051339_2648
> 
> Retry  : 2
> Start Time : Tue, 13 Dec 2016 01:55:20 GMT
> End Time   : Tue, 13 Dec 2016 01:55:24 GMT
> Console URL: 
> http://localhost:50030/jobdetails.jsp?jobid=job_201612051339_2649
> 

[jira] [Comment Edited] (OOZIE-2709) Log the substituted pig script by expanding macros

2017-01-20 Thread Satish Subhashrao Saley (JIRA)

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

Satish Subhashrao Saley edited comment on OOZIE-2709 at 1/20/17 5:58 PM:
-

Thank you Rohini and Peter for the review. Committed to master.


was (Author: satishsaley):
Thank you Rohini for the review. Committed to master.

> Log the substituted pig script by expanding macros
> --
>
> Key: OOZIE-2709
> URL: https://issues.apache.org/jira/browse/OOZIE-2709
> Project: Oozie
>  Issue Type: Bug
>Reporter: Satish Subhashrao Saley
>Assignee: Satish Subhashrao Saley
> Attachments: OOZIE-2709-1.patch, OOZIE-2709-2.patch, 
> OOZIE-2709-3.patch, OOZIE-2709-4.patch, OOZIE-2709-5.patch, OOZIE-2709-6.patch
>
>
> Ask from [~knoguchi] to make life easier when debugging pig scripts with lots 
> of macros.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (OOZIE-2691) Show workflow action retry count to UI

2017-01-20 Thread Purshotam Shah (JIRA)

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

Purshotam Shah commented on OOZIE-2691:
---

{quote}
Action ids make it simple, but operation on those should semantically be part 
of a "action" command and not "job" command. But that is too much of a hassle 
to add a new one. So just use -action option to specify the action be 
consistent with rest of the commands. ie
job -info 000-161212175234862-oozie-puru-W@pig-node -oozie 
http://localhost:11000/oozie -retries to 
job -info 000-161212175234862-oozie-puru-W -action pig-node -oozie 
http://localhost:11000/oozie -retries
{quote}

We use action when we need provide multiple actions, like in coord where we 
provide actions as a list, range, etc..
But in this case there is only one action, so it more easy to use actionID 
rather than using the job and having addition option to provide action name.
We support -info 000-161212175234862-oozie-puru-W@pig-node. I think it's 
more clear and easier ti use -retries. 
We don't need two commands for that. Uploaded patch only uses -retries.


Comments 2 and 3 are addressed.

Uploaded UI snapshot.




> Show workflow action retry count to UI
> --
>
> Key: OOZIE-2691
> URL: https://issues.apache.org/jira/browse/OOZIE-2691
> Project: Oozie
>  Issue Type: New Feature
>Reporter: Purshotam Shah
>Assignee: Purshotam Shah
> Attachments: Action Retries - webservice.png, OOZIE-2691-V1.patch, 
> OOZIE-2691-V2.patch, OOZIE-2691-V3.patch, screenshot.png, UI.png
>
>
> CLI
> {code}
> $ oozie job -info 000-161212175234862-oozie-puru-W@:start: -oozie 
> http://localhost:11000/oozie -retries
> ID : 000-161212175234862-oozie-puru-W@:start:
> No Retries
> ---
> $ oozie job -info 000-161212175234862-oozie-puru-W@pig-node -oozie 
> http://localhost:11000/oozie -retries
> ID : 000-161212175234862-oozie-puru-W@pig-node
> ---
> Retry  : 1
> Start Time : Tue, 13 Dec 2016 01:54:13 GMT
> End Time   : Tue, 13 Dec 2016 01:54:20 GMT
> Console URL: 
> http://localhost:50030/jobdetails.jsp?jobid=job_201612051339_2648
> ---
> Retry  : 2
> Start Time : Tue, 13 Dec 2016 01:55:20 GMT
> End Time   : Tue, 13 Dec 2016 01:55:24 GMT
> Console URL: 
> http://localhost:50030/jobdetails.jsp?jobid=job_201612051339_2649
> ---
> Retry  : 3
> Start Time : Tue, 13 Dec 2016 01:56:24 GMT
> End Time   : Tue, 13 Dec 2016 01:56:27 GMT
> Console URL: 
> http://localhost:50030/jobdetails.jsp?jobid=job_201612051339_2650
> ---
> $ 
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


Re: Review Request 54726: OOZIE-2691 Show workflow action retry count to UI

2017-01-20 Thread Purshotam Shah


> On Jan. 17, 2017, 6:53 p.m., Rohini Palaniswamy wrote:
> > core/src/main/java/org/apache/oozie/servlet/V2JobServlet.java, lines 310-311
> > 
> >
> > You should return a list instead of map so that the attempts are always 
> > returned in order

Yes, we can do that. In that case, we need to pass retry number of each attempt.


> On Jan. 17, 2017, 6:53 p.m., Rohini Palaniswamy wrote:
> > webapp/src/main/webapp/oozie-console.js, lines 810-811
> > 
> >
> > populateRetries before the function does not look right. 
> >  
> >  Indentation also seems to be off

populateRetries is needed to object initialization, its ok. Will fix the 
Indentation.


> On Jan. 17, 2017, 6:53 p.m., Rohini Palaniswamy wrote:
> > docs/src/site/twiki/DG_CommandLineTool.twiki, line 631
> > 
> >
> > To get information on all the retry attempts of a workflow action 
> > specifying flag *=retries=* along with *=action=* flag with the action id 
> > in the =info= command.

We use action when we need provide multiple actions, like in coord where we 
provide actions as a list, range, etc..
But in this case there is only one action, so it more easy to use actionID 
rather than using the job and having addition option to provide action name.
We support -info 000-161212175234862-oozie-puru-W@pig-node. 
I think it's more clear and easier to just use -retries. We don't need two 
commands for that.


- Purshotam


---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/54726/#review161879
---


On Jan. 20, 2017, 10:02 a.m., Purshotam Shah wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/54726/
> ---
> 
> (Updated Jan. 20, 2017, 10:02 a.m.)
> 
> 
> Review request for oozie.
> 
> 
> Bugs: OOZIE-2691
> https://issues.apache.org/jira/browse/OOZIE-2691
> 
> 
> Repository: oozie-git
> 
> 
> Description
> ---
> 
> Show workflow action retry count to UI
> 
> 
> Diffs
> -
> 
>   client/src/main/java/org/apache/oozie/cli/OozieCLI.java 
> e67fae9e2c7b32c1f209c24b4aba98daba96c06e 
>   client/src/main/java/org/apache/oozie/client/OozieClient.java 
> 12c80cbf422447c8d5c98e6ba95737e127087173 
>   client/src/main/java/org/apache/oozie/client/rest/JsonTags.java 
> 397e9ede8ebf63281c7f56f9cb9ee44c1518a1ed 
>   client/src/main/java/org/apache/oozie/client/rest/RestConstants.java 
> 41293642b06743294e4a640a2c66865b4e64eebd 
>   core/src/main/java/org/apache/oozie/DagEngine.java 
> 7597142551e78e50e727b3076a5ec93a65b04c36 
>   core/src/main/java/org/apache/oozie/command/wf/ActionCheckXCommand.java 
> d0551ff094477d511aa95527adf1071dc2775c6f 
>   core/src/main/java/org/apache/oozie/command/wf/ActionEndXCommand.java 
> 740b8d3f101352e951001af689e541ffbf606b52 
>   core/src/main/java/org/apache/oozie/command/wf/ActionStartXCommand.java 
> edfac48443efcc35c4aa2efbdca142f7d4d051d6 
>   core/src/main/java/org/apache/oozie/command/wf/ActionXCommand.java 
> 836e5d4f3f7d10233a1c1e8a007a44c6f4cfc78e 
>   
> core/src/main/java/org/apache/oozie/command/wf/WorkflowActionRetryInfoXCommand.java
>  e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 
>   core/src/main/java/org/apache/oozie/servlet/BaseJobServlet.java 
> 21105223b1a8a819b4ec091e1a513e5751b51425 
>   core/src/main/java/org/apache/oozie/servlet/V0JobServlet.java 
> 86ff278e6ff3b6ad9f2e7ea1d3e87446e404d122 
>   core/src/main/java/org/apache/oozie/servlet/V1JobServlet.java 
> 60f1029d49f78bff973bd167791cfcdaaa1af60f 
>   core/src/main/java/org/apache/oozie/servlet/V2JobServlet.java 
> 662a7ff26ff802bcdb530af71b52685bad089a6c 
>   core/src/main/java/org/apache/oozie/util/JobUtils.java 
> a7a53b355d194b55959ede20c85d38e02294853d 
>   core/src/test/java/org/apache/oozie/ForTestingActionExecutor.java 
> a70dc0200984798e06101bb0976df94f94a41cbe 
>   core/src/test/java/org/apache/oozie/client/TestOozieCLI.java 
> ce95ff34030c97b56ed9257ebe027833493a9fa1 
>   
> core/src/test/java/org/apache/oozie/command/wf/TestWorkflowActionRetryInfoXCommand.java
>  e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 
>   core/src/test/java/org/apache/oozie/servlet/MockDagEngineService.java 
> 60b7735c5d3fc06c27d4be164c48d90786ae4265 
>   core/src/test/resources/wf-ext-schema.xsd 
> 48aecf570cbd727ee9127aff2d24f02017dfb61d 
>   docs/src/site/twiki/DG_CommandLineTool.twiki 
> 35eee40363ffb8d998df34a693ee318cf70a230f 
>   docs/src/site/twiki/WebServicesAPI.twiki 
> b76e9343087a8c68825d222720543dc6d4d9f27a 
>   webapp/src/main/webapp/oozie-console.js 
> 

[jira] [Commented] (OOZIE-2776) Log message is repeated twice for hive actions

2017-01-20 Thread Rohini Palaniswamy (JIRA)

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

Rohini Palaniswamy commented on OOZIE-2776:
---

+1. Test failures are unrelated. It is just a logging change and does not 
require test case.

> Log message is repeated twice for hive actions
> --
>
> Key: OOZIE-2776
> URL: https://issues.apache.org/jira/browse/OOZIE-2776
> Project: Oozie
>  Issue Type: Bug
>Reporter: Satish Subhashrao Saley
>Assignee: Satish Subhashrao Saley
> Attachments: OOZIE-2776-1.patch
>
>
> Additivity = false is missing for some loggers.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (OOZIE-2691) Show workflow action retry count to UI

2017-01-20 Thread Hadoop QA (JIRA)

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

Hadoop QA commented on OOZIE-2691:
--

Testing JIRA OOZIE-2691

Cleaning local git workspace



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



> Show workflow action retry count to UI
> --
>
> Key: OOZIE-2691
> URL: https://issues.apache.org/jira/browse/OOZIE-2691
> Project: Oozie
>  Issue Type: New Feature
>Reporter: Purshotam Shah
>Assignee: Purshotam Shah
> Attachments: Action Retries - webservice.png, OOZIE-2691-V1.patch, 
> OOZIE-2691-V2.patch, OOZIE-2691-V3.patch, screenshot.png, UI.png
>
>
> CLI
> {code}
> $ oozie job -info 000-161212175234862-oozie-puru-W@:start: -oozie 
> http://localhost:11000/oozie -retries
> ID : 000-161212175234862-oozie-puru-W@:start:
> No Retries
> ---
> $ oozie job -info 000-161212175234862-oozie-puru-W@pig-node -oozie 
> http://localhost:11000/oozie -retries
> ID : 000-161212175234862-oozie-puru-W@pig-node
> ---
> Retry  : 1
> Start Time : Tue, 13 Dec 2016 01:54:13 GMT
> End Time   : Tue, 13 Dec 2016 01:54:20 GMT
> Console URL: 
> http://localhost:50030/jobdetails.jsp?jobid=job_201612051339_2648
> ---
> Retry  : 2
> Start Time : Tue, 13 Dec 2016 01:55:20 GMT
> End Time   : Tue, 13 Dec 2016 01:55:24 GMT
> Console URL: 
> http://localhost:50030/jobdetails.jsp?jobid=job_201612051339_2649
> ---
> Retry  : 3
> Start Time : Tue, 13 Dec 2016 01:56:24 GMT
> End Time   : Tue, 13 Dec 2016 01:56:27 GMT
> Console URL: 
> http://localhost:50030/jobdetails.jsp?jobid=job_201612051339_2650
> ---
> $ 
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


Build failed in Jenkins: oozie-trunk-precommit-build #3557

2017-01-20 Thread Apache Jenkins Server
See 

--
[...truncated 4461 lines...]
[INFO] Copying hive-service-1.2.0.jar to 

[INFO] Copying jetty-jndi-9.2.19.v20160908.jar to 

[INFO] Copying curator-framework-2.5.0.jar to 

[INFO] Copying servlet-api-2.5.jar to 

[INFO] Copying libthrift-0.9.2.jar to 

[INFO] Copying antlr-runtime-3.4.jar to 

[INFO] Copying geronimo-jms_1.1_spec-1.1.1.jar to 

[INFO] Copying ivy-2.4.0.jar to 

[INFO] Copying metrics-core-3.0.2.jar to 

[INFO] Copying jackson-core-asl-1.9.13.jar to 

[INFO] Copying commons-jexl-2.1.1.jar to 

[INFO] Copying commons-pool-1.5.4.jar to 

[INFO] Copying jaxb-impl-2.2.3-1.jar to 

[INFO] Copying jets3t-0.9.0.jar to 

[INFO] Copying datanucleus-rdbms-3.2.9.jar to 

[INFO] Copying hive-common-1.2.0.jar to 

[INFO] Copying snappy-java-1.0.4.1.jar to 

[INFO] Copying javax.annotation-api-1.2.jar to 

[INFO] Copying commons-compiler-2.7.6.jar to 

[INFO] Copying ant-1.9.1.jar to 

[INFO] Copying janino-2.7.6.jar to 

[INFO] Copying activemq-client-5.13.3.jar to 

[INFO] Copying guice-3.0.jar to 

[INFO] Copying httpclient-4.3.6.jar to 

[INFO] Copying xz-1.0.jar to 

[INFO] Copying zookeeper-3.4.5.jar to 

[INFO] Copying leveldbjni-all-1.8.jar to 

[INFO] Copying jetty-util-6.1.26.jar to 

[INFO] Copying velocity-1.5.jar to 

[INFO] Copying apache-log4j-extras-1.2.17.jar to 

[INFO] Copying xmlenc-0.52.jar to 

[INFO] Copying httpcore-4.3.3.jar to 

[INFO] 

Re: Review Request 54726: OOZIE-2691 Show workflow action retry count to UI

2017-01-20 Thread Purshotam Shah

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/54726/
---

(Updated Jan. 20, 2017, 10:02 a.m.)


Review request for oozie.


Bugs: OOZIE-2691
https://issues.apache.org/jira/browse/OOZIE-2691


Repository: oozie-git


Description
---

Show workflow action retry count to UI


Diffs (updated)
-

  client/src/main/java/org/apache/oozie/cli/OozieCLI.java 
e67fae9e2c7b32c1f209c24b4aba98daba96c06e 
  client/src/main/java/org/apache/oozie/client/OozieClient.java 
12c80cbf422447c8d5c98e6ba95737e127087173 
  client/src/main/java/org/apache/oozie/client/rest/JsonTags.java 
397e9ede8ebf63281c7f56f9cb9ee44c1518a1ed 
  client/src/main/java/org/apache/oozie/client/rest/RestConstants.java 
41293642b06743294e4a640a2c66865b4e64eebd 
  core/src/main/java/org/apache/oozie/DagEngine.java 
7597142551e78e50e727b3076a5ec93a65b04c36 
  core/src/main/java/org/apache/oozie/command/wf/ActionCheckXCommand.java 
d0551ff094477d511aa95527adf1071dc2775c6f 
  core/src/main/java/org/apache/oozie/command/wf/ActionEndXCommand.java 
740b8d3f101352e951001af689e541ffbf606b52 
  core/src/main/java/org/apache/oozie/command/wf/ActionStartXCommand.java 
edfac48443efcc35c4aa2efbdca142f7d4d051d6 
  core/src/main/java/org/apache/oozie/command/wf/ActionXCommand.java 
836e5d4f3f7d10233a1c1e8a007a44c6f4cfc78e 
  
core/src/main/java/org/apache/oozie/command/wf/WorkflowActionRetryInfoXCommand.java
 e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 
  core/src/main/java/org/apache/oozie/servlet/BaseJobServlet.java 
21105223b1a8a819b4ec091e1a513e5751b51425 
  core/src/main/java/org/apache/oozie/servlet/V0JobServlet.java 
86ff278e6ff3b6ad9f2e7ea1d3e87446e404d122 
  core/src/main/java/org/apache/oozie/servlet/V1JobServlet.java 
60f1029d49f78bff973bd167791cfcdaaa1af60f 
  core/src/main/java/org/apache/oozie/servlet/V2JobServlet.java 
662a7ff26ff802bcdb530af71b52685bad089a6c 
  core/src/main/java/org/apache/oozie/util/JobUtils.java 
a7a53b355d194b55959ede20c85d38e02294853d 
  core/src/test/java/org/apache/oozie/ForTestingActionExecutor.java 
a70dc0200984798e06101bb0976df94f94a41cbe 
  core/src/test/java/org/apache/oozie/client/TestOozieCLI.java 
ce95ff34030c97b56ed9257ebe027833493a9fa1 
  
core/src/test/java/org/apache/oozie/command/wf/TestWorkflowActionRetryInfoXCommand.java
 e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 
  core/src/test/java/org/apache/oozie/servlet/MockDagEngineService.java 
60b7735c5d3fc06c27d4be164c48d90786ae4265 
  core/src/test/resources/wf-ext-schema.xsd 
48aecf570cbd727ee9127aff2d24f02017dfb61d 
  docs/src/site/twiki/DG_CommandLineTool.twiki 
35eee40363ffb8d998df34a693ee318cf70a230f 
  docs/src/site/twiki/WebServicesAPI.twiki 
b76e9343087a8c68825d222720543dc6d4d9f27a 
  webapp/src/main/webapp/oozie-console.js 
11c6940bb26c1a8318781ce62926b6e4a185e37c 

Diff: https://reviews.apache.org/r/54726/diff/


Testing
---

$ oozie job -info 000-161212175234862-oozie-puru-W@:start: -oozie 
http://localhost:11000/oozie -retries
ID : 000-161212175234862-oozie-puru-W@:start:
No Retries

$ job -info 000-161212175234862-oozie-puru-W@pig-node -oozie 
http://localhost:11000/oozie -retries
ID : 000-161212175234862-oozie-puru-W@pig-node

Retry  : 1
Start Time : Tue, 13 Dec 2016 01:54:13 GMT
End Time   : Tue, 13 Dec 2016 01:54:20 GMT
Console URL: 
http://localhost:50030/jobdetails.jsp?jobid=job_201612051339_2648

Retry  : 2
Start Time : Tue, 13 Dec 2016 01:55:20 GMT
End Time   : Tue, 13 Dec 2016 01:55:24 GMT
Console URL: 
http://localhost:50030/jobdetails.jsp?jobid=job_201612051339_2649

Retry  : 3
Start Time : Tue, 13 Dec 2016 01:56:24 GMT
End Time   : Tue, 13 Dec 2016 01:56:27 GMT
Console URL: 
http://localhost:50030/jobdetails.jsp?jobid=job_201612051339_2650

$


Thanks,

Purshotam Shah



[jira] [Updated] (OOZIE-2691) Show workflow action retry count to UI

2017-01-20 Thread Purshotam Shah (JIRA)

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

Purshotam Shah updated OOZIE-2691:
--
Attachment: UI.png

> Show workflow action retry count to UI
> --
>
> Key: OOZIE-2691
> URL: https://issues.apache.org/jira/browse/OOZIE-2691
> Project: Oozie
>  Issue Type: New Feature
>Reporter: Purshotam Shah
>Assignee: Purshotam Shah
> Attachments: Action Retries - webservice.png, OOZIE-2691-V1.patch, 
> OOZIE-2691-V2.patch, OOZIE-2691-V3.patch, screenshot.png, UI.png
>
>
> CLI
> {code}
> $ oozie job -info 000-161212175234862-oozie-puru-W@:start: -oozie 
> http://localhost:11000/oozie -retries
> ID : 000-161212175234862-oozie-puru-W@:start:
> No Retries
> ---
> $ oozie job -info 000-161212175234862-oozie-puru-W@pig-node -oozie 
> http://localhost:11000/oozie -retries
> ID : 000-161212175234862-oozie-puru-W@pig-node
> ---
> Retry  : 1
> Start Time : Tue, 13 Dec 2016 01:54:13 GMT
> End Time   : Tue, 13 Dec 2016 01:54:20 GMT
> Console URL: 
> http://localhost:50030/jobdetails.jsp?jobid=job_201612051339_2648
> ---
> Retry  : 2
> Start Time : Tue, 13 Dec 2016 01:55:20 GMT
> End Time   : Tue, 13 Dec 2016 01:55:24 GMT
> Console URL: 
> http://localhost:50030/jobdetails.jsp?jobid=job_201612051339_2649
> ---
> Retry  : 3
> Start Time : Tue, 13 Dec 2016 01:56:24 GMT
> End Time   : Tue, 13 Dec 2016 01:56:27 GMT
> Console URL: 
> http://localhost:50030/jobdetails.jsp?jobid=job_201612051339_2650
> ---
> $ 
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (OOZIE-2691) Show workflow action retry count to UI

2017-01-20 Thread Purshotam Shah (JIRA)

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

Purshotam Shah updated OOZIE-2691:
--
Attachment: OOZIE-2691-V3.patch

> Show workflow action retry count to UI
> --
>
> Key: OOZIE-2691
> URL: https://issues.apache.org/jira/browse/OOZIE-2691
> Project: Oozie
>  Issue Type: New Feature
>Reporter: Purshotam Shah
>Assignee: Purshotam Shah
> Attachments: Action Retries - webservice.png, OOZIE-2691-V1.patch, 
> OOZIE-2691-V2.patch, OOZIE-2691-V3.patch, screenshot.png
>
>
> CLI
> {code}
> $ oozie job -info 000-161212175234862-oozie-puru-W@:start: -oozie 
> http://localhost:11000/oozie -retries
> ID : 000-161212175234862-oozie-puru-W@:start:
> No Retries
> ---
> $ oozie job -info 000-161212175234862-oozie-puru-W@pig-node -oozie 
> http://localhost:11000/oozie -retries
> ID : 000-161212175234862-oozie-puru-W@pig-node
> ---
> Retry  : 1
> Start Time : Tue, 13 Dec 2016 01:54:13 GMT
> End Time   : Tue, 13 Dec 2016 01:54:20 GMT
> Console URL: 
> http://localhost:50030/jobdetails.jsp?jobid=job_201612051339_2648
> ---
> Retry  : 2
> Start Time : Tue, 13 Dec 2016 01:55:20 GMT
> End Time   : Tue, 13 Dec 2016 01:55:24 GMT
> Console URL: 
> http://localhost:50030/jobdetails.jsp?jobid=job_201612051339_2649
> ---
> Retry  : 3
> Start Time : Tue, 13 Dec 2016 01:56:24 GMT
> End Time   : Tue, 13 Dec 2016 01:56:27 GMT
> Console URL: 
> http://localhost:50030/jobdetails.jsp?jobid=job_201612051339_2650
> ---
> $ 
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)