Definition at line 262 of file FileSystem.h. References Impala::Util::Channel::Buffer(), ILOG_DEBUG, Impala::Util::Channel::LastSendHadError(), mDataChannel, mDataString, and Impala::Util::Channel::SendRequest(). Referenced by DoMkDirPath(). 00263 { 00264 char* buf = mDataChannel->Buffer(); 00265 sprintf(buf, "domkdirpath \"%s\" \"%s\"\0", dir.c_str(), 00266 mDataString.c_str()); 00267 int len = mDataChannel->SendRequest(strlen(buf)+1); 00268 if (mDataChannel->LastSendHadError()) 00269 return ""; 00270 buf[len] = 0; 00271 String res(buf); 00272 ILOG_DEBUG("Got dir [" << res << "]"); 00273 return res; 00274 }
Here is the call graph for this function:
|