Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Invalid
-
None
-
None
-
None
Description
Hive DR export stage fail with exception, if there are no source events available.
2015-09-30 10:32:31,211 INFO [main] org.apache.falcon.hive.HiveDRTool: Cleaning staging directories 2015-09-30 10:32:31,221 ERROR [main] org.apache.falcon.hive.HiveDRTool: Couldn't complete HiveDR operation: java.lang.NullPointerException at org.apache.falcon.hive.util.EventSourcerUtils.cleanUpEventInputDir(EventSourcerUtils.java:182) at org.apache.falcon.hive.HiveDRTool.cleanInputDir(HiveDRTool.java:330) at org.apache.falcon.hive.HiveDRTool.cleanup(HiveDRTool.java:335) at org.apache.falcon.hive.HiveDRTool.run(HiveDRTool.java:119) at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70) at org.apache.falcon.hive.HiveDRTool.main(HiveDRTool.java:320) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.oozie.action.hadoop.JavaMain.run(JavaMain.java:56)