You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@impala.apache.org by "Mohd. Salman Isha" <sa...@tigerit.com> on 2019/12/03 12:58:17 UTC

Impala authentication

  Hi Guys,

I was trying to setup authentication for impala shell using kerberos
authentication.
Note that I am using a docker container to host the impala. I also install
and configure the KDC server on the same docker container. While using the
kerberos setting in /etc/impala/conf all impala, statestore and catalog
service gone down. i got below error from catalog.ERROR

Log file created at: 2019/12/03 12:16:59
Running on machine: impala.test.com
Log line format: [IWEF]mmdd hh:mm:ss.uuuuuu threadid file:line] msg
E1203 12:16:59.708680  5640 logging.cc:121] stderr will be logged to this
file.
F1203 12:17:02.315798  5640 catalogd-main.cc:88] RPC Error: Client for
localhost:24000 hit an unexpected exception: No more data to read., type:
N6apache6thrift9transport19TTransportExceptionE, rpc:
N6impala27TRegisterSubscriberResponseE, send: done
. Impalad exiting.
*** Check failure stack trace: ***
    @          0x20eec9d  google::LogMessage::Fail()
    @          0x20f0542  google::LogMessage::SendToLog()
    @          0x20ee677  google::LogMessage::Flush()
    @          0x20f1c3e  google::LogMessageFatal::~LogMessageFatal()
    @           0x933358  CatalogdMain()
    @           0x8ea6b7  main
    @     0x7fb5617a23d5  __libc_start_main
    @           0x932031  (unknown)

Can anyone help me to solve this or setting up the authentication of impala
shell ?

Regards
Salman
DevOps Engineer
TigerIT Bangladesh Limited.

Re: Impala authentication

Posted by Quanlong Huang <hu...@gmail.com>.
Hi Salman,

Sorry for the late reply. 24000 is the port of statestored. The error means
catalogd can't connect to statestored so it exits. I think you first need
to make sure statestored launches successfully. Then make sure no errors in
the statestored.INFO and catalogd.INFO about authentication, so they can
connect to each other.

Thanks,
Quanlong

On Wed, Dec 4, 2019 at 12:02 AM Mohd. Salman Isha <sa...@tigerit.com>
wrote:

>   Hi Guys,
>
> I was trying to setup authentication for impala shell using kerberos
> authentication.
> Note that I am using a docker container to host the impala. I also install
> and configure the KDC server on the same docker container. While using the
> kerberos setting in /etc/impala/conf all impala, statestore and catalog
> service gone down. i got below error from catalog.ERROR
>
> Log file created at: 2019/12/03 12:16:59
> Running on machine: impala.test.com
> Log line format: [IWEF]mmdd hh:mm:ss.uuuuuu threadid file:line] msg
> E1203 12:16:59.708680  5640 logging.cc:121] stderr will be logged to this
> file.
> F1203 12:17:02.315798  5640 catalogd-main.cc:88] RPC Error: Client for
> localhost:24000 hit an unexpected exception: No more data to read., type:
> N6apache6thrift9transport19TTransportExceptionE, rpc:
> N6impala27TRegisterSubscriberResponseE, send: done
> . Impalad exiting.
> *** Check failure stack trace: ***
>     @          0x20eec9d  google::LogMessage::Fail()
>     @          0x20f0542  google::LogMessage::SendToLog()
>     @          0x20ee677  google::LogMessage::Flush()
>     @          0x20f1c3e  google::LogMessageFatal::~LogMessageFatal()
>     @           0x933358  CatalogdMain()
>     @           0x8ea6b7  main
>     @     0x7fb5617a23d5  __libc_start_main
>     @           0x932031  (unknown)
>
> Can anyone help me to solve this or setting up the authentication of impala
> shell ?
>
> Regards
> Salman
> DevOps Engineer
> TigerIT Bangladesh Limited.
>