{"action":"created","issue":{"url":"https://api.github.com/repos/mesos/elasticsearch/issues/409","labels_url":"https://api.github.com/repos/mesos/elasticsearch/issues/409/labels{/name}","comments_url":"https://api.github.com/repos/mesos/elasticsearch/issues/409/comments","events_url":"https://api.github.com/repos/mesos/elasticsearch/issues/409/events","html_url":"https://github.com/mesos/elasticsearch/issues/409","id":117315124,"number":409,"title":"ZooKeeper: bad arguments","user":{"login":"commarmi76","id":15233893,"avatar_url":"https://avatars.githubusercontent.com/u/15233893?v=3","gravatar_id":"","url":"https://api.github.com/users/commarmi76","html_url":"https://github.com/commarmi76","followers_url":"https://api.github.com/users/commarmi76/followers","following_url":"https://api.github.com/users/commarmi76/following{/other_user}","gists_url":"https://api.github.com/users/commarmi76/gists{/gist_id}","starred_url":"https://api.github.com/users/commarmi76/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/commarmi76/subscriptions","organizations_url":"https://api.github.com/users/commarmi76/orgs","repos_url":"https://api.github.com/users/commarmi76/repos","events_url":"https://api.github.com/users/commarmi76/events{/privacy}","received_events_url":"https://api.github.com/users/commarmi76/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-17T09:27:18Z","updated_at":"2015-11-17T13:31:53Z","closed_at":null,"body":"Hello,\r\n\r\nI'm testing version 0.6.0 with docker, and there is an error:\r\n--container=\"mesos-87d59906-c49b-4993-af51-55374d09820a-S1.a0916665-35ed-444a-9c98-36c591dc43f3\" --docker=\"docker\" --docker_socket=\"/var/run/docker.sock\" --help=\"false\" --initialize_driver_logging=\"true\" --logbufsecs=\"0\" --logging_level=\"INFO\" --mapped_directory=\"/mnt/mesos/sandbox\" --quiet=\"false\" --sandbox_directory=\"/tmp/mesos/slaves/87d59906-c49b-4993-af51-55374d09820a-S1/frameworks/87d59906-c49b-4993-af51-55374d09820a-0000/executors/elasticsearch-mesos-scheduler.2ceae95c-8d0a-11e5-9c00-525400a837fc/runs/a0916665-35ed-444a-9c98-36c591dc43f3\" --stop_timeout=\"0ns\"\r\n--container=\"mesos-87d59906-c49b-4993-af51-55374d09820a-S1.a0916665-35ed-444a-9c98-36c591dc43f3\" --docker=\"docker\" --docker_socket=\"/var/run/docker.sock\" --help=\"false\" --initialize_driver_logging=\"true\" --logbufsecs=\"0\" --logging_level=\"INFO\" --mapped_directory=\"/mnt/mesos/sandbox\" --quiet=\"false\" --sandbox_directory=\"/tmp/mesos/slaves/87d59906-c49b-4993-af51-55374d09820a-S1/frameworks/87d59906-c49b-4993-af51-55374d09820a-0000/executors/elasticsearch-mesos-scheduler.2ceae95c-8d0a-11e5-9c00-525400a837fc/runs/a0916665-35ed-444a-9c98-36c591dc43f3\" --stop_timeout=\"0ns\"\r\nRegistered docker executor on cloud13.scytl.net\r\nStarting task elasticsearch-mesos-scheduler.2ceae95c-8d0a-11e5-9c00-525400a837fc\r\n[INFO] 2015-11-17 09:04:17,288 org.apache.mesos.elasticsearch.scheduler.Configuration getMesosStateZKURL - Zookeeper framework option is blank, using Zookeeper for Mesos: zk://192.168.0.183:2181/mesos\r\n[DEBUG] 2015-11-17 09:04:17,496 org.apache.mesos.elasticsearch.scheduler.FrameworkInfoFactory setWebuiUrl - Setting webuiUrl to http://8b912bc40304:31100\r\n[INFO] 2015-11-17 09:04:17,930 org.apache.mesos.elasticsearch.scheduler.Main logStarting - Starting Main v0.5.2 on 8b912bc40304 with PID 6 (/tmp/elasticsearch-mesos-scheduler.jar started by root in /)\r\n[DEBUG] 2015-11-17 09:04:17,930 org.apache.mesos.elasticsearch.scheduler.Main logStarting - Running with Spring Boot v0.5.2, Spring v0.5.2\r\n[DEBUG] 2015-11-17 09:04:18,946 org.jboss.logging make - Logging Provider: org.jboss.logging.Log4jLoggerProvider\r\n[INFO] 2015-11-17 09:04:18,947 org.hibernate.validator.internal.util.Version <clinit> - HV000001: Hibernate Validator 5.1.3.Final\r\n[DEBUG] 2015-11-17 09:04:18,963 org.hibernate.validator.internal.engine.resolver.DefaultTraversableResolver detectJPA - Cannot find javax.persistence.Persistence on classpath. Assuming non JPA 2 environment. All properties will per default be traversable.\r\n[DEBUG] 2015-11-17 09:04:18,975 org.hibernate.validator.internal.engine.ConfigurationImpl messageInterpolator - Setting custom MessageInterpolator of type org.springframework.validation.beanvalidation.LocaleContextMessageInterpolator\r\n[DEBUG] 2015-11-17 09:04:18,975 org.hibernate.validator.internal.engine.ConfigurationImpl constraintValidatorFactory - Setting custom ConstraintValidatorFactory of type org.springframework.validation.beanvalidation.SpringConstraintValidatorFactory\r\n[DEBUG] 2015-11-17 09:04:18,978 org.hibernate.validator.internal.engine.ConfigurationImpl parameterNameProvider - Setting custom ParameterNameProvider of type com.sun.proxy.$Proxy25\r\n[DEBUG] 2015-11-17 09:04:18,989 org.hibernate.validator.internal.xml.ValidationXmlParser getInputStream - Trying to load META-INF/validation.xml for XML based Validator configuration.\r\n[DEBUG] 2015-11-17 09:04:18,999 org.hibernate.validator.internal.xml.ValidationXmlParser getInputStream - No META-INF/validation.xml found. Using annotation based configuration only.\r\n[INFO] 2015-11-17 09:04:19,724 org.apache.catalina.core.StandardService log - Starting service Tomcat\r\n[INFO] 2015-11-17 09:04:19,725 org.apache.catalina.core.StandardEngine log - Starting Servlet Engine: Apache Tomcat/8.0.23\r\n[INFO] 2015-11-17 09:04:19,926 org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/] log - Initializing Spring embedded WebApplicationContext\r\n[DEBUG] 2015-11-17 09:04:21,105 org.hibernate.validator.internal.engine.resolver.DefaultTraversableResolver detectJPA - Cannot find javax.persistence.Persistence on classpath. Assuming non JPA 2 environment. All properties will per default be traversable.\r\n[DEBUG] 2015-11-17 09:04:21,106 org.hibernate.validator.internal.engine.ConfigurationImpl messageInterpolator - Setting custom MessageInterpolator of type org.springframework.validation.beanvalidation.LocaleContextMessageInterpolator\r\n[DEBUG] 2015-11-17 09:04:21,106 org.hibernate.validator.internal.engine.ConfigurationImpl constraintValidatorFactory - Setting custom ConstraintValidatorFactory of type org.springframework.validation.beanvalidation.SpringConstraintValidatorFactory\r\n[DEBUG] 2015-11-17 09:04:21,106 org.hibernate.validator.internal.engine.ConfigurationImpl parameterNameProvider - Setting custom ParameterNameProvider of type com.sun.proxy.$Proxy25\r\n[DEBUG] 2015-11-17 09:04:21,108 org.hibernate.validator.internal.xml.ValidationXmlParser getInputStream - Trying to load META-INF/validation.xml for XML based Validator configuration.\r\n[DEBUG] 2015-11-17 09:04:21,109 org.hibernate.validator.internal.xml.ValidationXmlParser getInputStream - No META-INF/validation.xml found. Using annotation based configuration only.\r\n[INFO] 2015-11-17 09:04:21,405 org.apache.coyote.http11.Http11NioProtocol log - Initializing ProtocolHandler [\"http-nio-31100\"]\r\n[INFO] 2015-11-17 09:04:21,415 org.apache.coyote.http11.Http11NioProtocol log - Starting ProtocolHandler [\"http-nio-31100\"]\r\n[INFO] 2015-11-17 09:04:21,422 org.apache.tomcat.util.net.NioSelectorPool log - Using a shared selector for servlet write/read\r\n[INFO] 2015-11-17 09:04:21,439 org.apache.mesos.elasticsearch.scheduler.Main logStarted - Started Main in 3.805 seconds (JVM running for 5.59)\r\n[INFO] 2015-11-17 09:04:21,439 org.apache.mesos.elasticsearch.scheduler.Configuration getFrameworkZKURL - Zookeeper framework option is blank, using Zookeeper for Mesos: zk://192.168.0.183:2181/mesos\r\n[INFO] 2015-11-17 09:04:21,439 class org.apache.mesos.elasticsearch.scheduler.ElasticsearchScheduler run - Starting ElasticSearch on Mesos - [numHwNodes: 3, zk mesos: zk://192.168.0.183:2181/mesos, zk framework: 192.168.0.183:2181, ram:256.0]\r\n[INFO] 2015-11-17 09:05:13,581 org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/] log - Initializing Spring FrameworkServlet 'dispatcherServlet'\r\n[INFO] 2015-11-17 09:05:13,998 org.apache.mesos.elasticsearch.scheduler.state.ClusterState getTaskList - Unable to get key for cluster state due to invalid frameworkID.\r\njava.io.IOException: Unable to get zNode\r\n\tat org.apache.mesos.elasticsearch.scheduler.state.SerializableZookeeperState.get(SerializableZookeeperState.java:51)\r\n\tat org.apache.mesos.elasticsearch.scheduler.state.ClusterState.getTaskList(ClusterState.java:44)\r\n\tat org.apache.mesos.elasticsearch.scheduler.state.ClusterState.getGuiTaskList(ClusterState.java:57)\r\n\tat org.apache.mesos.elasticsearch.scheduler.ElasticsearchScheduler.getTasks(ElasticsearchScheduler.java:42)\r\n\tat org.apache.mesos.elasticsearch.scheduler.controllers.TasksController.getTasks(TasksController.java:33)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:497)\r\n\tat org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:221)\r\n\tat org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:137)\r\n\tat org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:110)\r\n\tat org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandleMethod(RequestMappingHandlerAdapter.java:776)\r\n\tat org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:705)\r\n\tat org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85)\r\n\tat org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:959)\r\n\tat org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:893)\r\n\tat org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:967)\r\n\tat org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:858)\r\n\tat javax.servlet.http.HttpServlet.service(HttpServlet.java:622)\r\n\tat org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:843)\r\n\tat javax.servlet.http.HttpServlet.service(HttpServlet.java:729)\r\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291)\r\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)\r\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)\r\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)\r\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)\r\n\tat org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:77)\r\n\tat org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)\r\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)\r\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)\r\n\tat org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:85)\r\n\tat org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)\r\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)\r\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)\r\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)\r\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)\r\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)\r\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142)\r\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)\r\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)\r\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:518)\r\n\tat org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1091)\r\n\tat org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:668)\r\n\tat org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1521)\r\n\tat org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1478)\r\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)\r\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)\r\n\tat org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)\r\n\tat java.lang.Thread.run(Thread.java:745)\r\nCaused by: java.util.concurrent.ExecutionException: Failed to get '/elasticsearch/mesos-ha//stateList' in ZooKeeper: bad arguments\r\n\tat org.apache.mesos.state.AbstractState$FetchFuture.get(Native Method)\r\n\tat org.apache.mesos.state.AbstractState$FetchFuture.get(AbstractState.java:226)\r\n\tat org.apache.mesos.elasticsearch.scheduler.state.SerializableZookeeperState.get(SerializableZookeeperState.java:29)\r\n\t... 49 more\r\n\r\nDo you know what is the problem ?"},"comment":{"url":"https://api.github.com/repos/mesos/elasticsearch/issues/comments/157371338","html_url":"https://github.com/mesos/elasticsearch/issues/409#issuecomment-157371338","issue_url":"https://api.github.com/repos/mesos/elasticsearch/issues/409","id":157371338,"user":{"login":"philwinder","id":8793723,"avatar_url":"https://avatars.githubusercontent.com/u/8793723?v=3","gravatar_id":"","url":"https://api.github.com/users/philwinder","html_url":"https://github.com/philwinder","followers_url":"https://api.github.com/users/philwinder/followers","following_url":"https://api.github.com/users/philwinder/following{/other_user}","gists_url":"https://api.github.com/users/philwinder/gists{/gist_id}","starred_url":"https://api.github.com/users/philwinder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philwinder/subscriptions","organizations_url":"https://api.github.com/users/philwinder/orgs","repos_url":"https://api.github.com/users/philwinder/repos","events_url":"https://api.github.com/users/philwinder/events{/privacy}","received_events_url":"https://api.github.com/users/philwinder/received_events","type":"User","site_admin":false},"created_at":"2015-11-17T13:31:53Z","updated_at":"2015-11-17T13:31:53Z","body":"Hi, that is because elasticsearxh couldn't register as a framework with your mesos cluster for some reason.\r\nThe actual error is that the web ui is trying to retrieve cluster information, via the framework is, but the framework I'd doesn't exist because it hasn't registered.\r\nI'll open a bug to suppress this error message.\r\nIn the mean time, you need to debug to find out why it can't register as a framework. Things too look at:\r\n- Auth/Roles\r\n- Old framework state in zookeeper (remove if there is any)\r\n- Something wrong with the mesos setup.\r\n\r\nThanks,\r\nPhil"}}