Definition at line 337 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(). 00338 { 00339 char* buf = mDataChannel->Buffer(); 00340 sprintf(buf, "domkdirpath \"%s\" \"%s\"\0", dir.c_str(), 00341 mDataString.c_str()); 00342 int len = mDataChannel->SendRequest(strlen(buf)+1); 00343 if (mDataChannel->LastSendHadError()) 00344 return ""; 00345 buf[len] = 0; 00346 String res(buf); 00347 ILOG_DEBUG("Got dir [" << res << "]"); 00348 return res; 00349 }
Here is the call graph for this function: ![]()
|