15 #ifndef IMPALA_SERVICE_FRAGMENT_MGR_H
16 #define IMPALA_SERVICE_FRAGMENT_MGR_H
18 #include <boost/shared_ptr.hpp>
19 #include <boost/thread/mutex.hpp>
20 #include <boost/unordered_map.hpp>
22 #include "gen-cpp/ImpalaInternalService.h"
48 const TCancelPlanFragmentParams& params);
55 const TUniqueId& fragment_instance_id);
67 typedef boost::unordered_map<TUniqueId, boost::shared_ptr<FragmentExecState> >
FragmentExecStateMap fragment_exec_state_map_
void FragmentExecThread(FragmentExecState *exec_state)
boost::mutex fragment_exec_state_map_lock_
protects fragment_exec_state_map_
Status ExecPlanFragment(const TExecPlanFragmentParams ¶ms)
boost::shared_ptr< FragmentExecState > GetFragmentExecState(const TUniqueId &fragment_instance_id)
boost::unordered_map< TUniqueId, boost::shared_ptr< FragmentExecState > > FragmentExecStateMap
void CancelPlanFragment(TCancelPlanFragmentResult &return_val, const TCancelPlanFragmentParams ¶ms)
Cancels a plan fragment that is running asynchronously.
Execution state of a single plan fragment.