Examples of FragmentOptionManager


Examples of org.apache.drill.exec.server.options.FragmentOptionManager

      if (!fragment.hasOptionsJson() || fragment.getOptionsJson().isEmpty()) {
        list = new OptionList();
      } else {
        list = dbContext.getConfig().getMapper().readValue(fragment.getOptionsJson(), OptionList.class);
      }
      this.fragmentOptions = new FragmentOptionManager(context.getOptionManager(), list);
    } catch (Exception e) {
      throw new ExecutionSetupException("Failure while reading plan options.", e);
    }
    // Add the fragment context to the root allocator.
    // The QueryManager will call the root allocator to recalculate all the memory limits for all the fragments
View Full Code Here

Examples of org.apache.drill.exec.server.options.FragmentOptionManager

      if(!fragment.hasOptionsJson() || fragment.getOptionsJson().isEmpty()){
        list = new OptionList();
      }else{
        list = dbContext.getConfig().getMapper().readValue(fragment.getOptionsJson(), OptionList.class);
      }
      this.fragmentOptions = new FragmentOptionManager(context.getOptionManager(), list);
    }catch(Exception e){
      throw new ExecutionSetupException("Failure while reading plan options.", e);
    }
    this.allocator = context.getAllocator().getChildAllocator(fragment.getHandle(), fragment.getMemInitial(), fragment.getMemMax());
    this.loader = new QueryClassLoader(dbContext.getConfig(), fragmentOptions);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.