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:[email protected]] Sent: Wednesday, April 08, 2015 5:19 PM To: [email protected] 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 [email protected] 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: [email protected] > 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)
