Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-5812

Query hits NullPointerException in FE

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • Impala 2.11.0
    • Frontend
    • None
    • ghx-label-6

    Description

      Query:

      select count(*) from (select * from functional.alltypes) x cross join (select 1 as j) y where j is null
      

      FE Exception:

      java.lang.NullPointerException                
        at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:187)             
        at org.apache.impala.planner.SingleNodePlanner.getHashLookupJoinConjuncts(SingleNodePlanner.java:1375)
        at org.apache.impala.planner.SingleNodePlanner.createJoinNode(SingleNodePlanner.java:1437)
        at org.apache.impala.planner.SingleNodePlanner.createJoinPlan(SingleNodePlanner.java:482)
        at org.apache.impala.planner.SingleNodePlanner.createCheapestJoinPlan(SingleNodePlanner.java:410)
        at org.apache.impala.planner.SingleNodePlanner.createTableRefsPlan(SingleNodePlanner.java:792)
        at org.apache.impala.planner.SingleNodePlanner.createSelectPlan(SingleNodePlanner.java:617)
        at org.apache.impala.planner.SingleNodePlanner.createQueryPlan(SingleNodePlanner.java:260)
        at org.apache.impala.planner.SingleNodePlanner.createSingleNodePlan(SingleNodePlanner.java:150)
        at org.apache.impala.planner.Planner.createPlan(Planner.java:96)                         
        at org.apache.impala.service.Frontend.createExecRequest(Frontend.java:1004)              
        at org.apache.impala.service.Frontend.createExecRequest(Frontend.java:1100)              
        at org.apache.impala.service.JniFrontend.createExecRequest(JniFrontend.java:156)         
      I0817 16:57:08.517293 30388 status.cc:122] NullPointerException: null                      
          @           0x83dc19  impala::Status::Status()                                         
          @           0xb6e709  impala::JniUtil::GetJniExceptionMsg()                            
          @           0xa7949b  impala::Frontend::GetExecRequest()                               
          @           0xa935c8  impala::ImpalaServer::ExecuteInternal()                          
          @           0xa99bb8  impala::ImpalaServer::Execute()                                  
          @           0xad9426  impala::ImpalaServer::query()                                    
          @           0xd6a7d5  beeswax::BeeswaxServiceProcessor::process_query()                
          @           0xd6dad4  beeswax::BeeswaxServiceProcessor::dispatchCall()                 
          @           0x80de8c  apache::thrift::TDispatchProcessor::process()                    
          @          0x1b4f8bb  apache::thrift::server::TThreadPoolServer::Task::run()           
          @          0x1b37279  apache::thrift::concurrency::ThreadManager::Worker::run()        
          @           0x9d2de9  impala::ThriftThread::RunRunnable()                              
          @           0x9d3842  boost::detail::function::void_function_obj_invoker0<>::invoke()  
          @           0xbd1612  impala::Thread::SuperviseThread()                                
          @           0xbd1f64  boost::detail::thread_data<>::run()                              
          @           0xe5a42a  thread_proxy                                                     
          @     0x7f858adf0184  start_thread                                                     
          @     0x7f858ab1cffd  clone
      

      Attachments

        Activity

          People

            bikramjeet.vig Bikramjeet Vig
            tarasbob Taras Bobrovytsky
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: