Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: java.io.IOException: 400 - java.lang.NullPointerException, when broker start #309

Open
wonjaek36 opened this issue Jul 17, 2017 · 0 comments

Comments

@wonjaek36
Copy link

wonjaek36 commented Jul 17, 2017

System Status
Operating System: CentOS 7
Kernal Version: 3.10.0-514.el7.x86_64
Zookeeper: 3.4.9
Mesos: 1.3.0
mesoskafka: master or 0.10 (both occurred same error)

I kept receiving error when I start broker. It is ok to show broker list and add broker.

$ ./kafka-mesos.sh broker list
brokers:
  id: 0
  active: true
  state: starting
  resources: cpus:1.00, mem:2048, heap:1024, port:auto
  jvm-options: 
  failover: delay:1m, max-delay:10m
  stickiness: period:10m
  metrics: 
    collected: 1970-01-01 09:00:00+09
    under-replicated-partitions: 0
    offline-partitions-count: 0
    is-active-controller: 0

$ ./kafka-mesos.sh broker start 0
"Error: java.io.IOException: 400 - java.lang.NullPointerException"

This is my kafka-mesos.properties
mesos1, 2, 3 and master is hostname.
it is saved in /etc/hosts

debug=true
user=vagrant
storage=zk:/kafka-mesos 
master=zk://master:2181/mesos 
zk=mesos1:2181,mesos2:2181,mesos3:2181
api=http://master:7000

It is difficult to figure out that I did setup wrongly.
Could you help me?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant