You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flume.apache.org by "Mike Percy (JIRA)" <ji...@apache.org> on 2012/05/19 07:16:16 UTC

[jira] [Created] (FLUME-1216) Need useful error message when keytab does not exist

Mike Percy created FLUME-1216:
---------------------------------

             Summary: Need useful error message when keytab does not exist
                 Key: FLUME-1216
                 URL: https://issues.apache.org/jira/browse/FLUME-1216
             Project: Flume
          Issue Type: Bug
          Components: Sinks+Sources
            Reporter: Mike Percy


If keytab file does not exist, no useful error message is printed by HDFS sink

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (FLUME-1216) Need useful error message when keytab does not exist

Posted by "Leslin (Hong Xiang Lin) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FLUME-1216?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13290985#comment-13290985 ] 

Leslin (Hong Xiang Lin) commented on FLUME-1216:
------------------------------------------------

Review board server is in maintenance. I will update to it when it's available.  
                
> Need useful error message when keytab does not exist
> ----------------------------------------------------
>
>                 Key: FLUME-1216
>                 URL: https://issues.apache.org/jira/browse/FLUME-1216
>             Project: Flume
>          Issue Type: Bug
>          Components: Sinks+Sources
>            Reporter: Mike Percy
>            Assignee: Leslin (Hong Xiang Lin)
>         Attachments: FLUME-1216.patch
>
>
> If keytab file does not exist, no useful error message is printed by HDFS sink

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (FLUME-1216) Need useful error message when keytab does not exist

Posted by "Leslin (Hong Xiang Lin) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FLUME-1216?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leslin (Hong Xiang Lin) updated FLUME-1216:
-------------------------------------------

    Attachment: FLUME-1216-1.patch

Re-upload with: Grant license to ASF for inclusion in ASF works (as per the Apache License ยง5)
                
> Need useful error message when keytab does not exist
> ----------------------------------------------------
>
>                 Key: FLUME-1216
>                 URL: https://issues.apache.org/jira/browse/FLUME-1216
>             Project: Flume
>          Issue Type: Bug
>          Components: Sinks+Sources
>            Reporter: Mike Percy
>            Assignee: Leslin (Hong Xiang Lin)
>         Attachments: FLUME-1216-1.patch, FLUME-1216.patch
>
>
> If keytab file does not exist, no useful error message is printed by HDFS sink

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Commented] (FLUME-1216) Need useful error message when keytab does not exist

Posted by "Mike Percy (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FLUME-1216?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13286801#comment-13286801 ] 

Mike Percy commented on FLUME-1216:
-----------------------------------

Hi Leslin, if you would like to provide a patch I would be happy to review it and get it committed :)
                
> Need useful error message when keytab does not exist
> ----------------------------------------------------
>
>                 Key: FLUME-1216
>                 URL: https://issues.apache.org/jira/browse/FLUME-1216
>             Project: Flume
>          Issue Type: Bug
>          Components: Sinks+Sources
>            Reporter: Mike Percy
>
> If keytab file does not exist, no useful error message is printed by HDFS sink

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (FLUME-1216) Need useful error message when keytab does not exist

Posted by "Leslin (Hong Xiang Lin) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FLUME-1216?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13293226#comment-13293226 ] 

Leslin (Hong Xiang Lin) commented on FLUME-1216:
------------------------------------------------

Does anyone have time for reviewing this patch?  Feel free to let me know if need any refine. Thanks. 
                
> Need useful error message when keytab does not exist
> ----------------------------------------------------
>
>                 Key: FLUME-1216
>                 URL: https://issues.apache.org/jira/browse/FLUME-1216
>             Project: Flume
>          Issue Type: Bug
>          Components: Sinks+Sources
>            Reporter: Mike Percy
>            Assignee: Leslin (Hong Xiang Lin)
>         Attachments: FLUME-1216.patch
>
>
> If keytab file does not exist, no useful error message is printed by HDFS sink

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (FLUME-1216) Need useful error message when keytab does not exist

Posted by "Leslin (Hong Xiang Lin) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FLUME-1216?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13287048#comment-13287048 ] 

Leslin (Hong Xiang Lin) commented on FLUME-1216:
------------------------------------------------

Thanks so much, Mike. I will improve my code with your suggestion and submit a patch with unit case. 
                
> Need useful error message when keytab does not exist
> ----------------------------------------------------
>
>                 Key: FLUME-1216
>                 URL: https://issues.apache.org/jira/browse/FLUME-1216
>             Project: Flume
>          Issue Type: Bug
>          Components: Sinks+Sources
>            Reporter: Mike Percy
>            Assignee: Leslin (Hong Xiang Lin)
>
> If keytab file does not exist, no useful error message is printed by HDFS sink

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (FLUME-1216) Need useful error message when keytab does not exist

Posted by "Leslin (Hong Xiang Lin) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FLUME-1216?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leslin (Hong Xiang Lin) updated FLUME-1216:
-------------------------------------------

    Attachment:     (was: FLUME-1216-1.patch)
    
> Need useful error message when keytab does not exist
> ----------------------------------------------------
>
>                 Key: FLUME-1216
>                 URL: https://issues.apache.org/jira/browse/FLUME-1216
>             Project: Flume
>          Issue Type: Bug
>          Components: Sinks+Sources
>            Reporter: Mike Percy
>            Assignee: Leslin (Hong Xiang Lin)
>         Attachments: FLUME-1216.patch
>
>
> If keytab file does not exist, no useful error message is printed by HDFS sink

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (FLUME-1216) Need useful error message when keytab does not exist

Posted by "Leslin (Hong Xiang Lin) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FLUME-1216?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leslin (Hong Xiang Lin) updated FLUME-1216:
-------------------------------------------

    Attachment: FLUME-1216-1.patch

Thanks, Mike. 
(1)Update 3 items as Mike's comments
(2)add code into unit case to revert security off at the end of unit test testKerbFileAccess. 
passed all unit cases under sink. 
                
> Need useful error message when keytab does not exist
> ----------------------------------------------------
>
>                 Key: FLUME-1216
>                 URL: https://issues.apache.org/jira/browse/FLUME-1216
>             Project: Flume
>          Issue Type: Bug
>          Components: Sinks+Sources
>            Reporter: Mike Percy
>            Assignee: Leslin (Hong Xiang Lin)
>         Attachments: FLUME-1216-1.patch, FLUME-1216.patch
>
>
> If keytab file does not exist, no useful error message is printed by HDFS sink

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (FLUME-1216) Need useful error message when keytab does not exist

Posted by "Mike Percy (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FLUME-1216?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13286808#comment-13286808 ] 

Mike Percy commented on FLUME-1216:
-----------------------------------

By the way, in general I agree that it's better to fail fast if possible. If you take that approach please make sure that the error is propagated into the logs.

Thanks!
                
> Need useful error message when keytab does not exist
> ----------------------------------------------------
>
>                 Key: FLUME-1216
>                 URL: https://issues.apache.org/jira/browse/FLUME-1216
>             Project: Flume
>          Issue Type: Bug
>          Components: Sinks+Sources
>            Reporter: Mike Percy
>
> If keytab file does not exist, no useful error message is printed by HDFS sink

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (FLUME-1216) Need useful error message when keytab does not exist

Posted by "Mike Percy (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FLUME-1216?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13293304#comment-13293304 ] 

Mike Percy commented on FLUME-1216:
-----------------------------------

Hi Leslin,
Overall this looks good. I just have the following requests for this patch (all nit-picks):
1. Instead of logging the error and throwing, please just throw an exception with the desired message. It looks like the stack trace will be printed to the log by the config file poller, and Flume will not start, so that's all I was looking for originally.
2. Please include the proper level of indentation on the new lines 501-503 in HDFSEventSink.java
3. Please limit the line lengths to 80 characters in the Java code.

Thanks!
Mike
                
