[ 
https://issues.apache.org/jira/browse/HBASE-15109?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15111013#comment-15111013
 ] 

Ted Yu commented on HBASE-15109:
--------------------------------

{code}
Tests run: 4, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 16.217 sec <<< 
FAILURE! - in org.apache.hadoop.hbase.security.TestSecureIPC
testSaslNoCommonQop(org.apache.hadoop.hbase.security.TestSecureIPC)  Time 
elapsed: 11.526 sec  <<< FAILURE!
java.lang.AssertionError: 
Expected: (an instance of javax.security.sasl.SaslException and exception with 
message a string containing "No common protection layer between client and 
server")
     but: an instance of javax.security.sasl.SaslException <GSSException: No 
valid credentials provided (Mechanism level: Failed to find any Kerberos tgt)> 
is a org.ietf.jgss.GSSException
Stacktrace was: GSSException: No valid credentials provided (Mechanism level: 
Failed to find any Kerberos tgt)
        at 
sun.security.jgss.krb5.Krb5InitCredential.getInstance(Krb5InitCredential.java:147)
{code}
Related to HBASE-14865.

Suggest re-attaching patch for new QA run.

> Region server failed to start when "fs.hdfs.impl.disable.cache" is set to true
> ------------------------------------------------------------------------------
>
>                 Key: HBASE-15109
>                 URL: https://issues.apache.org/jira/browse/HBASE-15109
>             Project: HBase
>          Issue Type: Bug
>          Components: regionserver
>    Affects Versions: 1.0.0
>            Reporter: Pankaj Kumar
>            Assignee: Pankaj Kumar
>            Priority: Critical
>         Attachments: HBASE-15109-branch-1.patch
>
>
> Region server failed to start during installing ShutdownHook when 
> "fs.hdfs.impl.disable.cache" is set to true in core-site.xml at HBase side.
> {code}
> 2016-01-14 15:30:56,358 | FATAL | regionserver/ds2/192.168.152.230:21302 | 
> ABORTING region server ds2,21302,1452756654352: Unhandled: Failed suppression 
> of fs shutdown hook: 
> org.apache.hadoop.fs.FileSystem$Cache$ClientFinalizer@571527d6 | 
> org.apache.hadoop.hbase.regionserver.HRegionServer.abort(HRegionServer.java:2054)
> java.lang.RuntimeException: Failed suppression of fs shutdown hook: 
> org.apache.hadoop.fs.FileSystem$Cache$ClientFinalizer@571527d6
> at 
> org.apache.hadoop.hbase.regionserver.ShutdownHook.suppressHdfsShutdownHook(ShutdownHook.java:204)
> at 
> org.apache.hadoop.hbase.regionserver.ShutdownHook.install(ShutdownHook.java:84)
> at 
> org.apache.hadoop.hbase.regionserver.HRegionServer.run(HRegionServer.java:893)
> at java.lang.Thread.run(Thread.java:745)
> {code}
> During installation, first time it will try to suppress the HDFS shutdownhook 
> by removing the hdfsclientfinalizer from HDFS. Since 
> fs.hdfs.impl.disable.cache is enabled, so removal will be unsuccessful from 
> HDFS  (FS is not cached) and RuntimeException will be thrown with "Failed 
> suppression of fs shutdown hook" message.
> In ShutdownHook,
> {code}
> if (!fsShutdownHooks.containsKey(hdfsClientFinalizer) &&
> !ShutdownHookManager.deleteShutdownHook(hdfsClientFinalizer)) {
> throw new RuntimeException("Failed suppression of fs shutdown hook: " +
> hdfsClientFinalizer);
> }
> {code}



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

Reply via email to