hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matteo Bertozzi (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-13282) Fix the minor issues of running Canary on kerberized environment
Date Thu, 19 Mar 2015 07:18:39 GMT

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

Matteo Bertozzi commented on HBASE-13282:
-----------------------------------------

Did you look at the output on failure?
in theory if you do something like:
{code}
LOG.error("xyz-msg: " + e.getMessage(), e);
{code}
you can see the "simple user error" by doing cat log | grep "initial login"
otherwise you have to look at the line below for the exception message + stack trace.
but do not trust me on this, check the output to see if what I said is true :)

Do we need to create/shutdown the choreService, if the authChore is null?
maybe change like this?
{code}
final ScheduledChore authChore = AuthUtil.getAuthChore(conf);
if (authChore != null) {
  choreService = new ChoreService("CANARY_TOOL");  
  choreService.scheduleChore(authChore);
}
...
if (choreService != null) {
  choreService.shutdown();
}
{code}

> Fix the minor issues of running Canary on kerberized environment
> ----------------------------------------------------------------
>
>                 Key: HBASE-13282
>                 URL: https://issues.apache.org/jira/browse/HBASE-13282
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Srikanth Srungarapu
>            Assignee: Srikanth Srungarapu
>            Priority: Minor
>         Attachments: HBASE-13282.patch, HBASE-13282.patch
>
>
> Found two minor issues.
> * Canary tool not logging exception when failing to authenticate.
> * Can't use -D option for setting keytab and principal as auth chore is being launched
before calling ToolRunner.run method.



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

Mime
View raw message