> Need useful error message when keytab does not exist
> ----------------------------------------------------
>
>                 Key: FLUME-1216
>                 URL: https://issues.apache.org/jira/browse/FLUME-1216
>             Project: Flume
>          Issue Type: Bug
>          Components: Sinks+Sources
>            Reporter: Mike Percy
>            Assignee: Leslin (Hong Xiang Lin)
>         Attachments: FLUME-1216.patch
>
>
> If keytab file does not exist, no useful error message is printed by HDFS sink

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (FLUME-1216) Need useful error message when keytab does not exist

Posted by "Leslin (Hong Xiang Lin) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FLUME-1216?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13294104#comment-13294104 ] 

Leslin (Hong Xiang Lin) commented on FLUME-1216:
------------------------------------------------

Hi, Mike
I don't notice such button about Grant license to ASF.I am from Ruby community. Sorry for inconvenient. You just use Leslin (Hong Xiang Lin) now. Thanks so much.

Regards
Hong
                
> Need useful error message when keytab does not exist
> ----------------------------------------------------
>
>                 Key: FLUME-1216
>                 URL: https://issues.apache.org/jira/browse/FLUME-1216
>             Project: Flume
>          Issue Type: Bug
>          Components: Sinks+Sources
>            Reporter: Mike Percy
>            Assignee: Leslin (Hong Xiang Lin)
>         Attachments: FLUME-1216-1.patch, FLUME-1216.patch
>
>
> If keytab file does not exist, no useful error message is printed by HDFS sink

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (FLUME-1216) Need useful error message when keytab does not exist

Posted by "Mike Percy (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FLUME-1216?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13293949#comment-13293949 ] 

Mike Percy commented on FLUME-1216:
-----------------------------------

+1
                
> Need useful error message when keytab does not exist
> ----------------------------------------------------
>
>                 Key: FLUME-1216
>                 URL: https://issues.apache.org/jira/browse/FLUME-1216
>             Project: Flume
>          Issue Type: Bug
>          Components: Sinks+Sources
>            Reporter: Mike Percy
>            Assignee: Leslin (Hong Xiang Lin)
>         Attachments: FLUME-1216-1.patch, FLUME-1216.patch
>
>
> If keytab file does not exist, no useful error message is printed by HDFS sink

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (FLUME-1216) Need useful error message when keytab does not exist

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FLUME-1216?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13294286#comment-13294286 ] 

Hudson commented on FLUME-1216:
-------------------------------

Integrated in flume-trunk #233 (See [https://builds.apache.org/job/flume-trunk/233/])
    FLUME-1216. Need useful error message when keytab does not exist.

(Leslin (Hong Xiang Lin) via Mike Percy) (Revision 1349683)

     Result = SUCCESS
mpercy : http://svn.apache.org/viewvc/?view=rev&rev=1349683
Files : 
* /incubator/flume/trunk/flume-ng-sinks/flume-hdfs-sink/src/main/java/org/apache/flume/sink/hdfs/HDFSEventSink.java
* /incubator/flume/trunk/flume-ng-sinks/flume-hdfs-sink/src/test/java/org/apache/flume/sink/hdfs/TestHDFSEventSink.java

                
> Need useful error message when keytab does not exist
> ----------------------------------------------------
>
>                 Key: FLUME-1216
>                 URL: https://issues.apache.org/jira/browse/FLUME-1216
>             Project: Flume
>          Issue Type: Bug
>          Components: Sinks+Sources
>            Reporter: Mike Percy
>            Assignee: Leslin (Hong Xiang Lin)
>             Fix For: v1.2.0
>
>         Attachments: FLUME-1216-1.patch, FLUME-1216.patch
>
>
> If keytab file does not exist, no useful error message is printed by HDFS sink

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (FLUME-1216) Need useful error message when keytab does not exist

Posted by "Leslin (Hong Xiang Lin) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FLUME-1216?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leslin (Hong Xiang Lin) updated FLUME-1216:
-------------------------------------------

    Attachment: FLUME-1216-1.patch
    
