[
https://issues.apache.org/jira/browse/HBASE-24738?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17163642#comment-17163642
]
Elliot Miller commented on HBASE-24738:
---------------------------------------
Hey [~pankajkumar], thanks for doing this! Sorry for the delay.
My understanding is that so far, client configurations have been pretty simple
and just need either a Zookeeper-based or master-based connection registry. The
issue would seem to be that there is no notion of the protocol (ie. HTTP or
HTTPS).
The implementation uncommented by your PR seems like it should work, although
it uses configuration keys intended for the server. +It seems like more of a
"workaround" solution than the ideal one, but maybe that is okay+.
The main alternatives I see:
# We could have the client attempt an HTTP connection and try HTTPS if the
first connection gets dropped.
# We could allow users to specify SSL/TLS in the processlist command itself.
It would be great to settle on a pattern for any commands that need to connect
to the info port of our region servers.
Worth a footnote is that we might be able to have Jetty upgrade HTTP to HTTPS
automatically, but that would be server-side and perhaps a more long-term
change.
It may be okay to go with your proposed changes, but I wanted to mention my
thoughts first. What do you think?
> [Shell] processlist command fails with ERROR: Unexpected end of file from
> server when SSL enabled
> -------------------------------------------------------------------------------------------------
>
> Key: HBASE-24738
> URL: https://issues.apache.org/jira/browse/HBASE-24738
> Project: HBase
> Issue Type: Bug
> Components: shell
> Reporter: Pankaj Kumar
> Assignee: Pankaj Kumar
> Priority: Major
>
> HBase Shell command "processlist" fails with ERROR: Unexpected end of file
> from server when HBase SSL enabled.
>
> Below code is commented since beginning, see HBASE-4368,
> [https://github.com/apache/hbase/blob/8076eafb187ce32d4a78aef482b6218d85a985ac/hbase-shell/src/main/ruby/hbase/taskmonitor.rb#L85]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)