[
https://issues.apache.org/jira/browse/PHOENIX-2449?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15026168#comment-15026168
]
Josh Elser commented on PHOENIX-2449:
-------------------------------------
Thanks for taking a look, [~enis]!
bq. The problem is with the Phoenix client side and the first daemon component
PQS. Since the current scripts lack a "-env" equivalent or bigtop-like
/usr/bin/phoenix-XXX wrappers to hardcode HBASE_CONF_DIR and HADOOP_CONF_DIR,
both the client side and PQS cannot include these in the classpath easily.
Yeah, I totally agree. Making fixes as PQS grows has been... awkward in a word.
bq. Except that can you please move the defaulting logic inside phoenix_utils
instead
Sure, I can do that. I had did it in queryserver.py to avoid unexpected
breakages for the "thick" driver. Perhaps it would just cause unnecessary
confusion in the future.
bq. We can even add the hard coded HBASE_CONF_DIR while we are at it if you
like.
Just to confirm what you're referring to: you're suggesting to replace the
{{'.'}} default value when the environment doesn't contain {{HBASE_CONF_DIR}}
or {{HBASE_CONF_PATH}} in phoenix_utils for {{hbase_conf_dir}}?
> QueryServer needs Hadoop configuration on classpath with Kerberos
> -----------------------------------------------------------------
>
> Key: PHOENIX-2449
> URL: https://issues.apache.org/jira/browse/PHOENIX-2449
> Project: Phoenix
> Issue Type: Bug
> Reporter: Josh Elser
> Assignee: Josh Elser
> Fix For: 4.7.0
>
> Attachments: PHOENIX-2449.patch
>
>
> [~cartershanklin] pointed out to me that PQS fails to perform Kerberos login
> using queryserver.py out of the box. It looks like this is ultimately because
> the login is dependent on the value for {{hadoop.security.authentication}}.
> Thus, without those configs, PQS never logs in, and just spews errors because
> the HBase RPC fails without the ticket.
> Should be simple enough to pull HADOOP_CONF_DIR out and include it on the
> classpath.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)