You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Ashutosh Chauhan (JIRA)" <ji...@apache.org> on 2011/08/26 02:23:29 UTC

[jira] [Created] (HIVE-2411) Metastore server tries to create a default db dir without authenticating itself

Metastore server tries to create a default db dir without authenticating itself
-------------------------------------------------------------------------------

                 Key: HIVE-2411
                 URL: https://issues.apache.org/jira/browse/HIVE-2411
             Project: Hive
          Issue Type: Bug
            Reporter: Ashutosh Chauhan
            Assignee: Ashutosh Chauhan
             Fix For: 0.8.0


new HMSHandler() gets called before metastore server has done a login. That results in createDefaultDB() gets called which fails since NN cannot authenticate metastore.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HIVE-2411) Metastore server tries to connect to NN without authenticating itself

Posted by "Carl Steinbach (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HIVE-2411?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carl Steinbach updated HIVE-2411:
---------------------------------

       Resolution: Fixed
    Fix Version/s: 0.8.0
     Hadoop Flags: Reviewed
           Status: Resolved  (was: Patch Available)

Committed to trunk and branch-0.8. Thanks Ashutosh!
                
> Metastore server tries to connect to NN without authenticating itself
> ---------------------------------------------------------------------
>
>                 Key: HIVE-2411
>                 URL: https://issues.apache.org/jira/browse/HIVE-2411
>             Project: Hive
>          Issue Type: Bug
>          Components: Metastore, Security
>            Reporter: Ashutosh Chauhan
>            Assignee: Ashutosh Chauhan
>             Fix For: 0.8.0
>
>         Attachments: hive-2411.patch
>
>
> When metastore server is launching it first calls new HMSHandler() even before it has done a login. That results in createDefaultDB() gets called which then results in getFileSystem() calls which tries to create a connection to NN and then it fails since NN cannot authenticate metastore.

--
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] (HIVE-2411) Metastore server tries to connect to NN without authenticating itself

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

Hudson commented on HIVE-2411:
------------------------------

Integrated in Hive-0.8.0-SNAPSHOT-h0.21 #96 (See [https://builds.apache.org/job/Hive-0.8.0-SNAPSHOT-h0.21/96/])
    HIVE-2411. Metastore server tries to connect to NN without authenticating itself (Ashutosh Chauhan via cws)

cws : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1202444
Files : 
* /hive/branches/branch-0.8/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java

                
> Metastore server tries to connect to NN without authenticating itself
> ---------------------------------------------------------------------
>
>                 Key: HIVE-2411
>                 URL: https://issues.apache.org/jira/browse/HIVE-2411
>             Project: Hive
>          Issue Type: Bug
>          Components: Metastore, Security
>            Reporter: Ashutosh Chauhan
>            Assignee: Ashutosh Chauhan
>             Fix For: 0.8.0
>
>         Attachments: hive-2411.patch
>
>
> When metastore server is launching it first calls new HMSHandler() even before it has done a login. That results in createDefaultDB() gets called which then results in getFileSystem() calls which tries to create a connection to NN and then it fails since NN cannot authenticate metastore.

--
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] (HIVE-2411) Metastore server tries to connect to NN without authenticating itself

Posted by "Ashutosh Chauhan (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-2411?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13094301#comment-13094301 ] 

Ashutosh Chauhan commented on HIVE-2411:
----------------------------------------

I think this should be included in 0.8 branch also as without this its impossible to bring up a metastore server on a secure cluster.

> Metastore server tries to connect to NN without authenticating itself
> ---------------------------------------------------------------------
>
>                 Key: HIVE-2411
>                 URL: https://issues.apache.org/jira/browse/HIVE-2411
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Ashutosh Chauhan
>            Assignee: Ashutosh Chauhan
>             Fix For: 0.8.0
>
>         Attachments: hive-2411.patch
>
>
> When metastore server is launching it first calls new HMSHandler() even before it has done a login. That results in createDefaultDB() gets called which then results in getFileSystem() calls which tries to create a connection to NN and then it fails since NN cannot authenticate metastore.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HIVE-2411) Metastore server tries to connect to NN without authenticating itself

