Avro
  1. Avro
  2. AVRO-935

Update Java dependencies for 1.6.0

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.6.0
    • Component/s: java
    • Labels:
      None

      Description

      Update Java dependencies to the latest version where appropriate.

      1. AVRO-935.patch
        8 kB
        Scott Carey
      2. AVRO-935.2.patch
        12 kB
        Scott Carey

        Issue Links

          Activity

          Hide
          Scott Carey added a comment -

          A few of the less obvious changes may need discussion:

          Hadoop. Should we go to 0.20.205.0 ? This is probably more compatible with the versions that most people are using than 0.20.2. But the API's we touch are probably all the same.

          Jackson. We are on 1.7.3. We should definitely at least move to the latest bugfix release of 1.7.x.
          1.7.9 is out
          1.8.6 has recently been released
          1.9.0 has recently been released

          I will create a patch using Jackson 1.8.6 and Hadoop 0.20.205.

          Show
          Scott Carey added a comment - A few of the less obvious changes may need discussion: Hadoop. Should we go to 0.20.205.0 ? This is probably more compatible with the versions that most people are using than 0.20.2. But the API's we touch are probably all the same. Jackson. We are on 1.7.3. We should definitely at least move to the latest bugfix release of 1.7.x. 1.7.9 is out 1.8.6 has recently been released 1.9.0 has recently been released I will create a patch using Jackson 1.8.6 and Hadoop 0.20.205.
          Hide
          Scott Carey added a comment -

          Patch that updates Avro Java's dependency and plugin versions. Also makes minor modifications to support changes to velocity and hadoop.
          The Hadoop change is the only one that may be an issue, though I think it is the right way to go since both 0.20.20x.y and CDH3 require the same change in API use.

          Show
          Scott Carey added a comment - Patch that updates Avro Java's dependency and plugin versions. Also makes minor modifications to support changes to velocity and hadoop. The Hadoop change is the only one that may be an issue, though I think it is the right way to go since both 0.20.20x.y and CDH3 require the same change in API use.
          Hide
          Doug Cutting added a comment -

          Hmm. 'mvn test' passes for me, but running individual tests with, e.g., 'mvn -Dtest=TestSchema' now fails. That's not critical for the 1.6.0 release, but it's nice if it works for developers. Any idea why this now fails?

          Show
          Doug Cutting added a comment - Hmm. 'mvn test' passes for me, but running individual tests with, e.g., 'mvn -Dtest=TestSchema' now fails. That's not critical for the 1.6.0 release, but it's nice if it works for developers. Any idea why this now fails?
          Hide
          Scott Carey added a comment -

          Works for me, though it won't get past the compiler project without -DfailIfNoTests=false for some reason.

          cd lang/java
          mvn test -Dtest=TestGenericData

          works, but fails after the project with it in there.

          It also works if I add
          <failIfNoTests>false</failIfNoTests>

          to the surefire plugin configuration in lang/java/pom.xml

          Show
          Scott Carey added a comment - Works for me, though it won't get past the compiler project without -DfailIfNoTests=false for some reason. cd lang/java mvn test -Dtest=TestGenericData works, but fails after the project with it in there. It also works if I add <failIfNoTests>false</failIfNoTests> to the surefire plugin configuration in lang/java/pom.xml
          Hide
          Doug Cutting added a comment -

          +1 for adding that to the surefire plugin configuration.

          Show
          Doug Cutting added a comment - +1 for adding that to the surefire plugin configuration.
          Hide
          Doug Cutting added a comment -

          Scott, do you want to update this and commit it, or should I?

          Show
          Doug Cutting added a comment - Scott, do you want to update this and commit it, or should I?
          Hide
          Doug Cutting added a comment -

          Upgrading to blocker as we prepare for 1.6.0.

          Show
          Doug Cutting added a comment - Upgrading to blocker as we prepare for 1.6.0.
          Hide
          Scott Carey added a comment -

          I will have some time Sunday evening. If you need it done before that feel free. I'm +1 on the above w/ the extra configuration for failIfNoTests to false.

          Show
          Scott Carey added a comment - I will have some time Sunday evening. If you need it done before that feel free. I'm +1 on the above w/ the extra configuration for failIfNoTests to false.
          Hide
          Scott Carey added a comment -

          New patch, prevents surefire from failing tests when none are found.

          Also updates netty and slf4j to the latest bugfix versions since they have had updates recently.

          Lastly, moves all plugin versions in pom.xml and lang/java/pom.xml into properties at the top of the file, for easier updates going forward.

          Show
          Scott Carey added a comment - New patch, prevents surefire from failing tests when none are found. Also updates netty and slf4j to the latest bugfix versions since they have had updates recently. Lastly, moves all plugin versions in pom.xml and lang/java/pom.xml into properties at the top of the file, for easier updates going forward.
          Hide
          Scott Carey added a comment -

          committed in revision 1188005.

          Show
          Scott Carey added a comment - committed in revision 1188005.

            People

            • Assignee:
              Scott Carey
              Reporter:
              Scott Carey
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development