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

Artem Ervits updated OOZIE-2826:
--------------------------------
    Fix Version/s: 5.1.0

> Falcon feed fails to aws s3; Oozie joda time version does not meet required 
> jar version 2.2 or later
> ----------------------------------------------------------------------------------------------------
>
>                 Key: OOZIE-2826
>                 URL: https://issues.apache.org/jira/browse/OOZIE-2826
>             Project: Oozie
>          Issue Type: Bug
>          Components: workflow
>    Affects Versions: 4.3.0
>            Reporter: Péter Gergő Barna
>            Assignee: Artem Ervits
>            Priority: Minor
>             Fix For: 5.1.0
>
>         Attachments: OOZIE-2826-03.patch, OOZIE-2826-1.patch, 
> OOZIE-2826-2.patch, OOZIE-2826.patch, oozie-joda.example-feed.xml, 
> oozie-joda.log.txt
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> 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



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

Reply via email to