Posted by "Carl Steinbach (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HIVE-2411?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carl Steinbach updated HIVE-2411:
---------------------------------

    Component/s: Security
                 Metastore
    
> Metastore server tries to connect to NN without authenticating itself
> ---------------------------------------------------------------------
>
>                 Key: HIVE-2411
>                 URL: https://issues.apache.org/jira/browse/HIVE-2411
>             Project: Hive
>          Issue Type: Bug
>          Components: Metastore, Security
>            Reporter: Ashutosh Chauhan
>            Assignee: Ashutosh Chauhan
>         Attachments: hive-2411.patch
>
>
> When metastore server is launching it first calls new HMSHandler() even before it has done a login. That results in createDefaultDB() gets called which then results in getFileSystem() calls which tries to create a connection to NN and then it fails since NN cannot authenticate metastore.

--
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] (HIVE-2411) Metastore server tries to connect to NN without authenticating itself

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

Ashutosh Chauhan updated HIVE-2411:
-----------------------------------

    Description: When metastore server is launching it first calls new HMSHandler() even before it has done a login. That results in createDefaultDB() gets called which then results in getFileSystem() calls which tries to create a connection to NN and then it fails since NN cannot authenticate metastore.  (was: new HMSHandler() gets called before metastore server has done a login. That results in createDefaultDB() gets called which fails since NN cannot authenticate metastore.)
        Summary: Metastore server tries to connect to NN without authenticating itself  (was: Metastore server tries to create a default db dir without authenticating itself)

> Metastore server tries to connect to NN without authenticating itself
> ---------------------------------------------------------------------
>
>                 Key: HIVE-2411
>                 URL: https://issues.apache.org/jira/browse/HIVE-2411
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Ashutosh Chauhan
>            Assignee: Ashutosh Chauhan
>             Fix For: 0.8.0
>
>         Attachments: hive-2411.patch
>
>
> When metastore server is launching it first calls new HMSHandler() even before it has done a login. That results in createDefaultDB() gets called which then results in getFileSystem() calls which tries to create a connection to NN and then it fails since NN cannot authenticate metastore.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HIVE-2411) Metastore server tries to create a default db dir without authenticating itself

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

Ashutosh Chauhan updated HIVE-2411:
-----------------------------------

    Attachment: hive-2411.patch

Simple patch which makes sure metastore does a login first before attempting to create dir.

> Metastore server tries to create a default db dir without authenticating itself
> -------------------------------------------------------------------------------
>
>                 Key: HIVE-2411
>                 URL: https://issues.apache.org/jira/browse/HIVE-2411
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Ashutosh Chauhan
>            Assignee: Ashutosh Chauhan
>             Fix For: 0.8.0
>
>         Attachments: hive-2411.patch
>
>
> new HMSHandler() gets called before metastore server has done a login. That results in createDefaultDB() gets called which fails since NN cannot authenticate metastore.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HIVE-2411) Metastore server tries to connect to NN without authenticating itself

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

Hudson commented on HIVE-2411:
------------------------------

Integrated in Hive-trunk-h0.21 #1088 (See [https://builds.apache.org/job/Hive-trunk-h0.21/1088/])
    HIVE-2411. Metastore server tries to connect to NN without authenticating itself (Ashutosh Chauhan via cws)

cws : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1202443
Files : 
* /hive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java

                
> Metastore server tries to connect to NN without authenticating itself
> ---------------------------------------------------------------------
>
>                 Key: HIVE-2411
>                 URL: https://issues.apache.org/jira/browse/HIVE-2411
>             Project: Hive
>          Issue Type: Bug
>          Components: Metastore, Security
>            Reporter: Ashutosh Chauhan
>            Assignee: Ashutosh Chauhan
>             Fix For: 0.8.0
>
>         Attachments: hive-2411.patch
>
>
> When metastore server is launching it first calls new HMSHandler() even before it has done a login. That results in createDefaultDB() gets called which then results in getFileSystem() calls which tries to create a connection to NN and then it fails since NN cannot authenticate metastore.