> Need useful error message when keytab does not exist
> ----------------------------------------------------
>
>                 Key: FLUME-1216
>                 URL: https://issues.apache.org/jira/browse/FLUME-1216
>             Project: Flume
>          Issue Type: Bug
>          Components: Sinks+Sources
>            Reporter: Mike Percy
>            Assignee: Leslin (Hong Xiang Lin)
>         Attachments: FLUME-1216-1.patch, FLUME-1216.patch
>
>
> If keytab file does not exist, no useful error message is printed by HDFS sink

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Assigned] (FLUME-1216) Need useful error message when keytab does not exist

Posted by "Leslin (Hong Xiang Lin) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FLUME-1216?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leslin (Hong Xiang Lin) reassigned FLUME-1216:
----------------------------------------------

    Assignee: Leslin (Hong Xiang Lin)
    
> Need useful error message when keytab does not exist
> ----------------------------------------------------
>
>                 Key: FLUME-1216
>                 URL: https://issues.apache.org/jira/browse/FLUME-1216
>             Project: Flume
>          Issue Type: Bug
>          Components: Sinks+Sources
>            Reporter: Mike Percy
>            Assignee: Leslin (Hong Xiang Lin)
>
> If keytab file does not exist, no useful error message is printed by HDFS sink

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (FLUME-1216) Need useful error message when keytab does not exist

Posted by "Mike Percy (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FLUME-1216?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mike Percy updated FLUME-1216:
------------------------------

       Resolution: Fixed
    Fix Version/s: v1.2.0
           Status: Resolved  (was: Patch Available)

Great. Patch committed. Thanks Hong!
                
> Need useful error message when keytab does not exist
> ----------------------------------------------------
>
>                 Key: FLUME-1216
>                 URL: https://issues.apache.org/jira/browse/FLUME-1216
>             Project: Flume
>          Issue Type: Bug
>          Components: Sinks+Sources
>            Reporter: Mike Percy
>            Assignee: Leslin (Hong Xiang Lin)
>             Fix For: v1.2.0
>
>         Attachments: FLUME-1216-1.patch, FLUME-1216.patch
>
>
> If keytab file does not exist, no useful error message is printed by HDFS sink

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (FLUME-1216) Need useful error message when keytab does not exist

Posted by "Leslin (Hong Xiang Lin) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FLUME-1216?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13286527#comment-13286527 ] 

Leslin (Hong Xiang Lin) commented on FLUME-1216:
------------------------------------------------

Hi, Mike
I reproduced this defect with MIT Kerberos security.  There are two ways to give useful message about keytab missing. 

1. Just log this error and return false in HDFSEventSink#authenticate() like below. This way is consistent with kerbConfPrincipal.isEmpty() or kerbKeytab.isEmpty().  And HDFSEventSink will not fail. 
    LOG.error("The keyTab file: " + kerbKeytab + " is nonexistent or can't read."
    + " Please specify a keytab to use for Kerberos auth. with read access");
    return false;

2. Do keytab file check with this precondition, this will thrown exception and failed immediately. I prefer to this way as it may help user figure out the problem quickly if users already setup Hadoop with security. 
    File kfile = new File(kerbKeytab);
    Preconditions.checkArgument(kfile.canRead(), "The keyTab file: %s is nonexistent or can't read.", kerbKeytab );

What's your opinion?  Can I take this JIRA?  Thank you!

Regards
Leslin
                
> Need useful error message when keytab does not exist
> ----------------------------------------------------
>
>                 Key: FLUME-1216
>                 URL: https://issues.apache.org/jira/browse/FLUME-1216
>             Project: Flume
>          Issue Type: Bug
>          Components: Sinks+Sources
>            Reporter: Mike Percy
>
> If keytab file does not exist, no useful error message is printed by HDFS sink

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Work started] (FLUME-1216) Need useful error message when keytab does not exist

Posted by "Leslin (Hong Xiang Lin) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FLUME-1216?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on FLUME-1216 started by Leslin (Hong Xiang Lin).

