falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peeyush Bishnoi (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FALCON-1415) Hive DR process fail if there are no events available from source table
Date Fri, 04 Sep 2015 10:59:45 GMT

    [ https://issues.apache.org/jira/browse/FALCON-1415?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14730649#comment-14730649
] 

Peeyush Bishnoi commented on FALCON-1415:
-----------------------------------------

The exception happens when there are no events for source table to be replicated and still
export stage invoke with empty filename for replication. I have provided a patch in which
we will not process further if there are no sourced events for replication. 

Please review.

> Hive DR process fail if there are no events available from source table
> -----------------------------------------------------------------------
>
>                 Key: FALCON-1415
>                 URL: https://issues.apache.org/jira/browse/FALCON-1415
>             Project: Falcon
>          Issue Type: Bug
>          Components: replication
>            Reporter: Peeyush Bishnoi
>            Assignee: Peeyush Bishnoi
>         Attachments: FALCON-1415.patch
>
>
> Hive DR process fail with exception in export stage, if there are no events for a given
source table.
> {code:java}
> Error: java.io.IOException: java.lang.ArrayIndexOutOfBoundsException: 2
> 	at org.apache.falcon.hive.mapreduce.CopyMapper.map(CopyMapper.java:63)
> 	at org.apache.falcon.hive.mapreduce.CopyMapper.map(CopyMapper.java:38)
> 	at org.apache.hadoop.mapreduce.Mapper.run(Mapper.java:146)
> 	at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:787)
> 	at org.apache.hadoop.mapred.MapTask.run(MapTask.java:341)
> 	at org.apache.hadoop.mapred.YarnChild$2.run(YarnChild.java:164)
> 	at java.security.AccessController.doPrivileged(Native Method)
> 	at javax.security.auth.Subject.doAs(Subject.java:415)
> 	at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1657)
> 	at org.apache.hadoop.mapred.YarnChild.main(YarnChild.java:158)
> Caused by: java.lang.ArrayIndexOutOfBoundsException: 2
> 	at org.apache.falcon.hive.util.EventUtils.processEvents(EventUtils.java:160)
> 	at org.apache.falcon.hive.mapreduce.CopyMapper.map(CopyMapper.java:60)
> 	... 9 more
> {code}



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

Mime
View raw message