[jira] [Updated] (CARBONDATA-1112) fix failing IUD test case

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Updated] (CARBONDATA-1112) fix failing IUD test case

Akash R Nilugal (Jira)

     [ https://issues.apache.org/jira/browse/CARBONDATA-1112?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ravindra Pesala updated CARBONDATA-1112:
----------------------------------------
    Description:
while running any query in spark 2.1 fails with following error

{code}
Exception in thread "HiveServer2-Handler-Pool: Thread-84" java.lang.ExceptionInInitializerError
at org.apache.spark.sql.hive.CarbonSessionState$$anon$1.<init>(CarbonSessionState.scala:133)
at org.apache.spark.sql.hive.CarbonSessionState.analyzer$lzycompute(CarbonSessionState.scala:128)
at org.apache.spark.sql.hive.CarbonSessionState.analyzer(CarbonSessionState.scala:127)
at org.apache.spark.sql.execution.QueryExecution.assertAnalyzed(QueryExecution.scala:48)
at org.apache.spark.sql.Dataset$.ofRows(Dataset.scala:63)
at org.apache.spark.sql.SparkSession.sql(SparkSession.scala:592)
at org.apache.spark.sql.SQLContext.sql(SQLContext.scala:699)
at org.apache.spark.sql.hive.thriftserver.SparkSQLSessionManager.openSession(SparkSQLSessionManager.scala:83)
at org.apache.hive.service.cli.CLIService.openSessionWithImpersonation(CLIService.java:202)
at org.apache.hive.service.cli.thrift.ThriftCLIService.getSessionHandle(ThriftCLIService.java:351)
at org.apache.hive.service.cli.thrift.ThriftCLIService.OpenSession(ThriftCLIService.java:246)
at org.apache.hive.service.cli.thrift.TCLIService$Processor$OpenSession.getResult(TCLIService.java:1253)
at org.apache.hive.service.cli.thrift.TCLIService$Processor$OpenSession.getResult(TCLIService.java:1238)
at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:39)
at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:39)
at org.apache.hive.service.auth.TSetIpAddressProcessor.process(TSetIpAddressProcessor.java:56)
at org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:286)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.NullPointerException
at org.apache.spark.sql.hive.CarbonIUDAnalysisRule$.<init>(CarbonAnalysisRules.scala:90)
at org.apache.spark.sql.hive.CarbonIUDAnalysisRule$.<clinit>(CarbonAnalysisRules.scala)
{code}

> fix failing IUD test case
> -------------------------
>
>                 Key: CARBONDATA-1112
>                 URL: https://issues.apache.org/jira/browse/CARBONDATA-1112
>             Project: CarbonData
>          Issue Type: Bug
>            Reporter: Rahul Kumar
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> while running any query in spark 2.1 fails with following error
> {code}
> Exception in thread "HiveServer2-Handler-Pool: Thread-84" java.lang.ExceptionInInitializerError
> at org.apache.spark.sql.hive.CarbonSessionState$$anon$1.<init>(CarbonSessionState.scala:133)
> at org.apache.spark.sql.hive.CarbonSessionState.analyzer$lzycompute(CarbonSessionState.scala:128)
> at org.apache.spark.sql.hive.CarbonSessionState.analyzer(CarbonSessionState.scala:127)
> at org.apache.spark.sql.execution.QueryExecution.assertAnalyzed(QueryExecution.scala:48)
> at org.apache.spark.sql.Dataset$.ofRows(Dataset.scala:63)
> at org.apache.spark.sql.SparkSession.sql(SparkSession.scala:592)
> at org.apache.spark.sql.SQLContext.sql(SQLContext.scala:699)
> at org.apache.spark.sql.hive.thriftserver.SparkSQLSessionManager.openSession(SparkSQLSessionManager.scala:83)
> at org.apache.hive.service.cli.CLIService.openSessionWithImpersonation(CLIService.java:202)
> at org.apache.hive.service.cli.thrift.ThriftCLIService.getSessionHandle(ThriftCLIService.java:351)
> at org.apache.hive.service.cli.thrift.ThriftCLIService.OpenSession(ThriftCLIService.java:246)
> at org.apache.hive.service.cli.thrift.TCLIService$Processor$OpenSession.getResult(TCLIService.java:1253)
> at org.apache.hive.service.cli.thrift.TCLIService$Processor$OpenSession.getResult(TCLIService.java:1238)
> at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:39)
> at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:39)
> at org.apache.hive.service.auth.TSetIpAddressProcessor.process(TSetIpAddressProcessor.java:56)
> at org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:286)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> at java.lang.Thread.run(Thread.java:745)
> Caused by: java.lang.NullPointerException
> at org.apache.spark.sql.hive.CarbonIUDAnalysisRule$.<init>(CarbonAnalysisRules.scala:90)
> at org.apache.spark.sql.hive.CarbonIUDAnalysisRule$.<clinit>(CarbonAnalysisRules.scala)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)