hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-16745) HttpDoAsClient should handle failure in retrieving Subject
Date Sat, 01 Oct 2016 13:28:20 GMT
Ted Yu created HBASE-16745:
------------------------------

             Summary: HttpDoAsClient should handle failure in retrieving Subject
                 Key: HBASE-16745
                 URL: https://issues.apache.org/jira/browse/HBASE-16745
             Project: HBase
          Issue Type: Bug
            Reporter: Ted Yu
            Priority: Minor


{code}
$ hbase org.apache.hadoop.hbase.thrift.HttpDoAsClient localhost 9095 hbase security=true
Exception in thread "main" java.util.NoSuchElementException
	at java.util.LinkedList$ListItr.next(LinkedList.java:890)
	at javax.security.auth.Subject$SecureSet$1.next(Subject.java:1056)
	at org.apache.hadoop.hbase.thrift.HttpDoAsClient.main(HttpDoAsClient.java:85)
{code}
When Subject cannot be retrieved (e.g. due to empty ticket cache), we shouldn't end up with
NoSuchElementException.
Better error message should be given.



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

Mime
View raw message