hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Yulin...@DELL.com>
Subject RE: is there any way to configure hbase (0.94.15) so that the flag 'IS_HADOOP_SECURE' becomes false?
Date Thu, 09 Apr 2015 01:51:30 GMT
Dell Customer Communication
Thanks Andrew. I'll give it a try.

B.T.W., does hbase 0.94.15 work with lower Hadoop version such as 1.0.0 or 1.0.3?

Thanks,

YuLing

-----Original Message-----
From: Andrew Purtell [mailto:apurtell@apache.org]
Sent: Wednesday, April 08, 2015 5:19 PM
To: dev@hbase.apache.org
Subject: Re: is there any way to configure hbase (0.94.15) so that the flag 'IS_HADOOP_SECURE'
becomes false?

Have you tried emailing user@hadoop.apache.org for help?

Hadoop 1.0.x is extremely old and unlikely to attract any community support for it, though.

On Wed, Apr 8, 2015 at 1:36 PM, wrote:

> Hi All,
>
>
>
> I actually looked into the Hadoop core source code a bit more and
> understood that 'IS_HADOOP_SECURE' flag is set not from the
> configuration files, but from checking if the method
> 'isSecurityEnabled' exists in UserGroupInformation class in Hadoop core.
>
>
>
> I also debugged and found out the problem happens when running
> subject.getPrincipals(User.class). Since this returns empty set, the
> .iterator().next() throws NoSuchMethodException.
>
> The question is that a) it seems to be a bug in Hadoop core 1.0.4. Is
> there any version that fixes this bug?
>
> b) We do not care about the security
> feature in Hadoop core ( at least not at this stage), is there any
> lower version of Hadoop core that can work with HBase 0.94.15?
>
> c) Any other suggestions for us to
> work around this issue?
>
>
>
> Thanks very much,
>
> YuLing
>
>
>
>
>
> -----Original Message-----
> From: C, Yuling
> Sent: Wednesday, April 08, 2015 10:21 AM
> To: dev@hbase.apache.org
> Subject: is there any way to configure hbase (0.94.15) so that the
> flag 'IS_HADOOP_SECURE' becomes false?
>
> Hi All,
>
> I'm using an HBase client deployed in OSGI Karaf console and in some
> scenarios, it's causing trouble for me to get connection to HBase
> server. I dug into the root cause and found in some cases, when the
> HConnectionManager tries to get connection by calling
> HConnectionKey(conf), it runs User.getCurrent(), and eventually called
> UserGroupInformation.getCurrentUser(). In the case when
> IS_HADOOP_SECURE is on, it throws exception.
>
> I was wondering if there's any configuration in HBase that we can use
> to turn 'IS_HADOOP_SECURE' to false?
>
> Thanks very much,
> YuLing
>



--
Best regards,

- Andy

Problems worthy of attack prove their worth by hitting back. - Piet Hein (via Tom White)

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message