Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Invalid
-
None
-
None
-
None
Description
Falcon - Retention jobs getting killed
==========================================
Failing Oozie Launcher, Main class [org.apache.ivory.retention.FeedEvictor], main() threw exception, String index out of range: 10
java.lang.StringIndexOutOfBoundsException: String index out of range: 10
at java.lang.String.substring(String.java:1934)
at org.apache.ivory.retention.FeedEvictor.populateDatePartMap(FeedEvictor.java:265)
at org.apache.ivory.retention.FeedEvictor.getDate(FeedEvictor.java:229)
at org.apache.ivory.retention.FeedEvictor.discoverInstanceToDelete(FeedEvictor.java:181)
at org.apache.ivory.retention.FeedEvictor.evictor(FeedEvictor.java:132)
at org.apache.ivory.retention.FeedEvictor.run(FeedEvictor.java:110)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
at org.apache.ivory.retention.FeedEvictor.main(FeedEvictor.java:85)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.oozie.action.hadoop.LauncherMapper.map(LauncherMapper.java:467)
at org.apache.hadoop.mapred.MapRunner.run(MapRunner.java:50)
at org.apache.hadoop.mapred.MapTask.runOldMapper(MapTask.java:391)
at org.apache.hadoop.mapred.MapTask.run(MapTask.java:325)
at org.apache.hadoop.mapred.Child$4.run(Child.java:266)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:396)
at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1278)
at org.apache.hadoop.mapred.Child.main(Child.java:260)