You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@kudu.apache.org by "liubo@fcyun.com" <li...@fcyun.com> on 2017/10/18 04:45:17 UTC
how to change the kudu-tserver web port?
Hi All,
My local 8050 port is used by other application, how to change the kudu-tserver webserver_port to other numbers?
Here's the error message from when I start kudu-tserver:
The log in /var/log/kudu/kudu-tserver.out:
E1018 12:43:00.551512 74843 webserver.cc:340] Webserver: set_ports_option: cannot bind to 0.0.0.0:8050: 98 (Address already in use)
bash: lsof: command not found
bash: lsof: command not found
F1018 12:43:00.567719 74843 tablet_server_main.cc:77] Check failed: _s.ok() Bad status: Runtime error: Webserver: could not start on address 0.0.0.0:8050: set_ports_option: cannot bind to 0.0.0.0:8050: 98 (Address already in use)
*** Check failure stack trace: ***
Wrote minidump to /var/log/kudu/minidumps/kudu-tserver/2c039465-f00c-d59d-1f3e892e-5fc3a95f.dmp
Wrote minidump to /var/log/kudu/minidumps/kudu-tserver/2c039465-f00c-d59d-1f3e892e-5fc3a95f.dmp
*** Aborted at 1508301780 (unix time) try "date -d @1508301780" if you are using GNU date ***
PC: @ 0x7ff794f611d7 __GI_raise
*** SIGABRT (@0x3e50001245b) received by PID 74843 (TID 0x7ff7972dd940) from PID 74843; stack trace: ***
@ 0x7ff79613f370 (unknown)
@ 0x7ff794f611d7 __GI_raise
@ 0x7ff794f628c8 __GI_abort
@ 0x19b4169 (unknown)
@ 0x88b53d google::LogMessage::Fail()
@ 0x88d493 google::LogMessage::SendToLog()
@ 0x88b099 google::LogMessage::Flush()
@ 0x88de1f google::LogMessageFatal::~LogMessageFatal()
@ 0x83788d (unknown)
@ 0x7ff794f4db35 __libc_start_main
@ 0x837331 (unknown)
@ 0x0 (unknown)
thanks for your reading.
Best Regards!
liubo@fcyun.com
Re: how to change the kudu-tserver web port?
Posted by Alexey Serbin <as...@cloudera.com>.
Hi,
There is '--webserver_port' command line flag for that. You can see
more command-line flags for kudu-tserver running 'kudu-tserver --help'.
Another option you could consider is binding to some specific IP
address; see the '--webserver_interface' option for details.
Best regards,
Alexey
On 10/17/17 9:45 PM, liubo@fcyun.com wrote:
>
> Hi All,
>
> My local 8050 port is used by other application, how to change the
> kudu-tserver webserver_port to other numbers?
>
> Here's the error message from when I start kudu-tserver:
>
> The log in /var/log/kudu/kudu-tserver.out:
> E1018 12:43:00.551512 74843 webserver.cc:340] Webserver: set_ports_option: cannot bind to 0.0.0.0:*8050*: 98 (*Address already in use*)
> bash: lsof: command not found
> bash: lsof: command not found
> F1018 12:43:00.567719 74843 tablet_server_main.cc:77] Check failed: _s.ok() Bad status: Runtime error: Webserver: could not start on address 0.0.0.0:8050: set_ports_option: cannot bind to 0.0.0.0:8050: 98 (Address already in use)
> *** Check failure stack trace: ***
> Wrote minidump to /var/log/kudu/minidumps/kudu-tserver/2c039465-f00c-d59d-1f3e892e-5fc3a95f.dmp
> Wrote minidump to /var/log/kudu/minidumps/kudu-tserver/2c039465-f00c-d59d-1f3e892e-5fc3a95f.dmp
> *** Aborted at 1508301780 (unix time) try "date -d @1508301780" if you are using GNU date ***
> PC: @ 0x7ff794f611d7 __GI_raise
> *** SIGABRT (@0x3e50001245b) received by PID 74843 (TID 0x7ff7972dd940) from PID 74843; stack trace: ***
> @ 0x7ff79613f370 (unknown)
> @ 0x7ff794f611d7 __GI_raise
> @ 0x7ff794f628c8 __GI_abort
> @ 0x19b4169 (unknown)
> @ 0x88b53d google::LogMessage::Fail()
> @ 0x88d493 google::LogMessage::SendToLog()
> @ 0x88b099 google::LogMessage::Flush()
> @ 0x88de1f google::LogMessageFatal::~LogMessageFatal()
> @ 0x83788d (unknown)
> @ 0x7ff794f4db35 __libc_start_main
> @ 0x837331 (unknown)
> @ 0x0 (unknown)
>
>
>
> thanks for your reading.
>
> Best Regards!
>
> ------------------------------------------------------------------------
> liubo@fcyun.com