Skip to content

Commit

Permalink
remove log
Browse files Browse the repository at this point in the history
  • Loading branch information
kuenishi committed Nov 15, 2011
1 parent b8c6279 commit 60aadb2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions src/common/zk.cpp
Expand Up @@ -194,11 +194,9 @@ namespace jubatus{

has_lock_ = ((path_ + "/" + list[0]) == seqfile_);
if(not has_lock_){
// DLOG(INFO) << "mine" << seqfile_;
// DLOG(INFO) << "top " << path_ + "/" + list[0];
zk_->remove(seqfile_);
}
DLOG(INFO) << "got lock for " << path_ << " (" << seqfile_ << ") "; //"couldn't acquire lock of " << path_;
DLOG(INFO) << "got lock for " << path_ << " (" << seqfile_ << ") ";
return has_lock_;
};
bool zkmutex::unlock(){
Expand Down
2 changes: 1 addition & 1 deletion src/server/classifier_serv.cpp
Expand Up @@ -122,7 +122,7 @@ result<int> server::train(string name, std::vector<std::pair<std::string, datum>
result<std::vector<estimate_results> > server::classify(string name, std::vector<datum> data) {
std::vector<estimate_results> ret;
scoped_lock lk(rlock(m_));
DLOG(INFO) << __func__;

if (!classifier_){
LOG(ERROR) << __func__ << ": config is not set";
return result<std::vector<estimate_results> >::fail("config_not_set");
Expand Down

0 comments on commit 60aadb2

Please sign in to comment.