Description
After submitting a feed,
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <feed name="FeedLookupAPITest--raaw-logs16-1b60ab7d" description="clicks log" xmlns="uri:falcon:feed:0.1"> <partitions> <partition name="country"/> <partition name="colo"/> </partitions> <frequency>minutes(20)</frequency> <timezone>UTC</timezone> <late-arrival cut-off="hours(6)"/> <clusters> <cluster name="FeedLookupAPITest--corp-89631dac" type="source"> <validity start="2009-02-01T00:00Z" end="2099-05-01T00:00Z"/> <retention limit="months(9000)" action="delete"/> </cluster> </clusters> <locations> <location type="data" path="/tmp/falcon-regression/FeedLookupAPITest/${YEAR}/${MONTH}/${DAY}/${HOUR}/${MINUTE}"/> <location type="stats" path="/projects/falcon/clicksStats"/> <location type="meta" path="/projects/falcon/clicksMetaData"/> </locations> <ACL owner="karishmagulati" group="users" permission="*"/> <schema location="/schema/clicks" provider="protobuf"/> <properties> <property name="field1" value="value1"/> <property name="field2" value="value2"/> </properties> </feed>
the cli command
./falcon entity -type feed -lookup -path /tmp/falcon-regression/FeedLookupAPITest/2014/10/10/23/00/
throws the following Exception:
java.lang.NullPointerException at org.apache.falcon.resource.FeedLookupResult.toString(FeedLookupResult.java:60) at org.apache.falcon.ResponseHelper.getString(ResponseHelper.java:270) at org.apache.falcon.cli.FalconCLI.entityCommand(FalconCLI.java:412) at org.apache.falcon.cli.FalconCLI.run(FalconCLI.java:188) at org.apache.falcon.cli.FalconCLI.main(FalconCLI.java:138)