How to get mesos log dir -


i want mesos log dir

mesos-master --zk=zk://localhost:2181/mesos --log_dir=/users/wangyao/workandlog/mesos/log 

/users/wangyao/workandlog/meoso/log

how in code?

i try getrequest in code this

getrequesthandler requesthandler = new getrequesthandler() {       @override       public string dogetrequestcallback(httpresponse response) throws ioexception {         return entityutils.tostring(response.getentity());       }     };     map<string, string> httpparams     = new hashmap<string, string>();     string obj = httpclientutils.dogetrequest("http", "localhost", 5050, "/master/state.json", httpparams,          requesthandler); 

in way can log_dir in obj.

but knew application server , mesos server not using same machine ,so can't request 'localhost', it's not viable way. there way log_dir?


Comments

Popular posts from this blog

Android : Making Listview full screen -

javascript - Parse JSON from the body of the POST -

javascript - Chrome Extension: Interacting with iframe embedded within popup -