--
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] (HIVE-2411) Metastore server tries to connect to NN without authenticating itself

Posted by "Carl Steinbach (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-2411?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13118473#comment-13118473 ] 

Carl Steinbach commented on HIVE-2411:
--------------------------------------

+1. Will commit if tests pass.
                
> Metastore server tries to connect to NN without authenticating itself
> ---------------------------------------------------------------------
>
>                 Key: HIVE-2411
>                 URL: https://issues.apache.org/jira/browse/HIVE-2411
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Ashutosh Chauhan
>            Assignee: Ashutosh Chauhan
>         Attachments: hive-2411.patch
>
>
> When metastore server is launching it first calls new HMSHandler() even before it has done a login. That results in createDefaultDB() gets called which then results in getFileSystem() calls which tries to create a connection to NN and then it fails since NN cannot authenticate metastore.

--
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] (HIVE-2411) Metastore server tries to connect to NN without authenticating itself

Posted by "Ashutosh Chauhan (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-2411?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13118459#comment-13118459 ] 

Ashutosh Chauhan commented on HIVE-2411:
----------------------------------------

Any feedback for this?
                
> Metastore server tries to connect to NN without authenticating itself
> ---------------------------------------------------------------------
>
>                 Key: HIVE-2411
>                 URL: https://issues.apache.org/jira/browse/HIVE-2411
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Ashutosh Chauhan
>            Assignee: Ashutosh Chauhan
>         Attachments: hive-2411.patch
>
>
> When metastore server is launching it first calls new HMSHandler() even before it has done a login. That results in createDefaultDB() gets called which then results in getFileSystem() calls which tries to create a connection to NN and then it fails since NN cannot authenticate metastore.

--
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] (HIVE-2411) Metastore server tries to create a default db dir without authenticating itself

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

Ashutosh Chauhan updated HIVE-2411:
-----------------------------------

    Status: Patch Available  (was: Open)

> Metastore server tries to create a default db dir without authenticating itself
> -------------------------------------------------------------------------------
>
>                 Key: HIVE-2411
>                 URL: https://issues.apache.org/jira/browse/HIVE-2411
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Ashutosh Chauhan
>            Assignee: Ashutosh Chauhan
>             Fix For: 0.8.0
>
>         Attachments: hive-2411.patch
>
>
> new HMSHandler() gets called before metastore server has done a login. That results in createDefaultDB() gets called which fails since NN cannot authenticate metastore.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HIVE-2411) Metastore server tries to connect to NN without authenticating itself

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

Carl Steinbach updated HIVE-2411:
---------------------------------

    Fix Version/s:     (was: 0.8.0)

> Metastore server tries to connect to NN without authenticating itself
> ---------------------------------------------------------------------
>
>                 Key: HIVE-2411
>                 URL: https://issues.apache.org/jira/browse/HIVE-2411
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Ashutosh Chauhan
>            Assignee: Ashutosh Chauhan
>         Attachments: hive-2411.patch
>
>
> When metastore server is launching it first calls new HMSHandler() even before it has done a login. That results in createDefaultDB() gets called which then results in getFileSystem() calls which tries to create a connection to NN and then it fails since NN cannot authenticate metastore.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HIVE-2411) Metastore server tries to connect to NN without authenticating itself

Posted by "Ashutosh Chauhan (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-2411?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13128538#comment-13128538 ] 

Ashutosh Chauhan commented on HIVE-2411:
----------------------------------------

@Carl,
Did tests pass ?
                
> Metastore server tries to connect to NN without authenticating itself
> ---------------------------------------------------------------------
>
>                 Key: HIVE-2411
>                 URL: https://issues.apache.org/jira/browse/HIVE-2411
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Ashutosh Chauhan
>            Assignee: Ashutosh Chauhan
>         Attachments: hive-2411.patch
>
>
> When metastore server is launching it first calls new HMSHandler() even before it has done a login. That results in createDefaultDB() gets called which then results in getFileSystem() calls which tries to create a connection to NN and then it fails since NN cannot authenticate metastore.

--
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