> Need useful error message when keytab does not exist
> ----------------------------------------------------
>
>                 Key: FLUME-1216
>                 URL: https://issues.apache.org/jira/browse/FLUME-1216
>             Project: Flume
>          Issue Type: Bug
>          Components: Sinks+Sources
>            Reporter: Mike Percy
>            Assignee: Leslin (Hong Xiang Lin)
>         Attachments: FLUME-1216.patch
>
>
> If keytab file does not exist, no useful error message is printed by HDFS sink

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (FLUME-1216) Need useful error message when keytab does not exist

Posted by "Leslin (Hong Xiang Lin) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FLUME-1216?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leslin (Hong Xiang Lin) updated FLUME-1216:
-------------------------------------------

    Attachment:     (was: FLUME-1216-1.patch)
    
> Need useful error message when keytab does not exist
> ----------------------------------------------------
>
>                 Key: FLUME-1216
>                 URL: https://issues.apache.org/jira/browse/FLUME-1216
>             Project: Flume
>          Issue Type: Bug
>          Components: Sinks+Sources
>            Reporter: Mike Percy
>            Assignee: Leslin (Hong Xiang Lin)
>         Attachments: FLUME-1216-1.patch, FLUME-1216.patch
>
>
> If keytab file does not exist, no useful error message is printed by HDFS sink

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (FLUME-1216) Need useful error message when keytab does not exist

Posted by "Mike Percy (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FLUME-1216?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13293950#comment-13293950 ] 

Mike Percy commented on FLUME-1216:
-----------------------------------

Hi Leslin,
I am unable to commit this patch because you have not selected "grant ASF license" in the attachment area. Please reattach the patch and grant the ASF a license to include this work. Thanks!

By the way, how would you like attribution in the commit? Should I use "Leslin (Hong Xiang Lin)" or should I use something else?

Thanks,
Mike
                
> Need useful error message when keytab does not exist
> ----------------------------------------------------
>
>                 Key: FLUME-1216
>                 URL: https://issues.apache.org/jira/browse/FLUME-1216
>             Project: Flume
>          Issue Type: Bug
>          Components: Sinks+Sources
>            Reporter: Mike Percy
>            Assignee: Leslin (Hong Xiang Lin)
>         Attachments: FLUME-1216-1.patch, FLUME-1216.patch
>
>
> If keytab file does not exist, no useful error message is printed by HDFS sink

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (FLUME-1216) Need useful error message when keytab does not exist

Posted by "Leslin (Hong Xiang Lin) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FLUME-1216?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leslin (Hong Xiang Lin) updated FLUME-1216:
-------------------------------------------

    Status: Patch Available  (was: In Progress)
    
> Need useful error message when keytab does not exist
> ----------------------------------------------------
>
>                 Key: FLUME-1216
>                 URL: https://issues.apache.org/jira/browse/FLUME-1216
>             Project: Flume
>          Issue Type: Bug
>          Components: Sinks+Sources
>            Reporter: Mike Percy
>            Assignee: Leslin (Hong Xiang Lin)
>         Attachments: FLUME-1216.patch
>
>
> If keytab file does not exist, no useful error message is printed by HDFS sink

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (FLUME-1216) Need useful error message when keytab does not exist

Posted by "Leslin (Hong Xiang Lin) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FLUME-1216?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leslin (Hong Xiang Lin) updated FLUME-1216:
-------------------------------------------

    Attachment: FLUME-1216.patch

patch about keytab file check and it's unit test case. 
                
> Need useful error message when keytab does not exist
> ----------------------------------------------------
>
>                 Key: FLUME-1216
>                 URL: https://issues.apache.org/jira/browse/FLUME-1216
>             Project: Flume
>          Issue Type: Bug
>          Components: Sinks+Sources
>            Reporter: Mike Percy
>            Assignee: Leslin (Hong Xiang Lin)
>         Attachments: FLUME-1216.patch
>
>
> If keytab file does not exist, no useful error message is printed by HDFS sink

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira