Definition at line 308 of file FileSystem.h. References Impala::Util::Channel::Buffer(), ILOG_DEBUG, Impala::Util::Channel::LastSendHadError(), mDataChannel, mDataServer, mDataString, and Impala::Util::Channel::SendRequest(). Referenced by GetReadableFile(). 00309 { 00310 char* buf = mDataChannel->Buffer(); 00311 sprintf(buf, "getreadablefile \"%s\" \"%s\" %d\0", file.c_str(), 00312 mDataString.c_str(), silent); 00313 int len = mDataChannel->SendRequest(strlen(buf)+1); 00314 if (mDataChannel->LastSendHadError()) 00315 return ""; 00316 buf[len] = 0; 00317 String res(buf); 00318 ILOG_DEBUG("Got file [" << res << "] from " << mDataServer); 00319 return res; 00320 }
Here is the call graph for this function:
|