Description
Right now, example queries are failing with native tables. Seems, query is successfully completed but returning result set as null.
Query:drop table temp1 Status:SUCCESSFUL:Query is successful! - Result Available Total time in millis:610 Driver run time in millis:25 Result: Exception in thread "main" java.lang.IllegalStateException: Failed to get resultset, cause:HTTP 500 Can not create a Path from a null string at org.apache.lens.client.LensStatement.getResultSet(LensStatement.java:456) at org.apache.lens.client.LensStatement.getResultSet(LensStatement.java:435) at org.apache.lens.examples.SampleQueries.runQueries(SampleQueries.java:144) at org.apache.lens.examples.SampleQueries.queryAll(SampleQueries.java:101) at org.apache.lens.examples.SampleQueries.main(SampleQueries.java:83) C1MNG0PXDTY3:lens-client-dist-2.0.0-SNAPSHOT-client raju.bairishetti$
Server logs:
7 Jan 2015 20:21:02,875 [Grizzly-worker(4)] INFO org.apache.lens.driver.hive.HiveDriver - Creating result set for hiveHandle:OperationHandle [opType=EXECUTE_STATEMENT, getHandleIdentifier()=2ed2488a-f1e9-4898-8610-589d5b57caca] 27 Jan 2015 20:21:02,878 [Grizzly-worker(4)] WARN org.glassfish.jersey.server.ServerRuntime$Responder - WebApplicationException cause: java.lang.IllegalArgumentException: Can not create a Path from a null string at org.apache.hadoop.fs.Path.checkPathArg(Path.java:123) at org.apache.hadoop.fs.Path.<init>(Path.java:135) at org.apache.lens.driver.hive.HiveDriver.createResultSet(HiveDriver.java:733) at org.apache.lens.driver.hive.HiveDriver.fetchResultSet(HiveDriver.java:578) at org.apache.lens.server.query.QueryExecutionServiceImpl.getResultset(QueryExecutionServiceImpl.java:1046) at org.apache.lens.server.query.QueryExecutionServiceImpl.fetchResultSet(QueryExecutionServiceImpl.java:1568) at org.apache.lens.server.query.QueryServiceResource.getResultSet(QueryServiceResource.java:738) at sun.reflect.GeneratedMethodAccessor181.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) 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:695) 27 Jan 2015 20:21:02,939 [Grizzly-worker(5)] INFO org.apache.lens.server.AuthenticationFilter - Request from user: null, path=/session