Description
Seeing the following :
20 Mar 2015 09:27:47,979 [Grizzly-worker(5)] ERROR org.apache.lens.cube.metadata.CubeMetastoreClient - Couldn't parse partition: latest with update period: HOURLY, skipping. org.apache.lens.api.LensException: Update period HOURLY not correct for parsing latest at org.apache.lens.cube.metadata.TimePartition.<init>(TimePartition.java:54) at org.apache.lens.cube.metadata.TimePartition.of(TimePartition.java:72) at org.apache.lens.cube.metadata.CubeMetastoreClient$PartitionTimelineCache.addForBatchAddition(CubeMetastoreClient.java:238) at org.apache.lens.cube.metadata.CubeMetastoreClient$PartitionTimelineCache.get(CubeMetastoreClient.java:202) at org.apache.lens.cube.metadata.CubeMetastoreClient$PartitionTimelineCache.get(CubeMetastoreClient.java:304) at org.apache.lens.cube.metadata.CubeMetastoreClient.getLatestDateOfCube(CubeMetastoreClient.java:106) at org.apache.lens.server.metastore.CubeMetastoreServiceImpl.getLatestDateOfCube(CubeMetastoreServiceImpl.java:1346) at org.apache.lens.server.metastore.MetastoreResource.getLatestDateOfCube(MetastoreResource.java:1519) 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.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81) at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:151) at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:171) at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$TypeOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:195) at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:104) at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:353) at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:343) at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102) at org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:255) at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271) at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267) at org.glassfish.jersey.internal.Errors.process(Errors.java:315) at org.glassfish.jersey.internal.Errors.process(Errors.java:297) at org.glassfish.jersey.internal.Errors.process(Errors.java:267) at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:318) at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:235) at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:983) at org.glassfish.jersey.grizzly2.httpserver.GrizzlyHttpContainer.service(GrizzlyHttpContainer.java:330) at org.glassfish.grizzly.http.server.HttpHandler$1.run(HttpHandler.java:212) at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:565) at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:545) at java.lang.Thread.run(Thread.java:745) Caused by: java.text.ParseException: Unparseable date: "latest" at java.text.DateFormat.parse(DateFormat.java:357) at org.apache.lens.cube.metadata.TimePartition.<init>(TimePartition.java:52) ... 33 more