hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sean Busbey (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-14079) improve error message when Master fails to connect to Hadoop-auth
Date Tue, 14 Jul 2015 23:14:04 GMT

     [ https://issues.apache.org/jira/browse/HBASE-14079?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Sean Busbey updated HBASE-14079:
--------------------------------
    Fix Version/s: 1.0.3
                   1.2.1
                   0.98.15
                   1.3.0
                   1.1.2
                   0.94.28

> improve error message when Master fails to connect to Hadoop-auth
> -----------------------------------------------------------------
>
>                 Key: HBASE-14079
>                 URL: https://issues.apache.org/jira/browse/HBASE-14079
>             Project: HBase
>          Issue Type: Bug
>          Components: master
>    Affects Versions: 0.94.0, 0.98.0, 1.0.0, 1.1.0
>            Reporter: Sean Busbey
>             Fix For: 2.0.0, 0.94.28, 1.1.2, 1.3.0, 0.98.15, 1.2.1, 1.0.3
>
>
> Current error message at INFO level doesn't give any hint about what keytab and principle
are in use
> {quote}
> 2015-07-14 13:32:48,514 INFO  [main] impl.MetricsConfig: loaded properties from hadoop-metrics2-hbase.properties
> 2015-07-14 13:32:48,640 INFO  [main] impl.MetricsSystemImpl: Scheduled snapshot period
at 10 second(s).
> 2015-07-14 13:32:48,640 INFO  [main] impl.MetricsSystemImpl: HBase metrics system started
> 2015-07-14 13:32:48,776 ERROR [main] master.HMasterCommandLine: Master exiting
> java.lang.RuntimeException: Failed construction of Master: class org.apache.hadoop.hbase.master.HMaster
>         at org.apache.hadoop.hbase.master.HMaster.constructMaster(HMaster.java:2258)
>         at org.apache.hadoop.hbase.master.HMasterCommandLine.startMaster(HMasterCommandLine.java:234)
>         at org.apache.hadoop.hbase.master.HMasterCommandLine.run(HMasterCommandLine.java:140)
>         at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
>         at org.apache.hadoop.hbase.util.ServerCommandLine.doMain(ServerCommandLine.java:126)
>         at org.apache.hadoop.hbase.master.HMaster.main(HMaster.java:2272)
> Caused by: javax.security.auth.login.LoginException: Unable to obtain password from user
>         at com.sun.security.auth.module.Krb5LoginModule.promptForPass(Krb5LoginModule.java:856)
>         at com.sun.security.auth.module.Krb5LoginModule.attemptAuthentication(Krb5LoginModule.java:719)
>         at com.sun.security.auth.module.Krb5LoginModule.login(Krb5LoginModule.java:584)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:606)
>         at javax.security.auth.login.LoginContext.invoke(LoginContext.java:762)
>         at javax.security.auth.login.LoginContext.access$000(LoginContext.java:203)
>         at javax.security.auth.login.LoginContext$4.run(LoginContext.java:690)
>         at javax.security.auth.login.LoginContext$4.run(LoginContext.java:688)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:687)
>         at javax.security.auth.login.LoginContext.login(LoginContext.java:595)
>         at org.apache.hadoop.security.UserGroupInformation.loginUserFromKeytab(UserGroupInformation.java:912)
>         at org.apache.hadoop.security.SecurityUtil.login(SecurityUtil.java:242)
>         at org.apache.hadoop.hbase.security.User$SecureHadoopUser.login(User.java:385)
>         at org.apache.hadoop.hbase.security.User.login(User.java:252)
>         at org.apache.hadoop.hbase.security.UserProvider.login(UserProvider.java:115)
>         at org.apache.hadoop.hbase.master.HMaster.login(HMaster.java:464)
>         at org.apache.hadoop.hbase.regionserver.HRegionServer.<init>(HRegionServer.java:553)
>         at org.apache.hadoop.hbase.master.HMaster.<init>(HMaster.java:351)
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
>         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
>         at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
>         at org.apache.hadoop.hbase.master.HMaster.constructMaster(HMaster.java:2253)
>         ... 5 more
> {quote}
> increasing to DEBUG also doesn't help.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message