----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/59620/#review204323 -----------------------------------------------------------
examples/src/main/apps/git/job.properties Lines 9 (patched) <https://reviews.apache.org/r/59620/#comment286760> trailing whitespace; there's some other cases here and in other files too sharelib/git/pom.xml Lines 107-118 (patched) <https://reviews.apache.org/r/59620/#comment286761> This can be removed (It was needed some time ago in each sharelib pom file, but not anymore). sharelib/git/src/main/java/org/apache/oozie/action/hadoop/GitMain.java Lines 216 (patched) <https://reviews.apache.org/r/59620/#comment286762> Is this necessary? Why not simply throw whatever exception (IOException, IllegalArgumentException, etc)? We don't seem to be doing any special handling or anything for GitMainExceptions. sharelib/git/src/test/java/org/apache/oozie/action/hadoop/TestGitActionExecutor.java Lines 33 (patched) <https://reviews.apache.org/r/59620/#comment286763> "is" --> "in" sharelib/git/src/test/java/org/apache/oozie/action/hadoop/TestGitActionExecutor.java Lines 36 (patched) <https://reviews.apache.org/r/59620/#comment286764> As Peter Bacsko pointed out on the JIRA, we shouldn't be fetching a remote repo during a unit test. Perhaps JGit has some easy way of mocking this or doing it locally? - Robert Kanter On June 4, 2018, 5:44 a.m., Clay B. wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/59620/ > ----------------------------------------------------------- > > (Updated June 4, 2018, 5:44 a.m.) > > > Review request for oozie and András Piros. > > > Bugs: OOZIE-2877 > https://issues.apache.org/jira/browse/OOZIE-2877 > > > Repository: oozie-git > > > Description > ------- > > OOZIE-2877 - Oozie Git Action > > > Diffs > ----- > > client/src/main/resources/git-action-1.0.xsd PRE-CREATION > core/src/main/java/org/apache/oozie/action/hadoop/GitActionExecutor.java > PRE-CREATION > core/src/main/resources/oozie-default.xml c54db34 > docs/src/site/twiki/WorkflowFunctionalSpec.twiki 76cbe21 > examples/src/main/apps/git/job.properties PRE-CREATION > examples/src/main/apps/git/workflow.xml PRE-CREATION > pom.xml 6f35868 > sharelib/git/pom.xml PRE-CREATION > sharelib/git/src/main/java/org/apache/oozie/action/hadoop/GitMain.java > PRE-CREATION > > sharelib/git/src/main/java/org/apache/oozie/action/hadoop/GitOperations.java > PRE-CREATION > > sharelib/git/src/test/java/org/apache/oozie/action/hadoop/TestGitActionExecutor.java > PRE-CREATION > > sharelib/git/src/test/java/org/apache/oozie/action/hadoop/TestGitMainGetKey.java > PRE-CREATION > > sharelib/git/src/test/java/org/apache/oozie/action/hadoop/TestIntegrationGitActionExecutor.java > PRE-CREATION > sharelib/pom.xml 6a0864d > src/main/assemblies/sharelib.xml 07dc69c > webapp/pom.xml 67526d9 > > > Diff: https://reviews.apache.org/r/59620/diff/6/ > > > Testing > ------- > > Tested using unit and integration tests. Still need to: > * Test on a cluster > * Test with an authenticated SSH hosted Git repo > > Sumitted a request to the JGit community as their branch pulling code seems > to have an > [issue](https://dev.eclipse.org/mhonarc/lists/jgit-dev/msg03343.html). > > Andras has tested against his patch 011 with results at > https://issues.apache.org/jira/browse/OOZIE-2877?focusedCommentId=16459523&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-16459523 > > > File Attachments > ---------------- > > 0001-OOZIE-2877-Oozie-Git-Action.patch > > https://reviews.apache.org/media/uploaded/files/2017/05/29/24f90a78-3dc1-49fe-bf29-5927a3cd5e72__0001-OOZIE-2877-Oozie-Git-Action.patch > Patch > > https://reviews.apache.org/media/uploaded/files/2017/05/29/dd23dd72-67e0-456f-9b52-e566d8d17d16__0001-OOZIE-2877-Oozie-Git-Action.patch > > > Thanks, > > Clay B. > >
