Hive
  1. Hive
  2. HIVE-2411

Metastore server tries to connect to NN without authenticating itself

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.8.0
    • Component/s: Metastore, Security
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      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.

      1. hive-2411.patch
        2 kB
        Ashutosh Chauhan

        Activity

        Carl Steinbach made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Carl Steinbach made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Hadoop Flags Reviewed [ 10343 ]
        Fix Version/s 0.8.0 [ 12316178 ]
        Resolution Fixed [ 1 ]
        Carl Steinbach made changes -
        Component/s Metastore [ 12312584 ]
        Component/s Security [ 12313866 ]
        Carl Steinbach made changes -
        Fix Version/s 0.8.0 [ 12316178 ]
        Ashutosh Chauhan made changes -
        Summary Metastore server tries to create a default db dir without authenticating itself Metastore server tries to connect to NN without authenticating itself
        Description new HMSHandler() gets called before metastore server has done a login. That results in createDefaultDB() gets called which fails since NN cannot authenticate metastore. 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.
        Ashutosh Chauhan made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Ashutosh Chauhan made changes -
        Field Original Value New Value
        Attachment hive-2411.patch [ 12491715 ]
        Ashutosh Chauhan created issue -

          People

          • Assignee:
            Ashutosh Chauhan
            Reporter:
            Ashutosh Chauhan
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development