Uploaded image for project: 'Oozie'
  1. Oozie
  2. OOZIE-2826

Upgrade joda-time to 2.9.9

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 4.3.0
    • Fix Version/s: 5.1.0
    • Component/s: workflow
    • Labels:
      None
    • Flags:
      Patch

      Description

      Symptom:

      2016-11-04 17:34:50,283 WARN [main] com.amazonaws.services.s3.internal.S3MetadataResponseHandler: Unable to parse last modified date: Wed, 02 Nov 2016 23:05:38 GMT
      java.lang.IllegalStateException: Joda-time 2.2 or later version is required, but found version: 2.1
      at com.amazonaws.util.DateUtils.handleException(DateUtils.java:149)
      at com.amazonaws.util.DateUtils.parseRFC822Date(DateUtils.java:195)
      at com.amazonaws.services.s3.internal.ServiceUtils.parseRfc822Date(ServiceUtils.java:78)
      at com.amazonaws.services.s3.internal.AbstractS3ResponseHandler.populateObjectMetadata(AbstractS3ResponseHandler.java:115)
      at com.amazonaws.services.s3.internal.S3MetadataResponseHandler.handle(S3MetadataResponseHandler.java:32)
      at com.amazonaws.services.s3.internal.S3MetadataResponseHandler.handle(S3MetadataResponseHandler.java:25)
      at com.amazonaws.http.AmazonHttpClient.handleResponse(AmazonHttpClient.java:1072)
      at com.amazonaws.http.AmazonHttpClient.executeOneRequest(AmazonHttpClient.java:746)
      at com.amazonaws.http.AmazonHttpClient.executeHelper(AmazonHttpClient.java:489)
      at com.amazonaws.http.AmazonHttpClient.execute(AmazonHttpClient.java:310)
      at com.amazonaws.services.s3.AmazonS3Client.invoke(AmazonS3Client.java:3785)
      at com.amazonaws.services.s3.AmazonS3Client.getObjectMetadata(AmazonS3Client.java:1050)
      at com.amazonaws.services.s3.AmazonS3Client.getObjectMetadata(AmazonS3Client.java:1027)
      at org.apache.hadoop.fs.s3a.S3AFileSystem.getObjectMetadata(S3AFileSystem.java:850)
      at org.apache.hadoop.fs.s3a.S3AFileSystem.getFileStatus(S3AFileSystem.java:1403)
      at org.apache.hadoop.fs.s3a.S3AFileSystem.innerMkdirs(S3AFileSystem.java:1343)
      at org.apache.hadoop.fs.s3a.S3AFileSystem.mkdirs(S3AFileSystem.java:1308)
      at org.apache.hadoop.fs.FileSystem.mkdirs(FileSystem.java:1898)
      at org.apache.falcon.util.DistCPOptionsUtil.getDistCpOptions(DistCPOptionsUtil.java:90)
      at org.apache.falcon.replication.FeedReplicator.getDistCpOptions(FeedReplicator.java:229)
      at org.apache.falcon.replication.FeedReplicator.run(FeedReplicator.java:70)
      at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:76)
      at org.apache.falcon.replication.FeedReplicator.main(FeedReplicator.java:64)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:497)
      at org.apache.oozie.action.hadoop.JavaMain.run(JavaMain.java:56)
      at org.apache.oozie.action.hadoop.LauncherMain.run(LauncherMain.java:51)
      at org.apache.oozie.action.hadoop.JavaMain.main(JavaMain.java:35)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:497)
      at org.apache.oozie.action.hadoop.LauncherMapper.map(LauncherMapper.java:242)
      at org.apache.hadoop.mapred.MapRunner.run(MapRunner.java:54)
      at org.apache.hadoop.mapred.MapTask.runOldMapper(MapTask.java:453)
      at org.apache.hadoop.mapred.MapTask.run(MapTask.java:343)
      at org.apache.hadoop.mapred.YarnChild$2.run(YarnChild.java:168)
      at java.security.AccessController.doPrivileged(Native Method)
      at javax.security.auth.Subject.doAs(Subject.java:422)
      at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1724)
      at org.apache.hadoop.mapred.YarnChild.main(YarnChild.java:162)
      Caused by: java.lang.IllegalArgumentException: Invalid format: "Wed, 02 Nov 2016 23:05:38 GMT" is malformed at "GMT"
      at org.joda.time.format.DateTimeFormatter.parseMillis(DateTimeFormatter.java:747)
      at com.amazonaws.util.DateUtils.parseRFC822Date(DateUtils.java:193)
      ... 41 more

        Attachments

        1. oozie-joda.log.txt
          11 kB
          Péter Gergő Barna
        2. oozie-joda.example-feed.xml
          2 kB
          Péter Gergő Barna
        3. OOZIE-2826.patch
          0.7 kB
          Péter Gergő Barna
        4. OOZIE-2826-1.patch
          0.4 kB
          Artem Ervits
        5. OOZIE-2826-2.patch
          1 kB
          Artem Ervits
        6. OOZIE-2826-03.patch
          0.5 kB
          Artem Ervits

          Activity

            People

            • Assignee:
              dbist13 Artem Ervits
              Reporter:
              bpgergo Péter Gergő Barna
            • Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified