38 #include "gen-cpp/ImpalaService.h"
39 #include "gen-cpp/ImpalaInternalService.h"
45 using namespace impala;
54 int main(
int argc,
char** argv) {
74 FLAGS_be_port, &beeswax_server, &hs2_server, &be_server, &server));
80 LOG(ERROR) <<
"Impalad services did not start correctly, exiting. Error: "
90 LOG(INFO) <<
"Impala has started.";
91 beeswax_server->Join();
95 delete beeswax_server;
const std::string GetDetail() const
int main(int argc, char **argv)
void InitCommonRuntime(int argc, char **argv, bool init_jvm, TestInfo::Mode m=TestInfo::NON_TEST)
void Join()
Blocks until the server stops and exits its main thread.
DECLARE_int32(beeswax_port)
static void InitLibhdfs()
Call this prior to any libhdfs calls.
Status StartThreadInstrumentation(MetricGroup *metrics, Webserver *webserver)
DECLARE_bool(use_statestore)
void InitRpcEventTracing(Webserver *webserver)
Initialises rpc event tracing, must be called before any RpcEventHandlers are created.
static Status InitJNI()
Grab all of the Java classes needed to get data into and out of HBase.
#define EXIT_IF_ERROR(stmt)
virtual Status StartServices()
Starts any dependent services in their correct order.
static BooleanProperty * IMPALA_SERVER_READY
Status CreateImpalaServer(ExecEnv *exec_env, int beeswax_port, int hs2_port, int be_port, ThriftServer **beeswax_server, ThriftServer **hs2_server, ThriftServer **be_server, ImpalaServer **impala_server)
static void InitializeLlvm(bool load_backend=false)
DECLARE_string(classpath)